WebCore/generated/JSWebKitCSSMatrix.h
changeset 0 4f2f89ce4247
equal deleted inserted replaced
-1:000000000000 0:4f2f89ce4247
       
     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 #ifndef JSWebKitCSSMatrix_h
       
    22 #define JSWebKitCSSMatrix_h
       
    23 
       
    24 #include "JSDOMBinding.h"
       
    25 #include <runtime/JSGlobalObject.h>
       
    26 #include <runtime/JSObjectWithGlobalObject.h>
       
    27 #include <runtime/ObjectPrototype.h>
       
    28 
       
    29 namespace WebCore {
       
    30 
       
    31 class WebKitCSSMatrix;
       
    32 
       
    33 class JSWebKitCSSMatrix : public DOMObjectWithGlobalPointer {
       
    34     typedef DOMObjectWithGlobalPointer Base;
       
    35 public:
       
    36     JSWebKitCSSMatrix(NonNullPassRefPtr<JSC::Structure>, JSDOMGlobalObject*, PassRefPtr<WebKitCSSMatrix>);
       
    37     virtual ~JSWebKitCSSMatrix();
       
    38     static JSC::JSObject* createPrototype(JSC::ExecState*, JSC::JSGlobalObject*);
       
    39     virtual bool getOwnPropertySlot(JSC::ExecState*, const JSC::Identifier& propertyName, JSC::PropertySlot&);
       
    40     virtual bool getOwnPropertyDescriptor(JSC::ExecState*, const JSC::Identifier& propertyName, JSC::PropertyDescriptor&);
       
    41     virtual void put(JSC::ExecState*, const JSC::Identifier& propertyName, JSC::JSValue, JSC::PutPropertySlot&);
       
    42     virtual const JSC::ClassInfo* classInfo() const { return &s_info; }
       
    43     static const JSC::ClassInfo s_info;
       
    44 
       
    45     static PassRefPtr<JSC::Structure> createStructure(JSC::JSValue prototype)
       
    46     {
       
    47         return JSC::Structure::create(prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), AnonymousSlotCount);
       
    48     }
       
    49 
       
    50     static JSC::JSValue getConstructor(JSC::ExecState*, JSC::JSGlobalObject*);
       
    51     WebKitCSSMatrix* impl() const { return m_impl.get(); }
       
    52 
       
    53 private:
       
    54     RefPtr<WebKitCSSMatrix> m_impl;
       
    55 protected:
       
    56     static const unsigned StructureFlags = JSC::OverridesGetOwnPropertySlot | Base::StructureFlags;
       
    57 };
       
    58 
       
    59 JSC::JSValue toJS(JSC::ExecState*, JSDOMGlobalObject*, WebKitCSSMatrix*);
       
    60 WebKitCSSMatrix* toWebKitCSSMatrix(JSC::JSValue);
       
    61 
       
    62 class JSWebKitCSSMatrixPrototype : public JSC::JSObjectWithGlobalObject {
       
    63     typedef JSC::JSObjectWithGlobalObject Base;
       
    64 public:
       
    65     static JSC::JSObject* self(JSC::ExecState*, JSC::JSGlobalObject*);
       
    66     virtual const JSC::ClassInfo* classInfo() const { return &s_info; }
       
    67     static const JSC::ClassInfo s_info;
       
    68     virtual bool getOwnPropertySlot(JSC::ExecState*, const JSC::Identifier&, JSC::PropertySlot&);
       
    69     virtual bool getOwnPropertyDescriptor(JSC::ExecState*, const JSC::Identifier&, JSC::PropertyDescriptor&);
       
    70     static PassRefPtr<JSC::Structure> createStructure(JSC::JSValue prototype)
       
    71     {
       
    72         return JSC::Structure::create(prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), AnonymousSlotCount);
       
    73     }
       
    74     JSWebKitCSSMatrixPrototype(JSC::JSGlobalObject* globalObject, NonNullPassRefPtr<JSC::Structure> structure) : JSC::JSObjectWithGlobalObject(globalObject, structure) { }
       
    75 protected:
       
    76     static const unsigned StructureFlags = JSC::OverridesGetOwnPropertySlot | Base::StructureFlags;
       
    77 };
       
    78 
       
    79 class JSWebKitCSSMatrixConstructor : public DOMConstructorObject {
       
    80 public:
       
    81     JSWebKitCSSMatrixConstructor(JSC::ExecState*, JSDOMGlobalObject*);
       
    82 
       
    83     virtual bool getOwnPropertySlot(JSC::ExecState*, const JSC::Identifier&, JSC::PropertySlot&);
       
    84     virtual bool getOwnPropertyDescriptor(JSC::ExecState*, const JSC::Identifier&, JSC::PropertyDescriptor&);
       
    85     virtual const JSC::ClassInfo* classInfo() const { return &s_info; }
       
    86     static const JSC::ClassInfo s_info;
       
    87     static PassRefPtr<JSC::Structure> createStructure(JSC::JSValue prototype)
       
    88     {
       
    89         return JSC::Structure::create(prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), AnonymousSlotCount);
       
    90     }
       
    91 protected:
       
    92     static const unsigned StructureFlags = JSC::OverridesGetOwnPropertySlot | JSC::ImplementsHasInstance | DOMConstructorObject::StructureFlags;
       
    93     static JSC::EncodedJSValue JSC_HOST_CALL constructJSWebKitCSSMatrix(JSC::ExecState*);
       
    94     virtual JSC::ConstructType getConstructData(JSC::ConstructData&);
       
    95 };
       
    96 
       
    97 // Functions
       
    98 
       
    99 JSC::EncodedJSValue JSC_HOST_CALL jsWebKitCSSMatrixPrototypeFunctionSetMatrixValue(JSC::ExecState*);
       
   100 JSC::EncodedJSValue JSC_HOST_CALL jsWebKitCSSMatrixPrototypeFunctionMultiply(JSC::ExecState*);
       
   101 JSC::EncodedJSValue JSC_HOST_CALL jsWebKitCSSMatrixPrototypeFunctionInverse(JSC::ExecState*);
       
   102 JSC::EncodedJSValue JSC_HOST_CALL jsWebKitCSSMatrixPrototypeFunctionTranslate(JSC::ExecState*);
       
   103 JSC::EncodedJSValue JSC_HOST_CALL jsWebKitCSSMatrixPrototypeFunctionScale(JSC::ExecState*);
       
   104 JSC::EncodedJSValue JSC_HOST_CALL jsWebKitCSSMatrixPrototypeFunctionRotate(JSC::ExecState*);
       
   105 JSC::EncodedJSValue JSC_HOST_CALL jsWebKitCSSMatrixPrototypeFunctionRotateAxisAngle(JSC::ExecState*);
       
   106 JSC::EncodedJSValue JSC_HOST_CALL jsWebKitCSSMatrixPrototypeFunctionToString(JSC::ExecState*);
       
   107 // Attributes
       
   108 
       
   109 JSC::JSValue jsWebKitCSSMatrixA(JSC::ExecState*, JSC::JSValue, const JSC::Identifier&);
       
   110 void setJSWebKitCSSMatrixA(JSC::ExecState*, JSC::JSObject*, JSC::JSValue);
       
   111 JSC::JSValue jsWebKitCSSMatrixB(JSC::ExecState*, JSC::JSValue, const JSC::Identifier&);
       
   112 void setJSWebKitCSSMatrixB(JSC::ExecState*, JSC::JSObject*, JSC::JSValue);
       
   113 JSC::JSValue jsWebKitCSSMatrixC(JSC::ExecState*, JSC::JSValue, const JSC::Identifier&);
       
   114 void setJSWebKitCSSMatrixC(JSC::ExecState*, JSC::JSObject*, JSC::JSValue);
       
   115 JSC::JSValue jsWebKitCSSMatrixD(JSC::ExecState*, JSC::JSValue, const JSC::Identifier&);
       
   116 void setJSWebKitCSSMatrixD(JSC::ExecState*, JSC::JSObject*, JSC::JSValue);
       
   117 JSC::JSValue jsWebKitCSSMatrixE(JSC::ExecState*, JSC::JSValue, const JSC::Identifier&);
       
   118 void setJSWebKitCSSMatrixE(JSC::ExecState*, JSC::JSObject*, JSC::JSValue);
       
   119 JSC::JSValue jsWebKitCSSMatrixF(JSC::ExecState*, JSC::JSValue, const JSC::Identifier&);
       
   120 void setJSWebKitCSSMatrixF(JSC::ExecState*, JSC::JSObject*, JSC::JSValue);
       
   121 JSC::JSValue jsWebKitCSSMatrixM11(JSC::ExecState*, JSC::JSValue, const JSC::Identifier&);
       
   122 void setJSWebKitCSSMatrixM11(JSC::ExecState*, JSC::JSObject*, JSC::JSValue);
       
   123 JSC::JSValue jsWebKitCSSMatrixM12(JSC::ExecState*, JSC::JSValue, const JSC::Identifier&);
       
   124 void setJSWebKitCSSMatrixM12(JSC::ExecState*, JSC::JSObject*, JSC::JSValue);
       
   125 JSC::JSValue jsWebKitCSSMatrixM13(JSC::ExecState*, JSC::JSValue, const JSC::Identifier&);
       
   126 void setJSWebKitCSSMatrixM13(JSC::ExecState*, JSC::JSObject*, JSC::JSValue);
       
   127 JSC::JSValue jsWebKitCSSMatrixM14(JSC::ExecState*, JSC::JSValue, const JSC::Identifier&);
       
   128 void setJSWebKitCSSMatrixM14(JSC::ExecState*, JSC::JSObject*, JSC::JSValue);
       
   129 JSC::JSValue jsWebKitCSSMatrixM21(JSC::ExecState*, JSC::JSValue, const JSC::Identifier&);
       
   130 void setJSWebKitCSSMatrixM21(JSC::ExecState*, JSC::JSObject*, JSC::JSValue);
       
   131 JSC::JSValue jsWebKitCSSMatrixM22(JSC::ExecState*, JSC::JSValue, const JSC::Identifier&);
       
   132 void setJSWebKitCSSMatrixM22(JSC::ExecState*, JSC::JSObject*, JSC::JSValue);
       
   133 JSC::JSValue jsWebKitCSSMatrixM23(JSC::ExecState*, JSC::JSValue, const JSC::Identifier&);
       
   134 void setJSWebKitCSSMatrixM23(JSC::ExecState*, JSC::JSObject*, JSC::JSValue);
       
   135 JSC::JSValue jsWebKitCSSMatrixM24(JSC::ExecState*, JSC::JSValue, const JSC::Identifier&);
       
   136 void setJSWebKitCSSMatrixM24(JSC::ExecState*, JSC::JSObject*, JSC::JSValue);
       
   137 JSC::JSValue jsWebKitCSSMatrixM31(JSC::ExecState*, JSC::JSValue, const JSC::Identifier&);
       
   138 void setJSWebKitCSSMatrixM31(JSC::ExecState*, JSC::JSObject*, JSC::JSValue);
       
   139 JSC::JSValue jsWebKitCSSMatrixM32(JSC::ExecState*, JSC::JSValue, const JSC::Identifier&);
       
   140 void setJSWebKitCSSMatrixM32(JSC::ExecState*, JSC::JSObject*, JSC::JSValue);
       
   141 JSC::JSValue jsWebKitCSSMatrixM33(JSC::ExecState*, JSC::JSValue, const JSC::Identifier&);
       
   142 void setJSWebKitCSSMatrixM33(JSC::ExecState*, JSC::JSObject*, JSC::JSValue);
       
   143 JSC::JSValue jsWebKitCSSMatrixM34(JSC::ExecState*, JSC::JSValue, const JSC::Identifier&);
       
   144 void setJSWebKitCSSMatrixM34(JSC::ExecState*, JSC::JSObject*, JSC::JSValue);
       
   145 JSC::JSValue jsWebKitCSSMatrixM41(JSC::ExecState*, JSC::JSValue, const JSC::Identifier&);
       
   146 void setJSWebKitCSSMatrixM41(JSC::ExecState*, JSC::JSObject*, JSC::JSValue);
       
   147 JSC::JSValue jsWebKitCSSMatrixM42(JSC::ExecState*, JSC::JSValue, const JSC::Identifier&);
       
   148 void setJSWebKitCSSMatrixM42(JSC::ExecState*, JSC::JSObject*, JSC::JSValue);
       
   149 JSC::JSValue jsWebKitCSSMatrixM43(JSC::ExecState*, JSC::JSValue, const JSC::Identifier&);
       
   150 void setJSWebKitCSSMatrixM43(JSC::ExecState*, JSC::JSObject*, JSC::JSValue);
       
   151 JSC::JSValue jsWebKitCSSMatrixM44(JSC::ExecState*, JSC::JSValue, const JSC::Identifier&);
       
   152 void setJSWebKitCSSMatrixM44(JSC::ExecState*, JSC::JSObject*, JSC::JSValue);
       
   153 JSC::JSValue jsWebKitCSSMatrixConstructor(JSC::ExecState*, JSC::JSValue, const JSC::Identifier&);
       
   154 
       
   155 } // namespace WebCore
       
   156 
       
   157 #endif