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

Unified Diff: components/exo/wm_helper_mus.h

Issue 2506263002: exo: Implement support for zcr_keyboard_configuration_v1 protocol. (Closed)
Patch Set: add one more TODO Created 4 years 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 | « components/exo/wm_helper_ash.cc ('k') | components/exo/wm_helper_mus.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/exo/wm_helper_mus.h
diff --git a/components/exo/wm_helper_mus.h b/components/exo/wm_helper_mus.h
index 8ae5d3ab4ed6ad041d22d077e679983932dcf7a9..13751b23fa07addc178a48414c893053ed4b80b7 100644
--- a/components/exo/wm_helper_mus.h
+++ b/components/exo/wm_helper_mus.h
@@ -9,11 +9,13 @@
#include "components/exo/wm_helper.h"
#include "services/ui/public/cpp/window_tree_client_observer.h"
#include "ui/aura/client/focus_change_observer.h"
+#include "ui/events/devices/input_device_event_observer.h"
namespace exo {
// A helper class for accessing WindowManager related features.
class WMHelperMus : public WMHelper,
+ public ui::InputDeviceEventObserver,
public ui::WindowTreeClientObserver,
public aura::client::FocusChangeObserver {
public:
@@ -44,6 +46,9 @@ class WMHelperMus : public WMHelper,
void OnWindowFocused(aura::Window* gained_focus,
aura::Window* lost_focus) override;
+ // Overriden from ui::InputDeviceEventObserver:
+ void OnKeyboardDeviceConfigurationChanged() override;
+
private:
aura::Window* active_window_;
aura::Window* focused_window_;
« no previous file with comments | « components/exo/wm_helper_ash.cc ('k') | components/exo/wm_helper_mus.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698