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

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

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

Powered by Google App Engine
This is Rietveld 408576698