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 "public/web/WebRemoteFrame.h" | 8 #include "public/web/WebRemoteFrame.h" |
9 #include "web/RemoteFrameClient.h" | 9 #include "web/RemoteFrameClient.h" |
10 #include "wtf/HashMap.h" | 10 #include "wtf/HashMap.h" |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 virtual void moveCaretSelection(const WebPoint&) OVERRIDE; | 124 virtual void moveCaretSelection(const WebPoint&) OVERRIDE; |
125 virtual bool setEditableSelectionOffsets(int start, int end) OVERRIDE; | 125 virtual bool setEditableSelectionOffsets(int start, int end) OVERRIDE; |
126 virtual bool setCompositionFromExistingText(int compositionStart, int compos
itionEnd, const WebVector<WebCompositionUnderline>& underlines) OVERRIDE; | 126 virtual bool setCompositionFromExistingText(int compositionStart, int compos
itionEnd, const WebVector<WebCompositionUnderline>& underlines) OVERRIDE; |
127 virtual void extendSelectionAndDelete(int before, int after) OVERRIDE; | 127 virtual void extendSelectionAndDelete(int before, int after) OVERRIDE; |
128 virtual void setCaretVisible(bool) OVERRIDE; | 128 virtual void setCaretVisible(bool) OVERRIDE; |
129 virtual int printBegin(const WebPrintParams&, const WebNode& constrainToNode
) OVERRIDE; | 129 virtual int printBegin(const WebPrintParams&, const WebNode& constrainToNode
) OVERRIDE; |
130 virtual float printPage(int pageToPrint, WebCanvas*) OVERRIDE; | 130 virtual float printPage(int pageToPrint, WebCanvas*) OVERRIDE; |
131 virtual float getPrintPageShrink(int page) OVERRIDE; | 131 virtual float getPrintPageShrink(int page) OVERRIDE; |
132 virtual void printEnd() OVERRIDE; | 132 virtual void printEnd() OVERRIDE; |
133 virtual bool isPrintScalingDisabledForPlugin(const WebNode&) OVERRIDE; | 133 virtual bool isPrintScalingDisabledForPlugin(const WebNode&) OVERRIDE; |
| 134 virtual int getPrintCopiesForPlugin(const WebNode&) OVERRIDE; |
134 virtual bool hasCustomPageSizeStyle(int pageIndex) OVERRIDE; | 135 virtual bool hasCustomPageSizeStyle(int pageIndex) OVERRIDE; |
135 virtual bool isPageBoxVisible(int pageIndex) OVERRIDE; | 136 virtual bool isPageBoxVisible(int pageIndex) OVERRIDE; |
136 virtual void pageSizeAndMarginsInPixels( | 137 virtual void pageSizeAndMarginsInPixels( |
137 int pageIndex, | 138 int pageIndex, |
138 WebSize& pageSize, | 139 WebSize& pageSize, |
139 int& marginTop, | 140 int& marginTop, |
140 int& marginRight, | 141 int& marginRight, |
141 int& marginBottom, | 142 int& marginBottom, |
142 int& marginLeft) OVERRIDE; | 143 int& marginLeft) OVERRIDE; |
143 virtual WebString pageProperty(const WebString& propertyName, int pageIndex)
OVERRIDE; | 144 virtual WebString pageProperty(const WebString& propertyName, int pageIndex)
OVERRIDE; |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
188 RefPtr<blink::RemoteFrame> m_frame; | 189 RefPtr<blink::RemoteFrame> m_frame; |
189 | 190 |
190 HashMap<WebFrame*, OwnPtr<blink::FrameOwner> > m_ownersForChildren; | 191 HashMap<WebFrame*, OwnPtr<blink::FrameOwner> > m_ownersForChildren; |
191 }; | 192 }; |
192 | 193 |
193 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, WebFrame, frame, frame->isWebRemoteFrame()
, frame.isWebRemoteFrame()); | 194 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, WebFrame, frame, frame->isWebRemoteFrame()
, frame.isWebRemoteFrame()); |
194 | 195 |
195 } // namespace blink | 196 } // namespace blink |
196 | 197 |
197 #endif // WebRemoteFrameImpl_h | 198 #endif // WebRemoteFrameImpl_h |
OLD | NEW |