| 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 #include "public/web/WebSandboxFlags.h" | 9 #include "public/web/WebSandboxFlags.h" |
| 10 | 10 |
| (...skipping 26 matching lines...) Expand all Loading... |
| 37 virtual void setReplicatedSandboxFlags(WebSandboxFlags) const = 0; | 37 virtual void setReplicatedSandboxFlags(WebSandboxFlags) const = 0; |
| 38 | 38 |
| 39 // Set frame name replicated from another process. | 39 // Set frame name replicated from another process. |
| 40 virtual void setReplicatedName(const WebString&) const = 0; | 40 virtual void setReplicatedName(const WebString&) const = 0; |
| 41 | 41 |
| 42 virtual void DispatchLoadEventForFrameOwner() const = 0; | 42 virtual void DispatchLoadEventForFrameOwner() const = 0; |
| 43 | 43 |
| 44 virtual void didStartLoading() = 0; | 44 virtual void didStartLoading() = 0; |
| 45 virtual void didStopLoading() = 0; | 45 virtual void didStopLoading() = 0; |
| 46 | 46 |
| 47 // Temporary method to allow embedders to get the script context of a |
| 48 // remote frame. This should only be used by legacy code that has not yet |
| 49 // migrated over to the new OOPI infrastructure. |
| 50 virtual v8::Local<v8::Context> deprecatedMainWorldScriptContext() const = 0; |
| 51 |
| 47 protected: | 52 protected: |
| 48 explicit WebRemoteFrame(WebTreeScopeType scope) : WebFrame(scope) { } | 53 explicit WebRemoteFrame(WebTreeScopeType scope) : WebFrame(scope) { } |
| 49 }; | 54 }; |
| 50 | 55 |
| 51 } // namespace blink | 56 } // namespace blink |
| 52 | 57 |
| 53 #endif // WebRemoteFrame_h | 58 #endif // WebRemoteFrame_h |
| OLD | NEW |