| 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 29 matching lines...) Expand all Loading... |
| 40 virtual void setReplicatedName(const WebString&) const = 0; | 40 virtual void setReplicatedName(const WebString&) const = 0; |
| 41 | 41 |
| 42 // Set frame enforcement of strict mixed content checking replicated from an
other process. | 42 // Set frame enforcement of strict mixed content checking replicated from an
other process. |
| 43 virtual void setReplicatedShouldEnforceStrictMixedContentChecking(bool) cons
t = 0; | 43 virtual void setReplicatedShouldEnforceStrictMixedContentChecking(bool) cons
t = 0; |
| 44 | 44 |
| 45 virtual void DispatchLoadEventForFrameOwner() const = 0; | 45 virtual void DispatchLoadEventForFrameOwner() const = 0; |
| 46 | 46 |
| 47 virtual void didStartLoading() = 0; | 47 virtual void didStartLoading() = 0; |
| 48 virtual void didStopLoading() = 0; | 48 virtual void didStopLoading() = 0; |
| 49 | 49 |
| 50 // Returns true if this frame should be ignored during hittesting. | |
| 51 virtual bool isIgnoredForHitTest() const = 0; | |
| 52 | |
| 53 // Temporary method to allow embedders to get the script context of a | 50 // Temporary method to allow embedders to get the script context of a |
| 54 // remote frame. This should only be used by legacy code that has not yet | 51 // remote frame. This should only be used by legacy code that has not yet |
| 55 // migrated over to the new OOPI infrastructure. | 52 // migrated over to the new OOPI infrastructure. |
| 56 virtual v8::Local<v8::Context> deprecatedMainWorldScriptContext() const = 0; | 53 virtual v8::Local<v8::Context> deprecatedMainWorldScriptContext() const = 0; |
| 57 | 54 |
| 58 protected: | 55 protected: |
| 59 explicit WebRemoteFrame(WebTreeScopeType scope) : WebFrame(scope) { } | 56 explicit WebRemoteFrame(WebTreeScopeType scope) : WebFrame(scope) { } |
| 60 }; | 57 }; |
| 61 | 58 |
| 62 } // namespace blink | 59 } // namespace blink |
| 63 | 60 |
| 64 #endif // WebRemoteFrame_h | 61 #endif // WebRemoteFrame_h |
| OLD | NEW |