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

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

Issue 2508363003: [refactor] - Move textInputInfo() and textInputType() from WebWidget to WebInputMethodController (Closed)
Patch Set: 'controller' may be nullptr. Created 4 years, 1 month 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/WebLocalFrame.h
diff --git a/third_party/WebKit/public/web/WebLocalFrame.h b/third_party/WebKit/public/web/WebLocalFrame.h
index 12a08e860ef750725088d127d439aec735eedea6..2ef91f42fc8e29397ce51dcf027864b163c68ab1 100644
--- a/third_party/WebKit/public/web/WebLocalFrame.h
+++ b/third_party/WebKit/public/web/WebLocalFrame.h
@@ -21,6 +21,7 @@ class WebDevToolsAgentClient;
class WebDoubleSize;
class WebFrameClient;
class WebFrameWidget;
+class WebInputMethodController;
class WebRange;
class WebScriptExecutionCallback;
class WebSuspendableTask;
@@ -447,6 +448,9 @@ class WebLocalFrame : public WebFrame {
// This will be removed following the deprecation.
virtual void usageCountChromeLoadTimes(const WebString& metric) = 0;
+ // Returns the WebInputMethodController associated with this local frame.
+ virtual WebInputMethodController* inputMethodController() const = 0;
+
protected:
explicit WebLocalFrame(WebTreeScopeType scope) : WebFrame(scope) {}

Powered by Google App Engine
This is Rietveld 408576698