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

Side by Side Diff: third_party/WebKit/Source/core/exported/WebRemoteFrameImpl.cpp

Issue 2940863005: Move loading methods from WebFrame to WebLocalFrame. (Closed)
Patch Set: Fixing build problems introduced by rebasing... 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 "core/exported/WebRemoteFrameImpl.h" 5 #include "core/exported/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 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 // TODO(dcheng): this should also ASSERT_NOT_REACHED, but a lot of 126 // TODO(dcheng): this should also ASSERT_NOT_REACHED, but a lot of
127 // code tries to access the document of a remote frame at the moment. 127 // code tries to access the document of a remote frame at the moment.
128 return WebDocument(); 128 return WebDocument();
129 } 129 }
130 130
131 WebPerformance WebRemoteFrameImpl::Performance() const { 131 WebPerformance WebRemoteFrameImpl::Performance() const {
132 NOTREACHED(); 132 NOTREACHED();
133 return WebPerformance(); 133 return WebPerformance();
134 } 134 }
135 135
136 void WebRemoteFrameImpl::Reload(WebFrameLoadType) {
137 NOTREACHED();
138 }
139
140 void WebRemoteFrameImpl::ReloadWithOverrideURL(const WebURL& override_url,
141 WebFrameLoadType) {
142 NOTREACHED();
143 }
144
145 void WebRemoteFrameImpl::LoadRequest(const WebURLRequest&) {
146 NOTREACHED();
147 }
148
149 void WebRemoteFrameImpl::StopLoading() { 136 void WebRemoteFrameImpl::StopLoading() {
150 // TODO(dcheng,japhet): Calling this method should stop loads 137 // TODO(dcheng,japhet): Calling this method should stop loads
151 // in all subframes, both remote and local. 138 // in all subframes, both remote and local.
152 } 139 }
153 140
154 void WebRemoteFrameImpl::EnableViewSourceMode(bool enable) { 141 void WebRemoteFrameImpl::EnableViewSourceMode(bool enable) {
155 NOTREACHED(); 142 NOTREACHED();
156 } 143 }
157 144
158 bool WebRemoteFrameImpl::IsViewSourceModeEnabled() const { 145 bool WebRemoteFrameImpl::IsViewSourceModeEnabled() const {
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
386 } 373 }
387 374
388 WebRemoteFrameImpl::WebRemoteFrameImpl(WebTreeScopeType scope, 375 WebRemoteFrameImpl::WebRemoteFrameImpl(WebTreeScopeType scope,
389 WebRemoteFrameClient* client) 376 WebRemoteFrameClient* client)
390 : WebRemoteFrameBase(scope), 377 : WebRemoteFrameBase(scope),
391 frame_client_(RemoteFrameClientImpl::Create(this)), 378 frame_client_(RemoteFrameClientImpl::Create(this)),
392 client_(client), 379 client_(client),
393 self_keep_alive_(this) {} 380 self_keep_alive_(this) {}
394 381
395 } // namespace blink 382 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698