| 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 WebRemoteFrameImpl_h | 5 #ifndef WebRemoteFrameImpl_h |
| 6 #define WebRemoteFrameImpl_h | 6 #define WebRemoteFrameImpl_h |
| 7 | 7 |
| 8 #include "core/frame/RemoteFrame.h" | 8 #include "core/frame/RemoteFrame.h" |
| 9 #include "core/frame/WebRemoteFrameBase.h" | 9 #include "core/frame/WebRemoteFrameBase.h" |
| 10 #include "platform/heap/SelfKeepAlive.h" | 10 #include "platform/heap/SelfKeepAlive.h" |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 void ReloadWithOverrideURL(const WebURL& override_url, | 70 void ReloadWithOverrideURL(const WebURL& override_url, |
| 71 WebFrameLoadType) override; | 71 WebFrameLoadType) override; |
| 72 void LoadRequest(const WebURLRequest&) override; | 72 void LoadRequest(const WebURLRequest&) override; |
| 73 void StopLoading() override; | 73 void StopLoading() override; |
| 74 void EnableViewSourceMode(bool enable) override; | 74 void EnableViewSourceMode(bool enable) override; |
| 75 bool IsViewSourceModeEnabled() const override; | 75 bool IsViewSourceModeEnabled() const override; |
| 76 void SetReferrerForRequest(WebURLRequest&, const WebURL& referrer) override; | 76 void SetReferrerForRequest(WebURLRequest&, const WebURL& referrer) override; |
| 77 WebAssociatedURLLoader* CreateAssociatedURLLoader( | 77 WebAssociatedURLLoader* CreateAssociatedURLLoader( |
| 78 const WebAssociatedURLLoaderOptions&) override; | 78 const WebAssociatedURLLoaderOptions&) override; |
| 79 unsigned UnloadListenerCount() const override; | 79 unsigned UnloadListenerCount() const override; |
| 80 int PrintBegin(const WebPrintParams&, | |
| 81 const WebNode& constrain_to_node) override; | |
| 82 float PrintPage(int page_to_print, WebCanvas*) override; | |
| 83 float GetPrintPageShrink(int page) override; | |
| 84 void PrintEnd() override; | |
| 85 bool IsPrintScalingDisabledForPlugin(const WebNode&) override; | |
| 86 void PrintPagesWithBoundaries(WebCanvas*, const WebSize&) override; | |
| 87 void DispatchMessageEventWithOriginCheck( | 80 void DispatchMessageEventWithOriginCheck( |
| 88 const WebSecurityOrigin& intended_target_origin, | 81 const WebSecurityOrigin& intended_target_origin, |
| 89 const WebDOMEvent&) override; | 82 const WebDOMEvent&) override; |
| 90 | 83 |
| 91 WebRect SelectionBoundsRect() const override; | |
| 92 | |
| 93 // WebRemoteFrame methods: | 84 // WebRemoteFrame methods: |
| 94 WebLocalFrame* CreateLocalChild(WebTreeScopeType, | 85 WebLocalFrame* CreateLocalChild(WebTreeScopeType, |
| 95 const WebString& name, | 86 const WebString& name, |
| 96 WebSandboxFlags, | 87 WebSandboxFlags, |
| 97 WebFrameClient*, | 88 WebFrameClient*, |
| 98 blink::InterfaceProvider*, | 89 blink::InterfaceProvider*, |
| 99 blink::InterfaceRegistry*, | 90 blink::InterfaceRegistry*, |
| 100 WebFrame* previous_sibling, | 91 WebFrame* previous_sibling, |
| 101 const WebParsedFeaturePolicy&, | 92 const WebParsedFeaturePolicy&, |
| 102 const WebFrameOwnerProperties&, | 93 const WebFrameOwnerProperties&, |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 163 | 154 |
| 164 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, | 155 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, |
| 165 WebFrame, | 156 WebFrame, |
| 166 frame, | 157 frame, |
| 167 frame->IsWebRemoteFrame(), | 158 frame->IsWebRemoteFrame(), |
| 168 frame.IsWebRemoteFrame()); | 159 frame.IsWebRemoteFrame()); |
| 169 | 160 |
| 170 } // namespace blink | 161 } // namespace blink |
| 171 | 162 |
| 172 #endif // WebRemoteFrameImpl_h | 163 #endif // WebRemoteFrameImpl_h |
| OLD | NEW |