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

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

Issue 379793002: [Blink] Support NumCopies print preset (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 6 years, 4 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
« no previous file with comments | « Source/web/WebRemoteFrameImpl.h ('k') | public/web/WebFrame.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "config.h" 5 #include "config.h"
6 #include "web/WebRemoteFrameImpl.h" 6 #include "web/WebRemoteFrameImpl.h"
7 7
8 #include "core/frame/FrameOwner.h" 8 #include "core/frame/FrameOwner.h"
9 #include "core/frame/RemoteFrame.h" 9 #include "core/frame/RemoteFrame.h"
10 #include "core/page/Page.h" 10 #include "core/page/Page.h"
(...skipping 615 matching lines...) Expand 10 before | Expand all | Expand 10 after
626 { 626 {
627 ASSERT_NOT_REACHED(); 627 ASSERT_NOT_REACHED();
628 } 628 }
629 629
630 bool WebRemoteFrameImpl::isPrintScalingDisabledForPlugin(const WebNode&) 630 bool WebRemoteFrameImpl::isPrintScalingDisabledForPlugin(const WebNode&)
631 { 631 {
632 ASSERT_NOT_REACHED(); 632 ASSERT_NOT_REACHED();
633 return false; 633 return false;
634 } 634 }
635 635
636 int WebRemoteFrameImpl::getPrintCopiesForPlugin(const WebNode&)
637 {
638 ASSERT_NOT_REACHED();
639 return 1;
640 }
641
636 bool WebRemoteFrameImpl::hasCustomPageSizeStyle(int pageIndex) 642 bool WebRemoteFrameImpl::hasCustomPageSizeStyle(int pageIndex)
637 { 643 {
638 ASSERT_NOT_REACHED(); 644 ASSERT_NOT_REACHED();
639 return false; 645 return false;
640 } 646 }
641 647
642 bool WebRemoteFrameImpl::isPageBoxVisible(int pageIndex) 648 bool WebRemoteFrameImpl::isPageBoxVisible(int pageIndex)
643 { 649 {
644 ASSERT_NOT_REACHED(); 650 ASSERT_NOT_REACHED();
645 return false; 651 return false;
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
824 830
825 WebRemoteFrameImpl* WebRemoteFrameImpl::fromFrame(RemoteFrame& frame) 831 WebRemoteFrameImpl* WebRemoteFrameImpl::fromFrame(RemoteFrame& frame)
826 { 832 {
827 if (!frame.client()) 833 if (!frame.client())
828 return 0; 834 return 0;
829 return static_cast<RemoteFrameClient*>(frame.client())->webFrame(); 835 return static_cast<RemoteFrameClient*>(frame.client())->webFrame();
830 } 836 }
831 837
832 } // namespace blink 838 } // namespace blink
833 839
OLDNEW
« no previous file with comments | « Source/web/WebRemoteFrameImpl.h ('k') | public/web/WebFrame.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698