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

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

Issue 2923343005: Move printing-related methods from WebFrame to WebLocalFrame. (Closed)
Patch Set: 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 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 const WebAssociatedURLLoaderOptions&) { 234 const WebAssociatedURLLoaderOptions&) {
235 NOTREACHED(); 235 NOTREACHED();
236 return nullptr; 236 return nullptr;
237 } 237 }
238 238
239 unsigned WebRemoteFrameImpl::UnloadListenerCount() const { 239 unsigned WebRemoteFrameImpl::UnloadListenerCount() const {
240 NOTREACHED(); 240 NOTREACHED();
241 return 0; 241 return 0;
242 } 242 }
243 243
244 int WebRemoteFrameImpl::PrintBegin(const WebPrintParams&,
245 const WebNode& constrain_to_node) {
246 NOTREACHED();
247 return 0;
248 }
249
250 float WebRemoteFrameImpl::PrintPage(int page_to_print, WebCanvas*) {
251 NOTREACHED();
252 return 0.0;
253 }
254
255 float WebRemoteFrameImpl::GetPrintPageShrink(int page) {
256 NOTREACHED();
257 return 0.0;
258 }
259
260 void WebRemoteFrameImpl::PrintEnd() {
261 NOTREACHED();
262 }
263
264 bool WebRemoteFrameImpl::IsPrintScalingDisabledForPlugin(const WebNode&) {
265 NOTREACHED();
266 return false;
267 }
268
269 void WebRemoteFrameImpl::PrintPagesWithBoundaries(WebCanvas*, const WebSize&) {
270 NOTREACHED();
271 }
272
273 WebRect WebRemoteFrameImpl::SelectionBoundsRect() const {
274 NOTREACHED();
275 return WebRect();
276 }
277
278 WebLocalFrame* WebRemoteFrameImpl::CreateLocalChild( 244 WebLocalFrame* WebRemoteFrameImpl::CreateLocalChild(
279 WebTreeScopeType scope, 245 WebTreeScopeType scope,
280 const WebString& name, 246 const WebString& name,
281 WebSandboxFlags sandbox_flags, 247 WebSandboxFlags sandbox_flags,
282 WebFrameClient* client, 248 WebFrameClient* client,
283 blink::InterfaceProvider* interface_provider, 249 blink::InterfaceProvider* interface_provider,
284 blink::InterfaceRegistry* interface_registry, 250 blink::InterfaceRegistry* interface_registry,
285 WebFrame* previous_sibling, 251 WebFrame* previous_sibling,
286 const WebParsedFeaturePolicy& container_policy, 252 const WebParsedFeaturePolicy& container_policy,
287 const WebFrameOwnerProperties& frame_owner_properties, 253 const WebFrameOwnerProperties& frame_owner_properties,
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
485 } 451 }
486 452
487 WebRemoteFrameImpl::WebRemoteFrameImpl(WebTreeScopeType scope, 453 WebRemoteFrameImpl::WebRemoteFrameImpl(WebTreeScopeType scope,
488 WebRemoteFrameClient* client) 454 WebRemoteFrameClient* client)
489 : WebRemoteFrameBase(scope), 455 : WebRemoteFrameBase(scope),
490 frame_client_(RemoteFrameClientImpl::Create(this)), 456 frame_client_(RemoteFrameClientImpl::Create(this)),
491 client_(client), 457 client_(client),
492 self_keep_alive_(this) {} 458 self_keep_alive_(this) {}
493 459
494 } // namespace blink 460 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/exported/WebRemoteFrameImpl.h ('k') | third_party/WebKit/Source/web/WebLocalFrameImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698