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

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

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 | « no previous file | content/browser/renderer_host/render_widget_host_view_mac.mm » ('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_aura.cc
diff --git a/content/browser/renderer_host/render_widget_host_view_aura.cc b/content/browser/renderer_host/render_widget_host_view_aura.cc
index b92c30d53797f4b7c2c0fb7b283a98f1b774af6e..a7f73acf37b0ab859b751ddbeb6bb536f491289b 100644
--- a/content/browser/renderer_host/render_widget_host_view_aura.cc
+++ b/content/browser/renderer_host/render_widget_host_view_aura.cc
@@ -125,6 +125,8 @@
#include "ui/wm/core/ime_util_chromeos.h"
#endif
+#include "content/public/browser/web_contents.h"
+
using gfx::RectToSkIRect;
using gfx::SkIRectToRect;
@@ -2321,6 +2323,12 @@ void RenderWidgetHostViewAura::OnUpdateTextInputStateCalled(
if (auto* render_widget_host =
RenderWidgetHostImpl::From(updated_view->GetRenderWidgetHost())) {
+ LOG(ERROR) << "OnUpdateTextInputStateCalled(): RequestCompositionUpdates("
+ << (state && (state->type != ui::TEXT_INPUT_TYPE_NONE))
+ << ", \""
+ << WebContents::FromRenderViewHost(RenderViewHost::From(render_widget_host))->GetLastCommittedURL().spec()
+ << "\")";
+
// Monitor the composition information if there is a focused editable node.
render_widget_host->RequestCompositionUpdates(
false /* immediate_request */,
« no previous file with comments | « no previous file | content/browser/renderer_host/render_widget_host_view_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698