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
27namespace WebCore {
28
29template<> ImageBitmapOptions convertDictionary<ImageBitmapOptions>(JSC::ExecState&, JSC::JSValue);
30
31String convertEnumerationToString(ImageBitmapOptions::Orientation);
32template<> JSC::JSString* convertEnumerationToJS(JSC::ExecState&, ImageBitmapOptions::Orientation);
33
34template<> Optional<ImageBitmapOptions::Orientation> parseEnumeration<ImageBitmapOptions::Orientation>(JSC::ExecState&, JSC::JSValue);
35template<> const char* expectedEnumerationValues<ImageBitmapOptions::Orientation>();
36
37String convertEnumerationToString(ImageBitmapOptions::PremultiplyAlpha);
38template<> JSC::JSString* convertEnumerationToJS(JSC::ExecState&, ImageBitmapOptions::PremultiplyAlpha);
39
40template<> Optional<ImageBitmapOptions::PremultiplyAlpha> parseEnumeration<ImageBitmapOptions::PremultiplyAlpha>(JSC::ExecState&, JSC::JSValue);
41template<> const char* expectedEnumerationValues<ImageBitmapOptions::PremultiplyAlpha>();
42
43String convertEnumerationToString(ImageBitmapOptions::ColorSpaceConversion);
44template<> JSC::JSString* convertEnumerationToJS(JSC::ExecState&, ImageBitmapOptions::ColorSpaceConversion);
45
46template<> Optional<ImageBitmapOptions::ColorSpaceConversion> parseEnumeration<ImageBitmapOptions::ColorSpaceConversion>(JSC::ExecState&, JSC::JSValue);
47template<> const char* expectedEnumerationValues<ImageBitmapOptions::ColorSpaceConversion>();
48
49String convertEnumerationToString(ImageBitmapOptions::ResizeQuality);
50template<> JSC::JSString* convertEnumerationToJS(JSC::ExecState&, ImageBitmapOptions::ResizeQuality);
51
52template<> Optional<ImageBitmapOptions::ResizeQuality> parseEnumeration<ImageBitmapOptions::ResizeQuality>(JSC::ExecState&, JSC::JSValue);
53template<> const char* expectedEnumerationValues<ImageBitmapOptions::ResizeQuality>();
54
55} // namespace WebCore
56