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

Side by Side Diff: Source/web/RemoteFrameClientImpl.h

Issue 1306793003: Oilpan: Move FrameLoaderClient class hierarchy into Oilpan heap. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 4 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
« no previous file with comments | « Source/web/InspectorOverlayImpl.cpp ('k') | Source/web/RemoteFrameClientImpl.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 RemoteFrameClientImpl_h 5 #ifndef RemoteFrameClientImpl_h
6 #define RemoteFrameClientImpl_h 6 #define RemoteFrameClientImpl_h
7 7
8 #include "core/frame/RemoteFrameClient.h" 8 #include "core/frame/RemoteFrameClient.h"
9 9
10 namespace blink { 10 namespace blink {
11 class WebRemoteFrameImpl; 11 class WebRemoteFrameImpl;
12 12
13 class RemoteFrameClientImpl final : public RemoteFrameClient { 13 class RemoteFrameClientImpl final : public RemoteFrameClient {
14 public: 14 public:
15 explicit RemoteFrameClientImpl(WebRemoteFrameImpl*); 15 static PassOwnPtrWillBeRawPtr<RemoteFrameClientImpl> create(WebRemoteFrameIm pl*);
16
17 DECLARE_VIRTUAL_TRACE();
16 18
17 // FrameClient overrides: 19 // FrameClient overrides:
18 bool inShadowTree() const override; 20 bool inShadowTree() const override;
19 void willBeDetached() override; 21 void willBeDetached() override;
20 void detached(FrameDetachType) override; 22 void detached(FrameDetachType) override;
21 Frame* opener() const override; 23 Frame* opener() const override;
22 void setOpener(Frame*) override; 24 void setOpener(Frame*) override;
23 Frame* parent() const override; 25 Frame* parent() const override;
24 Frame* top() const override; 26 Frame* top() const override;
25 Frame* previousSibling() const override; 27 Frame* previousSibling() const override;
26 Frame* nextSibling() const override; 28 Frame* nextSibling() const override;
27 Frame* firstChild() const override; 29 Frame* firstChild() const override;
28 Frame* lastChild() const override; 30 Frame* lastChild() const override;
29 bool willCheckAndDispatchMessageEvent(SecurityOrigin*, MessageEvent*, LocalF rame*) const override; 31 bool willCheckAndDispatchMessageEvent(SecurityOrigin*, MessageEvent*, LocalF rame*) const override;
30 32
31 // RemoteFrameClient overrides: 33 // RemoteFrameClient overrides:
32 void navigate(const ResourceRequest&, bool shouldReplaceCurrentEntry) overri de; 34 void navigate(const ResourceRequest&, bool shouldReplaceCurrentEntry) overri de;
33 void reload(FrameLoadType, ClientRedirectPolicy) override; 35 void reload(FrameLoadType, ClientRedirectPolicy) override;
34 unsigned backForwardLength() override; 36 unsigned backForwardLength() override;
35 void forwardInputEvent(Event*) override; 37 void forwardInputEvent(Event*) override;
36 void frameRectsChanged(const IntRect& frameRect) override; 38 void frameRectsChanged(const IntRect& frameRect) override;
37 39
38 WebRemoteFrameImpl* webFrame() const { return m_webFrame; } 40 WebRemoteFrameImpl* webFrame() const { return m_webFrame; }
39 41
40 private: 42 private:
41 WebRemoteFrameImpl* m_webFrame; 43 explicit RemoteFrameClientImpl(WebRemoteFrameImpl*);
44
45 RawPtrWillBeMember<WebRemoteFrameImpl> m_webFrame;
42 }; 46 };
43 47
44 } // namespace blink 48 } // namespace blink
45 49
46 #endif // RemoteFrameClientImpl_h 50 #endif // RemoteFrameClientImpl_h
OLDNEW
« no previous file with comments | « Source/web/InspectorOverlayImpl.cpp ('k') | Source/web/RemoteFrameClientImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698