| OLD | NEW |
| 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 WebRemoteFrame_h | 5 #ifndef WebRemoteFrame_h |
| 6 #define WebRemoteFrame_h | 6 #define WebRemoteFrame_h |
| 7 | 7 |
| 8 #include "public/web/WebFrame.h" | 8 #include "public/web/WebFrame.h" |
| 9 | 9 |
| 10 namespace blink { | 10 namespace blink { |
| 11 |
| 12 class WebFrameClient; |
| 11 class WebRemoteFrameClient; | 13 class WebRemoteFrameClient; |
| 12 | 14 |
| 13 class WebRemoteFrame : public WebFrame { | 15 class WebRemoteFrame : public WebFrame { |
| 14 public: | 16 public: |
| 15 BLINK_EXPORT static WebRemoteFrame* create(WebRemoteFrameClient*); | 17 BLINK_EXPORT static WebRemoteFrame* create(WebRemoteFrameClient*); |
| 16 | 18 |
| 17 virtual WebLocalFrame* createLocalChild(const WebString& name, WebFrameClien
t*) = 0; | 19 virtual WebLocalFrame* createLocalChild(const WebString& name, WebFrameClien
t*) = 0; |
| 18 virtual WebRemoteFrame* createRemoteChild(const WebString& name, WebRemoteFr
ameClient*) = 0; | 20 virtual WebRemoteFrame* createRemoteChild(const WebString& name, WebRemoteFr
ameClient*) = 0; |
| 19 | 21 |
| 20 // Transfer initial drawing parameters from a local frame. | 22 // Transfer initial drawing parameters from a local frame. |
| 21 virtual void initializeFromFrame(WebLocalFrame*) const = 0; | 23 virtual void initializeFromFrame(WebLocalFrame*) const = 0; |
| 22 | 24 |
| 23 // Set security origin replicated from another process | 25 // Set security origin replicated from another process |
| 24 virtual void setReplicatedOrigin(const WebSecurityOrigin&) const = 0; | 26 virtual void setReplicatedOrigin(const WebSecurityOrigin&) const = 0; |
| 25 }; | 27 }; |
| 26 | 28 |
| 27 } // namespace blink | 29 } // namespace blink |
| 28 | 30 |
| 29 #endif // WebRemoteFrame_h | 31 #endif // WebRemoteFrame_h |
| OLD | NEW |