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

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

Issue 645623004: Reland "Streamline frame detach" (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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
« no previous file with comments | « Source/web/FrameLoaderClientImpl.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 : public RemoteFrameClient { 13 class RemoteFrameClientImpl : public RemoteFrameClient {
14 public: 14 public:
15 explicit RemoteFrameClientImpl(WebRemoteFrameImpl*); 15 explicit RemoteFrameClientImpl(WebRemoteFrameImpl*);
16 16
17 // FrameClient overrides: 17 // FrameClient overrides:
18 virtual void detached() override;
19
18 virtual Frame* opener() const override; 20 virtual Frame* opener() const override;
19 virtual void setOpener(Frame*) override; 21 virtual void setOpener(Frame*) override;
20 22
21 virtual Frame* parent() const override; 23 virtual Frame* parent() const override;
22 virtual Frame* top() const override; 24 virtual Frame* top() const override;
23 virtual Frame* previousSibling() const override; 25 virtual Frame* previousSibling() const override;
24 virtual Frame* nextSibling() const override; 26 virtual Frame* nextSibling() const override;
25 virtual Frame* firstChild() const override; 27 virtual Frame* firstChild() const override;
26 virtual Frame* lastChild() const override; 28 virtual Frame* lastChild() const override;
27 29
28 virtual bool willCheckAndDispatchMessageEvent(SecurityOrigin*, MessageEvent* , LocalFrame*) const override; 30 virtual bool willCheckAndDispatchMessageEvent(SecurityOrigin*, MessageEvent* , LocalFrame*) const override;
29 31
30 // RemoteFrameClient overrides: 32 // RemoteFrameClient overrides:
31 virtual void navigate(const ResourceRequest&, bool shouldReplaceCurrentEntry ) override; 33 virtual void navigate(const ResourceRequest&, bool shouldReplaceCurrentEntry ) override;
32 34
33 WebRemoteFrameImpl* webFrame() const { return m_webFrame; } 35 WebRemoteFrameImpl* webFrame() const { return m_webFrame; }
34 36
35 private: 37 private:
36 WebRemoteFrameImpl* m_webFrame; 38 WebRemoteFrameImpl* m_webFrame;
37 }; 39 };
38 40
39 } // namespace blink 41 } // namespace blink
40 42
41 #endif // RemoteFrameClientImpl_h 43 #endif // RemoteFrameClientImpl_h
OLDNEW
« no previous file with comments | « Source/web/FrameLoaderClientImpl.cpp ('k') | Source/web/RemoteFrameClientImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698