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

Unified Diff: components/arc/ime/arc_ime_service.h

Issue 2179903002: ARC: Avoid duplicate observers in IME service (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « no previous file | components/arc/ime/arc_ime_service.cc » ('j') | components/arc/ime/arc_ime_service.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/arc/ime/arc_ime_service.h
diff --git a/components/arc/ime/arc_ime_service.h b/components/arc/ime/arc_ime_service.h
index b29548c1dfa7109dd90a57c494a828af9564a77a..52387b91bc1fbd4517f11f72f5836871b9f127f5 100644
--- a/components/arc/ime/arc_ime_service.h
+++ b/components/arc/ime/arc_ime_service.h
@@ -22,6 +22,10 @@
#include "ui/keyboard/keyboard_controller_observer.h"
namespace aura {
+namespace client {
+class FocusClient;
+}
+
class Window;
}
@@ -114,10 +118,10 @@ class ArcImeService : public ArcService,
gfx::Rect cursor_rect_;
bool has_composition_text_;
- aura::WindowTracker observing_root_windows_;
aura::WindowTracker arc_windows_;
aura::WindowTracker focused_arc_window_;
+ aura::client::FocusClient* focus_client_;
keyboard::KeyboardController* keyboard_controller_;
ui::InputMethod* test_input_method_;
« no previous file with comments | « no previous file | components/arc/ime/arc_ime_service.cc » ('j') | components/arc/ime/arc_ime_service.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698