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

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

Issue 952813002: InlinedVisitor: Migrate frame to use inlined tracing (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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 // 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
11 namespace blink { 11 namespace blink {
12 12
13 class RemoteDOMWindow final : public DOMWindow { 13 class RemoteDOMWindow final : public DOMWindow {
14 public: 14 public:
15 static PassRefPtrWillBeRawPtr<RemoteDOMWindow> create(RemoteFrame& frame) 15 static PassRefPtrWillBeRawPtr<RemoteDOMWindow> create(RemoteFrame& frame)
16 { 16 {
17 return adoptRefWillBeNoop(new RemoteDOMWindow(frame)); 17 return adoptRefWillBeNoop(new RemoteDOMWindow(frame));
18 } 18 }
19 19
20 // EventTarget overrides: 20 // EventTarget overrides:
21 const AtomicString& interfaceName() const override; 21 const AtomicString& interfaceName() const override;
22 ExecutionContext* executionContext() const override; 22 ExecutionContext* executionContext() const override;
23 23
24 // DOMWindow overrides: 24 // DOMWindow overrides:
25 void trace(Visitor*) override; 25 DECLARE_VIRTUAL_TRACE();
26 bool isRemoteDOMWindow() const override { return true; } 26 bool isRemoteDOMWindow() const override { return true; }
27 RemoteFrame* frame() const override; 27 RemoteFrame* frame() const override;
28 Screen* screen() const override; 28 Screen* screen() const override;
29 History* history() const override; 29 History* history() const override;
30 BarProp* locationbar() const override; 30 BarProp* locationbar() const override;
31 BarProp* menubar() const override; 31 BarProp* menubar() const override;
32 BarProp* personalbar() const override; 32 BarProp* personalbar() const override;
33 BarProp* scrollbars() const override; 33 BarProp* scrollbars() const override;
34 BarProp* statusbar() const override; 34 BarProp* statusbar() const override;
35 BarProp* toolbar() const override; 35 BarProp* toolbar() const override;
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 86
87 private: 87 private:
88 explicit RemoteDOMWindow(RemoteFrame&); 88 explicit RemoteDOMWindow(RemoteFrame&);
89 89
90 RawPtrWillBeMember<RemoteFrame> m_frame; 90 RawPtrWillBeMember<RemoteFrame> m_frame;
91 }; 91 };
92 92
93 } // namespace blink 93 } // namespace blink
94 94
95 #endif // DOMWindow_h 95 #endif // DOMWindow_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698