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/RefCounted.h" | 10 #include "wtf/RefCounted.h" |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
115 virtual WebString selectionAsMarkup() const OVERRIDE; | 115 virtual WebString selectionAsMarkup() const OVERRIDE; |
116 virtual bool selectWordAroundCaret() OVERRIDE; | 116 virtual bool selectWordAroundCaret() OVERRIDE; |
117 virtual void selectRange(const WebPoint& base, const WebPoint& extent) OVERR
IDE; | 117 virtual void selectRange(const WebPoint& base, const WebPoint& extent) OVERR
IDE; |
118 virtual void selectRange(const WebRange&) OVERRIDE; | 118 virtual void selectRange(const WebRange&) OVERRIDE; |
119 virtual void moveRangeSelection(const WebPoint& base, const WebPoint& extent
) OVERRIDE; | 119 virtual void moveRangeSelection(const WebPoint& base, const WebPoint& extent
) OVERRIDE; |
120 virtual void moveCaretSelection(const WebPoint&) OVERRIDE; | 120 virtual void moveCaretSelection(const WebPoint&) OVERRIDE; |
121 virtual bool setEditableSelectionOffsets(int start, int end) OVERRIDE; | 121 virtual bool setEditableSelectionOffsets(int start, int end) OVERRIDE; |
122 virtual bool setCompositionFromExistingText(int compositionStart, int compos
itionEnd, const WebVector<WebCompositionUnderline>& underlines) OVERRIDE; | 122 virtual bool setCompositionFromExistingText(int compositionStart, int compos
itionEnd, const WebVector<WebCompositionUnderline>& underlines) OVERRIDE; |
123 virtual void extendSelectionAndDelete(int before, int after) OVERRIDE; | 123 virtual void extendSelectionAndDelete(int before, int after) OVERRIDE; |
124 virtual void addStyleSheetByURL(const WebString& url) OVERRIDE; | 124 virtual void addStyleSheetByURL(const WebString& url) OVERRIDE; |
| 125 virtual void notifyTransitionShown(int elementsToHide) OVERRIDE; |
| 126 virtual void setupTransitionView(const WebString& markup) OVERRIDE; |
125 virtual void setCaretVisible(bool) OVERRIDE; | 127 virtual void setCaretVisible(bool) OVERRIDE; |
126 virtual int printBegin(const WebPrintParams&, const WebNode& constrainToNode
) OVERRIDE; | 128 virtual int printBegin(const WebPrintParams&, const WebNode& constrainToNode
) OVERRIDE; |
127 virtual float printPage(int pageToPrint, WebCanvas*) OVERRIDE; | 129 virtual float printPage(int pageToPrint, WebCanvas*) OVERRIDE; |
128 virtual float getPrintPageShrink(int page) OVERRIDE; | 130 virtual float getPrintPageShrink(int page) OVERRIDE; |
129 virtual void printEnd() OVERRIDE; | 131 virtual void printEnd() OVERRIDE; |
130 virtual bool isPrintScalingDisabledForPlugin(const WebNode&) OVERRIDE; | 132 virtual bool isPrintScalingDisabledForPlugin(const WebNode&) OVERRIDE; |
131 virtual bool hasCustomPageSizeStyle(int pageIndex) OVERRIDE; | 133 virtual bool hasCustomPageSizeStyle(int pageIndex) OVERRIDE; |
132 virtual bool isPageBoxVisible(int pageIndex) OVERRIDE; | 134 virtual bool isPageBoxVisible(int pageIndex) OVERRIDE; |
133 virtual void pageSizeAndMarginsInPixels( | 135 virtual void pageSizeAndMarginsInPixels( |
134 int pageIndex, | 136 int pageIndex, |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
176 RemoteFrameClient m_frameClient; | 178 RemoteFrameClient m_frameClient; |
177 RefPtr<WebCore::RemoteFrame> m_frame; | 179 RefPtr<WebCore::RemoteFrame> m_frame; |
178 }; | 180 }; |
179 | 181 |
180 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, WebFrame, frame, frame->isWebRemoteFrame()
, frame.isWebRemoteFrame()); | 182 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, WebFrame, frame, frame->isWebRemoteFrame()
, frame.isWebRemoteFrame()); |
181 | 183 |
182 | 184 |
183 } // namespace blink | 185 } // namespace blink |
184 | 186 |
185 #endif // WebRemoteFrameImpl_h | 187 #endif // WebRemoteFrameImpl_h |
OLD | NEW |