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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 v8::Local<v8::Function>, | 65 v8::Local<v8::Function>, |
66 v8::Local<v8::Value>, | 66 v8::Local<v8::Value>, |
67 int argc, | 67 int argc, |
68 v8::Local<v8::Value> argv[]) override; | 68 v8::Local<v8::Value> argv[]) override; |
69 v8::Local<v8::Context> MainWorldScriptContext() const override; | 69 v8::Local<v8::Context> MainWorldScriptContext() const override; |
70 void Reload(WebFrameLoadType) override; | 70 void Reload(WebFrameLoadType) override; |
71 void ReloadWithOverrideURL(const WebURL& override_url, | 71 void ReloadWithOverrideURL(const WebURL& override_url, |
72 WebFrameLoadType) override; | 72 WebFrameLoadType) override; |
73 void LoadRequest(const WebURLRequest&) override; | 73 void LoadRequest(const WebURLRequest&) override; |
74 void StopLoading() override; | 74 void StopLoading() override; |
75 WebDataSource* ProvisionalDataSource() const override; | |
76 WebDataSource* DataSource() const override; | |
77 void EnableViewSourceMode(bool enable) override; | 75 void EnableViewSourceMode(bool enable) override; |
78 bool IsViewSourceModeEnabled() const override; | 76 bool IsViewSourceModeEnabled() const override; |
79 void SetReferrerForRequest(WebURLRequest&, const WebURL& referrer) override; | 77 void SetReferrerForRequest(WebURLRequest&, const WebURL& referrer) override; |
80 WebAssociatedURLLoader* CreateAssociatedURLLoader( | 78 WebAssociatedURLLoader* CreateAssociatedURLLoader( |
81 const WebAssociatedURLLoaderOptions&) override; | 79 const WebAssociatedURLLoaderOptions&) override; |
82 unsigned UnloadListenerCount() const override; | 80 unsigned UnloadListenerCount() const override; |
83 int PrintBegin(const WebPrintParams&, | 81 int PrintBegin(const WebPrintParams&, |
84 const WebNode& constrain_to_node) override; | 82 const WebNode& constrain_to_node) override; |
85 float PrintPage(int page_to_print, WebCanvas*) override; | 83 float PrintPage(int page_to_print, WebCanvas*) override; |
86 float GetPrintPageShrink(int page) override; | 84 float GetPrintPageShrink(int page) override; |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
168 | 166 |
169 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, | 167 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, |
170 WebFrame, | 168 WebFrame, |
171 frame, | 169 frame, |
172 frame->IsWebRemoteFrame(), | 170 frame->IsWebRemoteFrame(), |
173 frame.IsWebRemoteFrame()); | 171 frame.IsWebRemoteFrame()); |
174 | 172 |
175 } // namespace blink | 173 } // namespace blink |
176 | 174 |
177 #endif // WebRemoteFrameImpl_h | 175 #endif // WebRemoteFrameImpl_h |
OLD | NEW |