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

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

Issue 2323983003: DO NOT SUBMIT: Bundle IME-related messages into one for batch edit (Closed)
Patch Set: fixed nits and fixed blimp test 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
« no previous file with comments | « third_party/WebKit/public/web/WebLocalFrame.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 f1abc854327b630f0b30cecde6aad203b4e4da6a..0365ae5e8a3d79b5fe8b08e02814a8b410c22265 100644
--- a/third_party/WebKit/public/web/WebWidget.h
+++ b/third_party/WebKit/public/web/WebWidget.h
@@ -168,6 +168,13 @@ public:
// Returns true if there is an ongoing composition or the text is inserted.
virtual bool confirmComposition(const WebString& text) { return false; }
+ // Set selection offsets for editable content or input.
+ virtual bool setEditableSelectionOffsets(int start, int end) { return false; };
+ // Set composition offsets for existing text.
+ virtual bool setCompositionFromExistingText(int compositionStart, int compositionEnd, const WebVector<WebCompositionUnderline>& underlines) { return false; };
+ // Select and delete text from |before| to |after|.
+ virtual void extendSelectionAndDelete(int before, int after) { };
+
// Fetches the character range of the current composition, also called the
// "marked range."
virtual WebRange compositionRange() { return WebRange(); }
« no previous file with comments | « third_party/WebKit/public/web/WebLocalFrame.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698