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

Side by Side Diff: components/exo/wm_helper_mus.h

Issue 2407303003: exo: Use WMHelper to access ash accessibility related features. (Closed)
Patch Set: Fix compile errors. Created 4 years, 2 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef COMPONENTS_EXO_WM_HELPER_MUS_H_ 5 #ifndef COMPONENTS_EXO_WM_HELPER_MUS_H_
6 #define COMPONENTS_EXO_WM_HELPER_MUS_H_ 6 #define COMPONENTS_EXO_WM_HELPER_MUS_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "components/exo/wm_helper.h" 9 #include "components/exo/wm_helper.h"
10 #include "services/ui/public/cpp/window_tree_client_observer.h" 10 #include "services/ui/public/cpp/window_tree_client_observer.h"
(...skipping 15 matching lines...) Expand all
26 aura::Window* GetContainer(int container_id) override; 26 aura::Window* GetContainer(int container_id) override;
27 aura::Window* GetActiveWindow() const override; 27 aura::Window* GetActiveWindow() const override;
28 aura::Window* GetFocusedWindow() const override; 28 aura::Window* GetFocusedWindow() const override;
29 ui::CursorSetType GetCursorSet() const override; 29 ui::CursorSetType GetCursorSet() const override;
30 void AddPreTargetHandler(ui::EventHandler* handler) override; 30 void AddPreTargetHandler(ui::EventHandler* handler) override;
31 void PrependPreTargetHandler(ui::EventHandler* handler) override; 31 void PrependPreTargetHandler(ui::EventHandler* handler) override;
32 void RemovePreTargetHandler(ui::EventHandler* handler) override; 32 void RemovePreTargetHandler(ui::EventHandler* handler) override;
33 void AddPostTargetHandler(ui::EventHandler* handler) override; 33 void AddPostTargetHandler(ui::EventHandler* handler) override;
34 void RemovePostTargetHandler(ui::EventHandler* handler) override; 34 void RemovePostTargetHandler(ui::EventHandler* handler) override;
35 bool IsMaximizeModeWindowManagerEnabled() const override; 35 bool IsMaximizeModeWindowManagerEnabled() const override;
36 bool IsSpokenFeedbackEnabled() const override;
37 void PlayEarcon(int sound_key) const override;
36 38
37 // Overriden from ui::WindowTreeClientObserver: 39 // Overriden from ui::WindowTreeClientObserver:
38 void OnWindowTreeFocusChanged(ui::Window* gained_focus, 40 void OnWindowTreeFocusChanged(ui::Window* gained_focus,
39 ui::Window* lost_focus) override; 41 ui::Window* lost_focus) override;
40 42
41 // Overriden from ui::client::FocusChangeObserver: 43 // Overriden from ui::client::FocusChangeObserver:
42 void OnWindowFocused(aura::Window* gained_focus, 44 void OnWindowFocused(aura::Window* gained_focus,
43 aura::Window* lost_focus) override; 45 aura::Window* lost_focus) override;
44 46
45 private: 47 private:
46 aura::Window* active_window_; 48 aura::Window* active_window_;
47 aura::Window* focused_window_; 49 aura::Window* focused_window_;
48 50
49 DISALLOW_COPY_AND_ASSIGN(WMHelperMus); 51 DISALLOW_COPY_AND_ASSIGN(WMHelperMus);
50 }; 52 };
51 53
52 } // namespace exo 54 } // namespace exo
53 55
54 #endif // COMPONENTS_EXO_WM_HELPER_H_ 56 #endif // COMPONENTS_EXO_WM_HELPER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698