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

Unified Diff: third_party/WebKit/public/web/WebWidget.h

Issue 2303613003: WebRange-ify WebWidget::applyReplacementRange. (Closed)
Patch Set: Updated comments. Created 4 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/public/web/WebWidget.h
diff --git a/third_party/WebKit/public/web/WebWidget.h b/third_party/WebKit/public/web/WebWidget.h
index ea39de5e295f321a07f4d1e977c6bf252fd005b4..10213412929a746adc00bccf44a6906210a68c63 100644
--- a/third_party/WebKit/public/web/WebWidget.h
+++ b/third_party/WebKit/public/web/WebWidget.h
@@ -250,8 +250,8 @@ public:
// composition.
virtual bool getCompositionCharacterBounds(WebVector<WebRect>& bounds) { return false; }
- // Applies the range from |start| to |start + length| on the foucsed frame so that the text will later be replaced.
- virtual void applyReplacementRange(int start, int length) {}
+ // Applies the range on the focused frame so that the text will later be replaced.
+ virtual void applyReplacementRange(const WebRange&) {}
protected:
~WebWidget() { }

Powered by Google App Engine
This is Rietveld 408576698