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

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

Issue 2116283002: Don't let rounding prematurely influence document size when printing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@620456-2
Patch Set: bug 467579 Created 4 years, 5 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 "core/dom/Fullscreen.h" 7 #include "core/dom/Fullscreen.h"
8 #include "core/dom/RemoteSecurityContext.h" 8 #include "core/dom/RemoteSecurityContext.h"
9 #include "core/dom/SecurityContext.h" 9 #include "core/dom/SecurityContext.h"
10 #include "core/frame/FrameView.h" 10 #include "core/frame/FrameView.h"
(...skipping 499 matching lines...) Expand 10 before | Expand all | Expand 10 after
510 } 510 }
511 511
512 bool WebRemoteFrameImpl::isPageBoxVisible(int pageIndex) 512 bool WebRemoteFrameImpl::isPageBoxVisible(int pageIndex)
513 { 513 {
514 NOTREACHED(); 514 NOTREACHED();
515 return false; 515 return false;
516 } 516 }
517 517
518 void WebRemoteFrameImpl::pageSizeAndMarginsInPixels( 518 void WebRemoteFrameImpl::pageSizeAndMarginsInPixels(
519 int pageIndex, 519 int pageIndex,
520 WebSize& pageSize, 520 WebFloatSize& pageSize,
521 int& marginTop, 521 int& marginTop,
522 int& marginRight, 522 int& marginRight,
523 int& marginBottom, 523 int& marginBottom,
524 int& marginLeft) 524 int& marginLeft)
525 { 525 {
526 NOTREACHED(); 526 NOTREACHED();
527 } 527 }
528 528
529 WebString WebRemoteFrameImpl::pageProperty(const WebString& propertyName, int pa geIndex) 529 WebString WebRemoteFrameImpl::pageProperty(const WebString& propertyName, int pa geIndex)
530 { 530 {
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
726 726
727 WebRemoteFrameImpl::WebRemoteFrameImpl(WebTreeScopeType scope, WebRemoteFrameCli ent* client) 727 WebRemoteFrameImpl::WebRemoteFrameImpl(WebTreeScopeType scope, WebRemoteFrameCli ent* client)
728 : WebRemoteFrame(scope) 728 : WebRemoteFrame(scope)
729 , m_frameClient(RemoteFrameClientImpl::create(this)) 729 , m_frameClient(RemoteFrameClientImpl::create(this))
730 , m_client(client) 730 , m_client(client)
731 , m_selfKeepAlive(this) 731 , m_selfKeepAlive(this)
732 { 732 {
733 } 733 }
734 734
735 } // namespace blink 735 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698