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

Side by Side Diff: third_party/WebKit/Source/core/frame/RemoteDOMWindow.h

Issue 2003593003: Make CustomElementsRegistry lazily initialize script state. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Does not use a separate representation of initialized state. Created 4 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 RemoteDOMWindow_h 5 #ifndef RemoteDOMWindow_h
6 #define RemoteDOMWindow_h 6 #define RemoteDOMWindow_h
7 7
8 #include "core/frame/DOMWindow.h" 8 #include "core/frame/DOMWindow.h"
9 #include "core/frame/RemoteFrame.h" 9 #include "core/frame/RemoteFrame.h"
10 10
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 void resizeBy(int x, int y) const override; 70 void resizeBy(int x, int y) const override;
71 void resizeTo(int width, int height) const override; 71 void resizeTo(int width, int height) const override;
72 MediaQueryList* matchMedia(const String&) override; 72 MediaQueryList* matchMedia(const String&) override;
73 CSSStyleDeclaration* getComputedStyle(Element*, const String& pseudoElt) con st override; 73 CSSStyleDeclaration* getComputedStyle(Element*, const String& pseudoElt) con st override;
74 CSSRuleList* getMatchedCSSRules(Element*, const String& pseudoElt) const ove rride; 74 CSSRuleList* getMatchedCSSRules(Element*, const String& pseudoElt) const ove rride;
75 int requestAnimationFrame(FrameRequestCallback*) override; 75 int requestAnimationFrame(FrameRequestCallback*) override;
76 int webkitRequestAnimationFrame(FrameRequestCallback*) override; 76 int webkitRequestAnimationFrame(FrameRequestCallback*) override;
77 void cancelAnimationFrame(int id) override; 77 void cancelAnimationFrame(int id) override;
78 int requestIdleCallback(IdleRequestCallback*, const IdleRequestOptions&) ove rride; 78 int requestIdleCallback(IdleRequestCallback*, const IdleRequestOptions&) ove rride;
79 void cancelIdleCallback(int id) override; 79 void cancelIdleCallback(int id) override;
80 CustomElementsRegistry* customElements(ScriptState*) const override; 80 CustomElementsRegistry* customElementsForBindings(ScriptState*) const overri de;
81 81
82 void frameDetached(); 82 void frameDetached();
83 83
84 protected: 84 protected:
85 // Protected DOMWindow overrides: 85 // Protected DOMWindow overrides:
86 void schedulePostMessage(MessageEvent*, PassRefPtr<SecurityOrigin> target, D ocument* source) override; 86 void schedulePostMessage(MessageEvent*, PassRefPtr<SecurityOrigin> target, D ocument* source) override;
87 87
88 private: 88 private:
89 explicit RemoteDOMWindow(RemoteFrame&); 89 explicit RemoteDOMWindow(RemoteFrame&);
90 90
91 Member<RemoteFrame> m_frame; 91 Member<RemoteFrame> m_frame;
92 }; 92 };
93 93
94 } // namespace blink 94 } // namespace blink
95 95
96 #endif // DOMWindow_h 96 #endif // DOMWindow_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698