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

Unified Diff: content/renderer/render_widget.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 | « content/browser/renderer_host/render_widget_host_view_mac.mm ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_widget.cc
diff --git a/content/renderer/render_widget.cc b/content/renderer/render_widget.cc
index 7706d466cf853b7b650d6d1e8a7854f8cfe8fe16..1394f150be514605151c929b1581e439b2c44b30 100644
--- a/content/renderer/render_widget.cc
+++ b/content/renderer/render_widget.cc
@@ -1842,6 +1842,11 @@ ui::TextInputType RenderWidget::GetTextInputType() {
}
void RenderWidget::UpdateCompositionInfo(bool immediate_request) {
+ LOG(ERROR) << "UpdateCompositionInfo(): monitor="
+ << monitor_composition_info_
+ << ", perform="
+ << (monitor_composition_info_ || immediate_request);
+
if (!monitor_composition_info_ && !immediate_request)
return; // Do not calculate composition info if not requested.
@@ -1900,6 +1905,11 @@ void RenderWidget::OnRequestTextInputStateUpdate() {
void RenderWidget::OnRequestCompositionUpdates(bool immediate_request,
bool monitor_updates) {
+ LOG(ERROR) << "OnRequestCompositionUpdates(): monitor: "
+ << monitor_composition_info_
+ << " -> "
+ << monitor_updates;
+
monitor_composition_info_ = monitor_updates;
if (!immediate_request)
return;
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_mac.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698