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

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

Issue 2306643003: WebRange-ify WebWidget::compositionRange. (Closed)
Patch Set: 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..60c419213e702042432fae8282153341b94bb309 100644
--- a/third_party/WebKit/public/web/WebWidget.h
+++ b/third_party/WebKit/public/web/WebWidget.h
@@ -169,9 +169,8 @@ public:
virtual bool confirmComposition(const WebString& text) { return false; }
// Fetches the character range of the current composition, also called the
- // "marked range." Returns true and fills the out-paramters on success;
- // returns false on failure.
- virtual bool compositionRange(size_t* location, size_t* length) { return false; }
+ // "marked range."
+ virtual WebRange compositionRange() { return WebRange(); }
// Returns information about the current text input of this WebWidget.
// Note that this query can be expensive for long fields, as it returns the

Powered by Google App Engine
This is Rietveld 408576698