Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(66)

Side by Side Diff: Source/web/WebRemoteFrameImpl.h

Issue 653383002: Add new API for only moving the selection extent point. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 virtual void requestTextChecking(const WebElement&) override; 112 virtual void requestTextChecking(const WebElement&) override;
113 virtual void replaceMisspelledRange(const WebString&) override; 113 virtual void replaceMisspelledRange(const WebString&) override;
114 virtual void removeSpellingMarkers() override; 114 virtual void removeSpellingMarkers() override;
115 virtual bool hasSelection() const override; 115 virtual bool hasSelection() const override;
116 virtual WebRange selectionRange() const override; 116 virtual WebRange selectionRange() const override;
117 virtual WebString selectionAsText() const override; 117 virtual WebString selectionAsText() const override;
118 virtual WebString selectionAsMarkup() const override; 118 virtual WebString selectionAsMarkup() const override;
119 virtual bool selectWordAroundCaret() override; 119 virtual bool selectWordAroundCaret() override;
120 virtual void selectRange(const WebPoint& base, const WebPoint& extent) overr ide; 120 virtual void selectRange(const WebPoint& base, const WebPoint& extent) overr ide;
121 virtual void selectRange(const WebRange&) override; 121 virtual void selectRange(const WebRange&) override;
122 virtual void moveSelectionExtent(const WebPoint&) override;
122 virtual void moveRangeSelection(const WebPoint& base, const WebPoint& extent ) override; 123 virtual void moveRangeSelection(const WebPoint& base, const WebPoint& extent ) override;
123 virtual void moveCaretSelection(const WebPoint&) override; 124 virtual void moveCaretSelection(const WebPoint&) override;
124 virtual bool setEditableSelectionOffsets(int start, int end) override; 125 virtual bool setEditableSelectionOffsets(int start, int end) override;
125 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;
126 virtual void extendSelectionAndDelete(int before, int after) override; 127 virtual void extendSelectionAndDelete(int before, int after) override;
127 virtual void setCaretVisible(bool) override; 128 virtual void setCaretVisible(bool) override;
128 virtual int printBegin(const WebPrintParams&, const WebNode& constrainToNode ) override; 129 virtual int printBegin(const WebPrintParams&, const WebNode& constrainToNode ) override;
129 virtual float printPage(int pageToPrint, WebCanvas*) override; 130 virtual float printPage(int pageToPrint, WebCanvas*) override;
130 virtual float getPrintPageShrink(int page) override; 131 virtual float getPrintPageShrink(int page) override;
131 virtual void printEnd() override; 132 virtual void printEnd() override;
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 GC_PLUGIN_IGNORE("340522") 206 GC_PLUGIN_IGNORE("340522")
206 Persistent<WebRemoteFrameImpl> m_selfKeepAlive; 207 Persistent<WebRemoteFrameImpl> m_selfKeepAlive;
207 #endif 208 #endif
208 }; 209 };
209 210
210 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, WebFrame, frame, frame->isWebRemoteFrame() , frame.isWebRemoteFrame()); 211 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, WebFrame, frame, frame->isWebRemoteFrame() , frame.isWebRemoteFrame());
211 212
212 } // namespace blink 213 } // namespace blink
213 214
214 #endif // WebRemoteFrameImpl_h 215 #endif // WebRemoteFrameImpl_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698