Chromium Code Reviews| 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/FrameView.h" | 9 #include "core/frame/FrameView.h" |
| 10 #include "core/frame/RemoteFrame.h" | 10 #include "core/frame/RemoteFrame.h" |
| (...skipping 643 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 654 { | 654 { |
| 655 ASSERT_NOT_REACHED(); | 655 ASSERT_NOT_REACHED(); |
| 656 } | 656 } |
| 657 | 657 |
| 658 bool WebRemoteFrameImpl::isPrintScalingDisabledForPlugin(const WebNode&) | 658 bool WebRemoteFrameImpl::isPrintScalingDisabledForPlugin(const WebNode&) |
| 659 { | 659 { |
| 660 ASSERT_NOT_REACHED(); | 660 ASSERT_NOT_REACHED(); |
| 661 return false; | 661 return false; |
| 662 } | 662 } |
| 663 | 663 |
| 664 int WebRemoteFrameImpl::getPrintCopiesForPlugin(const WebNode&) | 664 bool WebRemoteFrameImpl::getPrintPresetOptionsForPlugin(const WebNode&, WebPrint PresetOptions*) |
|
dcheng
2014/10/09 08:53:42
Since we're changing this signature anyway, how ha
Nikhil
2014/10/20 10:04:23
Based on your suggestion, I've moved the new metho
| |
| 665 { | 665 { |
| 666 ASSERT_NOT_REACHED(); | 666 ASSERT_NOT_REACHED(); |
| 667 return 1; | 667 return false; |
| 668 } | 668 } |
| 669 | 669 |
| 670 bool WebRemoteFrameImpl::hasCustomPageSizeStyle(int pageIndex) | 670 bool WebRemoteFrameImpl::hasCustomPageSizeStyle(int pageIndex) |
| 671 { | 671 { |
| 672 ASSERT_NOT_REACHED(); | 672 ASSERT_NOT_REACHED(); |
| 673 return false; | 673 return false; |
| 674 } | 674 } |
| 675 | 675 |
| 676 bool WebRemoteFrameImpl::isPageBoxVisible(int pageIndex) | 676 bool WebRemoteFrameImpl::isPageBoxVisible(int pageIndex) |
| 677 { | 677 { |
| (...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 861 void WebRemoteFrameImpl::initializeFromFrame(WebLocalFrame* source) const | 861 void WebRemoteFrameImpl::initializeFromFrame(WebLocalFrame* source) const |
| 862 { | 862 { |
| 863 ASSERT(source); | 863 ASSERT(source); |
| 864 WebLocalFrameImpl* localFrameImpl = toWebLocalFrameImpl(source); | 864 WebLocalFrameImpl* localFrameImpl = toWebLocalFrameImpl(source); |
| 865 client()->initializeChildFrame( | 865 client()->initializeChildFrame( |
| 866 localFrameImpl->frame()->view()->frameRect(), | 866 localFrameImpl->frame()->view()->frameRect(), |
| 867 localFrameImpl->frame()->view()->visibleContentScaleFactor()); | 867 localFrameImpl->frame()->view()->visibleContentScaleFactor()); |
| 868 } | 868 } |
| 869 | 869 |
| 870 } // namespace blink | 870 } // namespace blink |
| OLD | NEW |