Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(208)

Side by Side Diff: Source/bindings/dart/DartCustomElementConstructorBuilder.h

Issue 27769002: Fixing custom element type extensions to have correct native type (Closed) Base URL: svn://svn.chromium.org/multivm/trunk/webkit
Patch Set: Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
OLDNEW
« no previous file with comments | « Source/bindings/dart/DartCustomElementBinding.cpp ('k') | Source/bindings/dart/DartCustomElementConstructorBuilder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698