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

Unified Diff: ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc

Issue 1566083002: Makes sure the keyboard typing isn't blocked when InputMethod::OnFocus() is not correctly called. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
Index: ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc
diff --git a/ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc b/ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc
index b42c5588f690932ca73ff3b5cbcfebe98703c4da..fbf6f22de0296d90dc9ef1e1b67a63783d47832d 100644
--- a/ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc
+++ b/ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc
@@ -914,6 +914,18 @@ void DesktopWindowTreeHostWin::HandleWindowSizeChanged() {
compositor()->size());
}
+void DesktopWindowTreeHostWin::AddStringLog(const char* log_string) {
+ GetInputMethod()->GetLogCollector()->AddString(log_string);
+}
+
+void DesktopWindowTreeHostWin::AddBooleanLog(bool bool_val) {
+ GetInputMethod()->GetLogCollector()->AddBoolean(bool_val);
+}
+
+void DesktopWindowTreeHostWin::AddNumberLog(int num_val) {
+ GetInputMethod()->GetLogCollector()->AddNumber(num_val);
+}
+
////////////////////////////////////////////////////////////////////////////////
// DesktopWindowTreeHostWin, private:

Powered by Google App Engine
This is Rietveld 408576698