| 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 #ifndef WebRemoteFrameImpl_h | 5 #ifndef WebRemoteFrameImpl_h |
| 6 #define WebRemoteFrameImpl_h | 6 #define WebRemoteFrameImpl_h |
| 7 | 7 |
| 8 #include "core/frame/FrameOwner.h" | 8 #include "core/frame/FrameOwner.h" |
| 9 #include "platform/heap/Handle.h" | 9 #include "platform/heap/Handle.h" |
| 10 #include "public/web/WebRemoteFrame.h" | 10 #include "public/web/WebRemoteFrame.h" |
| (...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 138 virtual void moveCaretSelection(const WebPoint&) override; | 138 virtual void moveCaretSelection(const WebPoint&) override; |
| 139 virtual bool setEditableSelectionOffsets(int start, int end) override; | 139 virtual bool setEditableSelectionOffsets(int start, int end) override; |
| 140 virtual bool setCompositionFromExistingText(int compositionStart, int compos
itionEnd, const WebVector<WebCompositionUnderline>& underlines) override; | 140 virtual bool setCompositionFromExistingText(int compositionStart, int compos
itionEnd, const WebVector<WebCompositionUnderline>& underlines) override; |
| 141 virtual void extendSelectionAndDelete(int before, int after) override; | 141 virtual void extendSelectionAndDelete(int before, int after) override; |
| 142 virtual void setCaretVisible(bool) override; | 142 virtual void setCaretVisible(bool) override; |
| 143 virtual int printBegin(const WebPrintParams&, const WebNode& constrainToNode
) override; | 143 virtual int printBegin(const WebPrintParams&, const WebNode& constrainToNode
) override; |
| 144 virtual float printPage(int pageToPrint, WebCanvas*) override; | 144 virtual float printPage(int pageToPrint, WebCanvas*) override; |
| 145 virtual float getPrintPageShrink(int page) override; | 145 virtual float getPrintPageShrink(int page) override; |
| 146 virtual void printEnd() override; | 146 virtual void printEnd() override; |
| 147 virtual bool isPrintScalingDisabledForPlugin(const WebNode&) override; | 147 virtual bool isPrintScalingDisabledForPlugin(const WebNode&) override; |
| 148 virtual int getPrintCopiesForPlugin(const WebNode&) override; | |
| 149 virtual bool hasCustomPageSizeStyle(int pageIndex) override; | 148 virtual bool hasCustomPageSizeStyle(int pageIndex) override; |
| 150 virtual bool isPageBoxVisible(int pageIndex) override; | 149 virtual bool isPageBoxVisible(int pageIndex) override; |
| 151 virtual void pageSizeAndMarginsInPixels( | 150 virtual void pageSizeAndMarginsInPixels( |
| 152 int pageIndex, | 151 int pageIndex, |
| 153 WebSize& pageSize, | 152 WebSize& pageSize, |
| 154 int& marginTop, | 153 int& marginTop, |
| 155 int& marginRight, | 154 int& marginRight, |
| 156 int& marginBottom, | 155 int& marginBottom, |
| 157 int& marginLeft) override; | 156 int& marginLeft) override; |
| 158 virtual WebString pageProperty(const WebString& propertyName, int pageIndex)
override; | 157 virtual WebString pageProperty(const WebString& propertyName, int pageIndex)
override; |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 220 GC_PLUGIN_IGNORE("340522") | 219 GC_PLUGIN_IGNORE("340522") |
| 221 Persistent<WebRemoteFrameImpl> m_selfKeepAlive; | 220 Persistent<WebRemoteFrameImpl> m_selfKeepAlive; |
| 222 #endif | 221 #endif |
| 223 }; | 222 }; |
| 224 | 223 |
| 225 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, WebFrame, frame, frame->isWebRemoteFrame()
, frame.isWebRemoteFrame()); | 224 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, WebFrame, frame, frame->isWebRemoteFrame()
, frame.isWebRemoteFrame()); |
| 226 | 225 |
| 227 } // namespace blink | 226 } // namespace blink |
| 228 | 227 |
| 229 #endif // WebRemoteFrameImpl_h | 228 #endif // WebRemoteFrameImpl_h |
| OLD | NEW |