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

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

Issue 2910223003: [refactor] - Rename and Move WebWidget::CaretOrSelectionRange to WebInputMethodController::GetSelec… (Closed)
Patch Set: Fixed some comments Created 3 years, 7 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/WebInputMethodController.h
diff --git a/third_party/WebKit/public/web/WebInputMethodController.h b/third_party/WebKit/public/web/WebInputMethodController.h
index 756e7e5027493a8624d08526bf045a419d09fc3e..7130befa32433bf44b5e9ce90a119c645b537832 100644
--- a/third_party/WebKit/public/web/WebInputMethodController.h
+++ b/third_party/WebKit/public/web/WebInputMethodController.h
@@ -60,6 +60,9 @@ class WebInputMethodController {
// Returns the type of current text input of this controller.
virtual WebTextInputType TextInputType() { return kWebTextInputTypeNone; }
+
+ // Fetch the current selection range of this frame.
+ virtual WebRange GetSelectionOffsets() const = 0;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698