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

Unified Diff: content/browser/renderer_host/render_widget_host_view_mac.mm

Issue 2896753002: DO NOT SUBMIT: Debug logging for crbug.com/714771
Patch Set: . Created 3 years, 7 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/browser/renderer_host/render_widget_host_view_aura.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/browser/renderer_host/render_widget_host_view_mac.mm
diff --git a/content/browser/renderer_host/render_widget_host_view_mac.mm b/content/browser/renderer_host/render_widget_host_view_mac.mm
index e9ff56d799d12dc06739332f4e899b2d6f79e916..eea18436610e6c8c41139cc7e29e0325261b3ee2 100644
--- a/content/browser/renderer_host/render_widget_host_view_mac.mm
+++ b/content/browser/renderer_host/render_widget_host_view_mac.mm
@@ -916,6 +916,12 @@ void RenderWidgetHostViewMac::OnUpdateTextInputStateCalled(
bool need_monitor_composition =
has_focus && state && state->type != ui::TEXT_INPUT_TYPE_NONE;
+ LOG(ERROR) << "OnUpdateTextInputStateCalled(): RequestCompositionUpdates("
+ << need_monitor_composition
+ << ", \""
+ << WebContents::FromRenderViewHost(RenderViewHost::From(widgetHost))->GetLastCommittedURL().spec()
+ << "\")";
+
widgetHost->RequestCompositionUpdates(false /* immediate_request */,
need_monitor_composition);
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_aura.cc ('k') | content/renderer/render_widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698