OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 virtual bool createConstructor(Document*, CustomElementDefinition*, Exceptio
nState&); | 68 virtual bool createConstructor(Document*, CustomElementDefinition*, Exceptio
nState&); |
69 virtual bool didRegisterDefinition(CustomElementDefinition*) const; | 69 virtual bool didRegisterDefinition(CustomElementDefinition*) const; |
70 | 70 |
71 // This method collects a return value for the bindings. It is | 71 // This method collects a return value for the bindings. It is |
72 // safe to call this method even if the builder failed; it will | 72 // safe to call this method even if the builder failed; it will |
73 // return an empty value. | 73 // return an empty value. |
74 virtual ScriptValue bindingsReturnValue() const; | 74 virtual ScriptValue bindingsReturnValue() const; |
75 | 75 |
76 private: | 76 private: |
77 Dart_Handle m_customType; | 77 Dart_Handle m_customType; |
| 78 intptr_t m_nativeClassId; |
78 Dart_Isolate m_isolate; | 79 Dart_Isolate m_isolate; |
79 AtomicString m_namespaceURI; | 80 AtomicString m_namespaceURI; |
80 AtomicString m_extendsTagName; | 81 AtomicString m_extendsTagName; |
81 AtomicString m_localName; | 82 AtomicString m_localName; |
82 v8::Handle<v8::Context> m_context; | 83 v8::Handle<v8::Context> m_context; |
83 RefPtr<DartCustomElementLifecycleCallbacks> m_callbacks; | 84 RefPtr<DartCustomElementLifecycleCallbacks> m_callbacks; |
84 }; | 85 }; |
85 | 86 |
86 } | 87 } |
87 | 88 |
88 #endif // DartCustomElementConstructorBuilder_h | 89 #endif // DartCustomElementConstructorBuilder_h |
OLD | NEW |