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

Unified Diff: content/browser/renderer_host/text_input_manager.cc

Issue 2166573003: Track TextInputState from multiple RenderWidgets in TextInputManager (Mac) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Disabled SitePerProcessTextInputManagerTest.TrackTextSelectionForAllFrames on Mac since the corresp… 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
Index: content/browser/renderer_host/text_input_manager.cc
diff --git a/content/browser/renderer_host/text_input_manager.cc b/content/browser/renderer_host/text_input_manager.cc
index faee51cc3cb9aad16e0cc340afe87ed2c3f54296..dc0b5585d208642f8b690c41776b9b307f972b3b 100644
--- a/content/browser/renderer_host/text_input_manager.cc
+++ b/content/browser/renderer_host/text_input_manager.cc
@@ -21,6 +21,9 @@ bool AreDifferentTextInputStates(const content::TextInputState& old_state,
return old_state.type != new_state.type || old_state.mode != new_state.mode ||
old_state.flags != new_state.flags ||
old_state.can_compose_inline != new_state.can_compose_inline;
+#elif defined(OS_MACOSX)
+ return old_state.type != new_state.type ||
+ old_state.can_compose_inline != new_state.can_compose_inline;
#else
// TODO(ekaramad): Implement the logic for other platforms (crbug.com/578168).
NOTREACHED();

Powered by Google App Engine
This is Rietveld 408576698