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

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

Issue 573353002: Plumbing toward transitioning remote frame back to a local frame. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 3 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 RemoteFrameClient_h 5 #ifndef RemoteFrameClientImpl_h
6 #define RemoteFrameClient_h 6 #define RemoteFrameClientImpl_h
7 7
8 #include "core/frame/FrameClient.h" 8 #include "core/frame/RemoteFrameClient.h"
9 9
10 namespace blink { 10 namespace blink {
11
12 class WebRemoteFrameImpl; 11 class WebRemoteFrameImpl;
13 12
14 class RemoteFrameClient : public FrameClient { 13 class RemoteFrameClientImpl : public RemoteFrameClient {
15 public: 14 public:
16 explicit RemoteFrameClient(WebRemoteFrameImpl*); 15 explicit RemoteFrameClientImpl(WebRemoteFrameImpl*);
17 16
18 // FrameClient overrides: 17 // FrameClient overrides:
19 virtual Frame* opener() const OVERRIDE; 18 virtual Frame* opener() const OVERRIDE;
20 virtual void setOpener(Frame*) OVERRIDE; 19 virtual void setOpener(Frame*) OVERRIDE;
21 20
22 virtual Frame* parent() const OVERRIDE; 21 virtual Frame* parent() const OVERRIDE;
23 virtual Frame* top() const OVERRIDE; 22 virtual Frame* top() const OVERRIDE;
24 virtual Frame* previousSibling() const OVERRIDE; 23 virtual Frame* previousSibling() const OVERRIDE;
25 virtual Frame* nextSibling() const OVERRIDE; 24 virtual Frame* nextSibling() const OVERRIDE;
26 virtual Frame* firstChild() const OVERRIDE; 25 virtual Frame* firstChild() const OVERRIDE;
27 virtual Frame* lastChild() const OVERRIDE; 26 virtual Frame* lastChild() const OVERRIDE;
28 27
29 virtual bool willCheckAndDispatchMessageEvent(SecurityOrigin*, MessageEvent* , LocalFrame*) const OVERRIDE; 28 virtual bool willCheckAndDispatchMessageEvent(SecurityOrigin*, MessageEvent* , LocalFrame*) const OVERRIDE;
30 29
30 // RemoteFrameClient overrides:
31 virtual void navigate(const ResourceRequest&, bool shouldReplaceCurrentEntry ) OVERRIDE;
32
31 WebRemoteFrameImpl* webFrame() const { return m_webFrame; } 33 WebRemoteFrameImpl* webFrame() const { return m_webFrame; }
32 34
33 private: 35 private:
34 WebRemoteFrameImpl* m_webFrame; 36 WebRemoteFrameImpl* m_webFrame;
35 }; 37 };
36 38
37 } // namespace blink 39 } // namespace blink
38 40
39 #endif // RemoteFrameClient_h 41 #endif // RemoteFrameClientImpl_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698