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

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

Issue 2333813002: Introduce WebInputMethodController to blink (Closed)
Patch Set: Removed an unsued enum form WebInputMethodController 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/WebFrameWidget.h
diff --git a/third_party/WebKit/public/web/WebFrameWidget.h b/third_party/WebKit/public/web/WebFrameWidget.h
index 43c6ddf9d72317144d377d37d6c8fcd2dab41c06..340e19e0e05f2400053c84f446fbab8e0f3856da 100644
--- a/third_party/WebKit/public/web/WebFrameWidget.h
+++ b/third_party/WebKit/public/web/WebFrameWidget.h
@@ -38,6 +38,7 @@
namespace blink {
class WebLocalFrame;
+class WebInputMethodController;
class WebView;
class WebWidgetClient;
@@ -75,6 +76,12 @@ public:
// WebWidget implementation.
bool isWebFrameWidget() const final { return true; }
+
+ // Current instance of the active WebInputMethodController, that is, the
+ // WebInputMethodController corresponding to (and owned by) the focused
+ // WebLocalFrameImpl. It might return nullptr when there are no focused
+ // frames or possibly when the WebFrameWidget does not accept IME events.
+ virtual WebInputMethodController* getActiveWebInputMethodController() const = 0;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698