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

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

Issue 338993003: Cleanup various WebView/WebFrame APIs to properly handle remote frames. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove unneeded header. Created 6 years, 6 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 RemoteFrameClient_h
6 #define RemoteFrameClient_h 6 #define RemoteFrameClient_h
7 7
8 #include "core/frame/FrameClient.h" 8 #include "core/frame/FrameClient.h"
9 9
10 namespace blink { 10 namespace blink {
11 11
12 class WebRemoteFrameImpl; 12 class WebRemoteFrameImpl;
13 13
14 class RemoteFrameClient : public WebCore::FrameClient { 14 class RemoteFrameClient : public WebCore::FrameClient {
15 public: 15 public:
16 explicit RemoteFrameClient(WebRemoteFrameImpl*); 16 explicit RemoteFrameClient(WebRemoteFrameImpl*);
17 17
18 // FrameClient overrides:
18 virtual WebCore::Frame* opener() const OVERRIDE; 19 virtual WebCore::Frame* opener() const OVERRIDE;
19 virtual void setOpener(WebCore::Frame*) OVERRIDE; 20 virtual void setOpener(WebCore::Frame*) OVERRIDE;
20 21
21 virtual WebCore::Frame* parent() const OVERRIDE; 22 virtual WebCore::Frame* parent() const OVERRIDE;
22 virtual WebCore::Frame* top() const OVERRIDE; 23 virtual WebCore::Frame* top() const OVERRIDE;
23 virtual WebCore::Frame* previousSibling() const OVERRIDE; 24 virtual WebCore::Frame* previousSibling() const OVERRIDE;
24 virtual WebCore::Frame* nextSibling() const OVERRIDE; 25 virtual WebCore::Frame* nextSibling() const OVERRIDE;
25 virtual WebCore::Frame* firstChild() const OVERRIDE; 26 virtual WebCore::Frame* firstChild() const OVERRIDE;
26 virtual WebCore::Frame* lastChild() const OVERRIDE; 27 virtual WebCore::Frame* lastChild() const OVERRIDE;
27 28
29 WebRemoteFrameImpl* webFrame() const { return m_webFrame; }
30
28 private: 31 private:
29 WebRemoteFrameImpl* m_webFrame; 32 WebRemoteFrameImpl* m_webFrame;
30 }; 33 };
31 34
32 } // namespace blink 35 } // namespace blink
33 36
34 #endif // RemoteFrameClient_h 37 #endif // RemoteFrameClient_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698