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/RemoteFrame.h" | 8 #include "core/frame/RemoteFrame.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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 WebString selectionAsText() const override; | 101 WebString selectionAsText() const override; |
102 WebString selectionAsMarkup() const override; | 102 WebString selectionAsMarkup() const override; |
103 bool selectWordAroundCaret() override; | 103 bool selectWordAroundCaret() override; |
104 void selectRange(const WebPoint& base, const WebPoint& extent) override; | 104 void selectRange(const WebPoint& base, const WebPoint& extent) override; |
105 void selectRange(const WebRange&) override; | 105 void selectRange(const WebRange&) override; |
106 void moveRangeSelection(const WebPoint& base, const WebPoint& extent, WebFra
me::TextGranularity = CharacterGranularity) override; | 106 void moveRangeSelection(const WebPoint& base, const WebPoint& extent, WebFra
me::TextGranularity = CharacterGranularity) override; |
107 void moveCaretSelection(const WebPoint&) override; | 107 void moveCaretSelection(const WebPoint&) override; |
108 bool setEditableSelectionOffsets(int start, int end) override; | 108 bool setEditableSelectionOffsets(int start, int end) override; |
109 bool setCompositionFromExistingText(int compositionStart, int compositionEnd
, const WebVector<WebCompositionUnderline>& underlines) override; | 109 bool setCompositionFromExistingText(int compositionStart, int compositionEnd
, const WebVector<WebCompositionUnderline>& underlines) override; |
110 void extendSelectionAndDelete(int before, int after) override; | 110 void extendSelectionAndDelete(int before, int after) override; |
| 111 void deleteSurroundingText(int before, int after) override; |
111 void setCaretVisible(bool) override; | 112 void setCaretVisible(bool) override; |
112 int printBegin(const WebPrintParams&, const WebNode& constrainToNode) overri
de; | 113 int printBegin(const WebPrintParams&, const WebNode& constrainToNode) overri
de; |
113 float printPage(int pageToPrint, WebCanvas*) override; | 114 float printPage(int pageToPrint, WebCanvas*) override; |
114 float getPrintPageShrink(int page) override; | 115 float getPrintPageShrink(int page) override; |
115 void printEnd() override; | 116 void printEnd() override; |
116 bool isPrintScalingDisabledForPlugin(const WebNode&) override; | 117 bool isPrintScalingDisabledForPlugin(const WebNode&) override; |
117 bool hasCustomPageSizeStyle(int pageIndex) override; | 118 bool hasCustomPageSizeStyle(int pageIndex) override; |
118 bool isPageBoxVisible(int pageIndex) override; | 119 bool isPageBoxVisible(int pageIndex) override; |
119 void pageSizeAndMarginsInPixels( | 120 void pageSizeAndMarginsInPixels( |
120 int pageIndex, | 121 int pageIndex, |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
184 // Accomplish that by keeping a self-referential Persistent<>. It is | 185 // Accomplish that by keeping a self-referential Persistent<>. It is |
185 // cleared upon close(). | 186 // cleared upon close(). |
186 SelfKeepAlive<WebRemoteFrameImpl> m_selfKeepAlive; | 187 SelfKeepAlive<WebRemoteFrameImpl> m_selfKeepAlive; |
187 }; | 188 }; |
188 | 189 |
189 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, WebFrame, frame, frame->isWebRemoteFrame()
, frame.isWebRemoteFrame()); | 190 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, WebFrame, frame, frame->isWebRemoteFrame()
, frame.isWebRemoteFrame()); |
190 | 191 |
191 } // namespace blink | 192 } // namespace blink |
192 | 193 |
193 #endif // WebRemoteFrameImpl_h | 194 #endif // WebRemoteFrameImpl_h |
OLD | NEW |