Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(131)

Side by Side Diff: third_party/WebKit/Source/web/WebRemoteFrameImpl.cpp

Issue 2918403003: Move [Provisional]DataSource accessors/methods from WebFrame to WebLocalFrame. (Closed)
Patch Set: Added a TODO comment for user agent overrides - https://crbug.com/426555 Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 #include "web/WebRemoteFrameImpl.h" 5 #include "web/WebRemoteFrameImpl.h"
6 6
7 #include "bindings/core/v8/WindowProxy.h" 7 #include "bindings/core/v8/WindowProxy.h"
8 #include "core/dom/Fullscreen.h" 8 #include "core/dom/Fullscreen.h"
9 #include "core/dom/RemoteSecurityContext.h" 9 #include "core/dom/RemoteSecurityContext.h"
10 #include "core/dom/SecurityContext.h" 10 #include "core/dom/SecurityContext.h"
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 209
210 void WebRemoteFrameImpl::LoadRequest(const WebURLRequest&) { 210 void WebRemoteFrameImpl::LoadRequest(const WebURLRequest&) {
211 NOTREACHED(); 211 NOTREACHED();
212 } 212 }
213 213
214 void WebRemoteFrameImpl::StopLoading() { 214 void WebRemoteFrameImpl::StopLoading() {
215 // TODO(dcheng,japhet): Calling this method should stop loads 215 // TODO(dcheng,japhet): Calling this method should stop loads
216 // in all subframes, both remote and local. 216 // in all subframes, both remote and local.
217 } 217 }
218 218
219 WebDataSource* WebRemoteFrameImpl::ProvisionalDataSource() const {
220 NOTREACHED();
221 return nullptr;
222 }
223
224 WebDataSource* WebRemoteFrameImpl::DataSource() const {
225 NOTREACHED();
226 return nullptr;
227 }
228
229 void WebRemoteFrameImpl::EnableViewSourceMode(bool enable) { 219 void WebRemoteFrameImpl::EnableViewSourceMode(bool enable) {
230 NOTREACHED(); 220 NOTREACHED();
231 } 221 }
232 222
233 bool WebRemoteFrameImpl::IsViewSourceModeEnabled() const { 223 bool WebRemoteFrameImpl::IsViewSourceModeEnabled() const {
234 NOTREACHED(); 224 NOTREACHED();
235 return false; 225 return false;
236 } 226 }
237 227
238 void WebRemoteFrameImpl::SetReferrerForRequest(WebURLRequest&, 228 void WebRemoteFrameImpl::SetReferrerForRequest(WebURLRequest&,
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after
504 } 494 }
505 495
506 WebRemoteFrameImpl::WebRemoteFrameImpl(WebTreeScopeType scope, 496 WebRemoteFrameImpl::WebRemoteFrameImpl(WebTreeScopeType scope,
507 WebRemoteFrameClient* client) 497 WebRemoteFrameClient* client)
508 : WebRemoteFrameBase(scope), 498 : WebRemoteFrameBase(scope),
509 frame_client_(RemoteFrameClientImpl::Create(this)), 499 frame_client_(RemoteFrameClientImpl::Create(this)),
510 client_(client), 500 client_(client),
511 self_keep_alive_(this) {} 501 self_keep_alive_(this) {}
512 502
513 } // namespace blink 503 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebRemoteFrameImpl.h ('k') | third_party/WebKit/Source/web/tests/WebFrameTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698