| 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 "platform/heap/Handle.h" | 8 #include "platform/heap/Handle.h" |
| 9 #include "public/web/WebRemoteFrame.h" | 9 #include "public/web/WebRemoteFrame.h" |
| 10 #include "public/web/WebRemoteFrameClient.h" | 10 #include "public/web/WebRemoteFrameClient.h" |
| (...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 123 virtual void moveCaretSelection(const WebPoint&) override; | 123 virtual void moveCaretSelection(const WebPoint&) override; |
| 124 virtual bool setEditableSelectionOffsets(int start, int end) override; | 124 virtual bool setEditableSelectionOffsets(int start, int end) override; |
| 125 virtual bool setCompositionFromExistingText(int compositionStart, int compos
itionEnd, const WebVector<WebCompositionUnderline>& underlines) override; | 125 virtual bool setCompositionFromExistingText(int compositionStart, int compos
itionEnd, const WebVector<WebCompositionUnderline>& underlines) override; |
| 126 virtual void extendSelectionAndDelete(int before, int after) override; | 126 virtual void extendSelectionAndDelete(int before, int after) override; |
| 127 virtual void setCaretVisible(bool) override; | 127 virtual void setCaretVisible(bool) override; |
| 128 virtual int printBegin(const WebPrintParams&, const WebNode& constrainToNode
) override; | 128 virtual int printBegin(const WebPrintParams&, const WebNode& constrainToNode
) override; |
| 129 virtual float printPage(int pageToPrint, WebCanvas*) override; | 129 virtual float printPage(int pageToPrint, WebCanvas*) override; |
| 130 virtual float getPrintPageShrink(int page) override; | 130 virtual float getPrintPageShrink(int page) override; |
| 131 virtual void printEnd() override; | 131 virtual void printEnd() override; |
| 132 virtual bool isPrintScalingDisabledForPlugin(const WebNode&) override; | 132 virtual bool isPrintScalingDisabledForPlugin(const WebNode&) override; |
| 133 virtual int getPrintCopiesForPlugin(const WebNode&) override; | 133 virtual bool getPrintPresetOptionsForPlugin(const WebNode&, WebPrintPresetOp
tions*) override; |
| 134 virtual bool hasCustomPageSizeStyle(int pageIndex) override; | 134 virtual bool hasCustomPageSizeStyle(int pageIndex) override; |
| 135 virtual bool isPageBoxVisible(int pageIndex) override; | 135 virtual bool isPageBoxVisible(int pageIndex) override; |
| 136 virtual void pageSizeAndMarginsInPixels( | 136 virtual void pageSizeAndMarginsInPixels( |
| 137 int pageIndex, | 137 int pageIndex, |
| 138 WebSize& pageSize, | 138 WebSize& pageSize, |
| 139 int& marginTop, | 139 int& marginTop, |
| 140 int& marginRight, | 140 int& marginRight, |
| 141 int& marginBottom, | 141 int& marginBottom, |
| 142 int& marginLeft) override; | 142 int& marginLeft) override; |
| 143 virtual WebString pageProperty(const WebString& propertyName, int pageIndex)
override; | 143 virtual WebString pageProperty(const WebString& propertyName, int pageIndex)
override; |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 205 GC_PLUGIN_IGNORE("340522") | 205 GC_PLUGIN_IGNORE("340522") |
| 206 Persistent<WebRemoteFrameImpl> m_selfKeepAlive; | 206 Persistent<WebRemoteFrameImpl> m_selfKeepAlive; |
| 207 #endif | 207 #endif |
| 208 }; | 208 }; |
| 209 | 209 |
| 210 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, WebFrame, frame, frame->isWebRemoteFrame()
, frame.isWebRemoteFrame()); | 210 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, WebFrame, frame, frame->isWebRemoteFrame()
, frame.isWebRemoteFrame()); |
| 211 | 211 |
| 212 } // namespace blink | 212 } // namespace blink |
| 213 | 213 |
| 214 #endif // WebRemoteFrameImpl_h | 214 #endif // WebRemoteFrameImpl_h |
| OLD | NEW |