OLD | NEW |
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 Loading... |
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 Loading... |
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 |
OLD | NEW |