1 | /* |
2 | This file is part of the WebKit open source project. |
3 | This file has been generated by generate-bindings.pl. DO NOT MODIFY! |
4 | |
5 | This library is free software; you can redistribute it and/or |
6 | modify it under the terms of the GNU Library General Public |
7 | License as published by the Free Software Foundation; either |
8 | version 2 of the License, or (at your option) any later version. |
9 | |
10 | This library is distributed in the hope that it will be useful, |
11 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
13 | Library General Public License for more details. |
14 | |
15 | You should have received a copy of the GNU Library General Public License |
16 | along with this library; see the file COPYING.LIB. If not, write to |
17 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
18 | Boston, MA 02110-1301, USA. |
19 | */ |
20 | |
21 | #pragma once |
22 | |
23 | #include "ImageBitmapOptions.h" |
24 | #include "JSDOMConvertDictionary.h" |
25 | #include "JSDOMConvertEnumeration.h" |
26 | |
27 | namespace WebCore { |
28 | |
29 | template<> ImageBitmapOptions convertDictionary<ImageBitmapOptions>(JSC::ExecState&, JSC::JSValue); |
30 | |
31 | String convertEnumerationToString(ImageBitmapOptions::Orientation); |
32 | template<> JSC::JSString* convertEnumerationToJS(JSC::ExecState&, ImageBitmapOptions::Orientation); |
33 | |
34 | template<> Optional<ImageBitmapOptions::Orientation> parseEnumeration<ImageBitmapOptions::Orientation>(JSC::ExecState&, JSC::JSValue); |
35 | template<> const char* expectedEnumerationValues<ImageBitmapOptions::Orientation>(); |
36 | |
37 | String convertEnumerationToString(ImageBitmapOptions::PremultiplyAlpha); |
38 | template<> JSC::JSString* convertEnumerationToJS(JSC::ExecState&, ImageBitmapOptions::PremultiplyAlpha); |
39 | |
40 | template<> Optional<ImageBitmapOptions::PremultiplyAlpha> parseEnumeration<ImageBitmapOptions::PremultiplyAlpha>(JSC::ExecState&, JSC::JSValue); |
41 | template<> const char* expectedEnumerationValues<ImageBitmapOptions::PremultiplyAlpha>(); |
42 | |
43 | String convertEnumerationToString(ImageBitmapOptions::ColorSpaceConversion); |
44 | template<> JSC::JSString* convertEnumerationToJS(JSC::ExecState&, ImageBitmapOptions::ColorSpaceConversion); |
45 | |
46 | template<> Optional<ImageBitmapOptions::ColorSpaceConversion> parseEnumeration<ImageBitmapOptions::ColorSpaceConversion>(JSC::ExecState&, JSC::JSValue); |
47 | template<> const char* expectedEnumerationValues<ImageBitmapOptions::ColorSpaceConversion>(); |
48 | |
49 | String convertEnumerationToString(ImageBitmapOptions::ResizeQuality); |
50 | template<> JSC::JSString* convertEnumerationToJS(JSC::ExecState&, ImageBitmapOptions::ResizeQuality); |
51 | |
52 | template<> Optional<ImageBitmapOptions::ResizeQuality> parseEnumeration<ImageBitmapOptions::ResizeQuality>(JSC::ExecState&, JSC::JSValue); |
53 | template<> const char* expectedEnumerationValues<ImageBitmapOptions::ResizeQuality>(); |
54 | |
55 | } // namespace WebCore |
56 | |