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

Unified Diff: components/exo/keyboard.h

Issue 2242283002: Add an adapter layer (WMHelper) between exo and ash. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update Created 4 years, 4 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: components/exo/keyboard.h
diff --git a/components/exo/keyboard.h b/components/exo/keyboard.h
index 7bed17dbd1e120fcd045caadfc90ea78b02f6e1f..dd54a82cec4af45ac5acca31659867da76afc0f9 100644
--- a/components/exo/keyboard.h
+++ b/components/exo/keyboard.h
@@ -9,6 +9,7 @@
#include "base/macros.h"
#include "components/exo/surface_observer.h"
+#include "components/exo/wm_helper.h"
#include "ui/aura/client/focus_change_observer.h"
#include "ui/events/event_handler.h"
@@ -25,7 +26,7 @@ class Surface;
// This class implements a client keyboard that represents one or more keyboard
// devices.
class Keyboard : public ui::EventHandler,
- public aura::client::FocusChangeObserver,
+ public WMHelper::FocusObserver,
public SurfaceObserver {
public:
explicit Keyboard(KeyboardDelegate* delegate);
@@ -34,7 +35,7 @@ class Keyboard : public ui::EventHandler,
// Overridden from ui::EventHandler:
void OnKeyEvent(ui::KeyEvent* event) override;
- // Overridden aura::client::FocusChangeObserver:
+ // Overridden WMHelper::FocusObserver:
void OnWindowFocused(aura::Window* gained_focus,
aura::Window* lost_focus) override;

Powered by Google App Engine
This is Rietveld 408576698