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

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

Issue 2029423003: OOPIF IME: Renderer Side Changes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Using focusedCoreFrame() instead of focusController().focusedFrame() in WebViewImpl Created 4 years, 5 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/Source/web/WebViewImpl.cpp ('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 5f959daeed85ff72c00c6199be09862448f92900..bc0a6faeadee75a26c1916d92d571baf15aba835 100644
--- a/third_party/WebKit/public/web/WebWidget.h
+++ b/third_party/WebKit/public/web/WebWidget.h
@@ -243,6 +243,14 @@ public:
// control what are valid states for top controls and if it should animate.
virtual void updateTopControlsState(WebTopControlsState constraints, WebTopControlsState current, bool animate) { }
+ // Populate |bounds| with the composition character bounds for the ongoing
+ // composition. Returns false if there is no focused input or any ongoing
+ // 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) {}
+
protected:
~WebWidget() { }
};
« no previous file with comments | « third_party/WebKit/Source/web/WebViewImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698