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

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

Issue 618253002: Revert of 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
20 virtual Frame* opener() const OVERRIDE; 18 virtual Frame* opener() const OVERRIDE;
21 virtual void setOpener(Frame*) OVERRIDE; 19 virtual void setOpener(Frame*) OVERRIDE;
22 20
23 virtual Frame* parent() const OVERRIDE; 21 virtual Frame* parent() const OVERRIDE;
24 virtual Frame* top() const OVERRIDE; 22 virtual Frame* top() const OVERRIDE;
25 virtual Frame* previousSibling() const OVERRIDE; 23 virtual Frame* previousSibling() const OVERRIDE;
26 virtual Frame* nextSibling() const OVERRIDE; 24 virtual Frame* nextSibling() const OVERRIDE;
27 virtual Frame* firstChild() const OVERRIDE; 25 virtual Frame* firstChild() const OVERRIDE;
28 virtual Frame* lastChild() const OVERRIDE; 26 virtual Frame* lastChild() const OVERRIDE;
29 27
30 virtual bool willCheckAndDispatchMessageEvent(SecurityOrigin*, MessageEvent* , LocalFrame*) const OVERRIDE; 28 virtual bool willCheckAndDispatchMessageEvent(SecurityOrigin*, MessageEvent* , LocalFrame*) const OVERRIDE;
31 29
32 // RemoteFrameClient overrides: 30 // RemoteFrameClient overrides:
33 virtual void navigate(const ResourceRequest&, bool shouldReplaceCurrentEntry ) OVERRIDE; 31 virtual void navigate(const ResourceRequest&, bool shouldReplaceCurrentEntry ) OVERRIDE;
34 32
35 WebRemoteFrameImpl* webFrame() const { return m_webFrame; } 33 WebRemoteFrameImpl* webFrame() const { return m_webFrame; }
36 34
37 private: 35 private:
38 WebRemoteFrameImpl* m_webFrame; 36 WebRemoteFrameImpl* m_webFrame;
39 }; 37 };
40 38
41 } // namespace blink 39 } // namespace blink
42 40
43 #endif // RemoteFrameClientImpl_h 41 #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