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