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

Unified Diff: content/renderer/render_widget.h

Issue 2608293002: [reland, refactor] - Move textInputInfo() and textInputType() from WebWidget to WebInputMethodContr… (Closed)
Patch Set: Addressing wjmaclean@'s comments Created 3 years, 11 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 | « content/renderer/render_view_browsertest.cc ('k') | content/renderer/render_widget.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_widget.h
diff --git a/content/renderer/render_widget.h b/content/renderer/render_widget.h
index 76bcebaed022f37c9f0d1281470aeb683818e08c..184b9ed116f5a27dd2dc9ab1c2f0b27d78c33749 100644
--- a/content/renderer/render_widget.h
+++ b/content/renderer/render_widget.h
@@ -803,6 +803,11 @@ class CONTENT_EXPORT RenderWidget
// instead fail right away.
void SendOrCrash(IPC::Message* msg);
+ // Determines whether or not RenderWidget should process IME events from the
+ // browser. It always returns true unless there is no WebFrameWidget to
+ // handle the event, or there is no page focus.
+ bool ShouldHandleImeEvents() const;
+
// Indicates whether this widget has focus.
bool has_focus_;
« no previous file with comments | « content/renderer/render_view_browsertest.cc ('k') | content/renderer/render_widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698