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

Side by Side Diff: third_party/WebKit/Source/platform/bindings/V8PrivateProperty.h

Issue 2873543002: First implementation of lazily cached accessor for DOM attributes. (Closed)
Patch Set: whitespace and renaming fixes Created 3 years, 7 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
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLElement.idl ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8PrivateProperty_h 5 #ifndef V8PrivateProperty_h
6 #define V8PrivateProperty_h 6 #define V8PrivateProperty_h
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "platform/PlatformExport.h" 10 #include "platform/PlatformExport.h"
(...skipping 21 matching lines...) Expand all
32 X(CustomElement, IsInterfacePrototypeObject) \ 32 X(CustomElement, IsInterfacePrototypeObject) \
33 X(CustomElement, NamespaceURI) \ 33 X(CustomElement, NamespaceURI) \
34 X(CustomElement, RegistryMap) \ 34 X(CustomElement, RegistryMap) \
35 X(CustomElement, TagName) \ 35 X(CustomElement, TagName) \
36 X(CustomElement, Type) \ 36 X(CustomElement, Type) \
37 X(CustomElementLifecycle, AttachedCallback) \ 37 X(CustomElementLifecycle, AttachedCallback) \
38 X(CustomElementLifecycle, AttributeChangedCallback) \ 38 X(CustomElementLifecycle, AttributeChangedCallback) \
39 X(CustomElementLifecycle, CreatedCallback) \ 39 X(CustomElementLifecycle, CreatedCallback) \
40 X(CustomElementLifecycle, DetachedCallback) \ 40 X(CustomElementLifecycle, DetachedCallback) \
41 X(DOMException, Error) \ 41 X(DOMException, Error) \
42 X(Element, IdCachedAccessor) \
42 X(ErrorEvent, Error) \ 43 X(ErrorEvent, Error) \
43 X(FetchEvent, Request) \ 44 X(FetchEvent, Request) \
44 X(Global, Event) \ 45 X(Global, Event) \
46 X(HTMLElement, TitleCachedAccessor) \
47 X(HTMLElement, LangCachedAccessor) \
45 X(IDBCursor, Request) \ 48 X(IDBCursor, Request) \
46 X(IDBObserver, Callback) \ 49 X(IDBObserver, Callback) \
47 X(InternalBody, Buffer) \ 50 X(InternalBody, Buffer) \
48 X(InternalBody, Stream) \ 51 X(InternalBody, Stream) \
49 X(IntersectionObserver, Callback) \ 52 X(IntersectionObserver, Callback) \
50 X(LazyEventListener, ToString) \ 53 X(LazyEventListener, ToString) \
51 X(MessageChannel, Port1) \ 54 X(MessageChannel, Port1) \
52 X(MessageChannel, Port2) \ 55 X(MessageChannel, Port2) \
53 X(MessageEvent, CachedData) \ 56 X(MessageEvent, CachedData) \
54 X(MutationObserver, Callback) \ 57 X(MutationObserver, Callback) \
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 // TODO(peria): Do not use this specialized hack for 216 // TODO(peria): Do not use this specialized hack for
214 // Window#DocumentCachedAccessor. This is required to put v8::Private key in 217 // Window#DocumentCachedAccessor. This is required to put v8::Private key in
215 // a snapshot, and it cannot be a v8::Eternal<> due to V8 serializer's 218 // a snapshot, and it cannot be a v8::Eternal<> due to V8 serializer's
216 // requirement. 219 // requirement.
217 ScopedPersistent<v8::Private> symbol_window_document_cached_accessor_; 220 ScopedPersistent<v8::Private> symbol_window_document_cached_accessor_;
218 }; 221 };
219 222
220 } // namespace blink 223 } // namespace blink
221 224
222 #endif // V8PrivateProperty_h 225 #endif // V8PrivateProperty_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLElement.idl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698