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

Unified Diff: ash/common/wm_shell.h

Issue 2231533004: Pointer watcher modifications to support laser pointer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: 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: ash/common/wm_shell.h
diff --git a/ash/common/wm_shell.h b/ash/common/wm_shell.h
index 02dbdfc40f7cc721b0dda0a0b84076c578c4344f..247b04dad39009c0c005a294d745e95378066551 100644
--- a/ash/common/wm_shell.h
+++ b/ash/common/wm_shell.h
@@ -27,6 +27,10 @@ class Insets;
class Point;
}
+namespace wm {
+class CursorManager;
+}
+
namespace views {
class PointerWatcher;
}
@@ -100,6 +104,10 @@ class ASH_EXPORT WmShell {
return brightness_control_delegate_.get();
}
+ ::wm::CursorManager* cursor_manager() {
+ return cursor_manager_.get();
+ }
+
FocusCycler* focus_cycler() { return focus_cycler_.get(); }
KeyboardBrightnessControlDelegate* keyboard_brightness_control_delegate() {
@@ -356,6 +364,9 @@ class ASH_EXPORT WmShell {
void SetAcceleratorController(
std::unique_ptr<AcceleratorController> accelerator_controller);
+ void SetCursorManager(
+ std::unique_ptr<::wm::CursorManager> cursor_manager);
+
private:
friend class AcceleratorControllerTest;
friend class ScopedRootWindowForNewWindows;
@@ -369,6 +380,7 @@ class ASH_EXPORT WmShell {
std::unique_ptr<AcceleratorController> accelerator_controller_;
std::unique_ptr<AccessibilityDelegate> accessibility_delegate_;
std::unique_ptr<BrightnessControlDelegate> brightness_control_delegate_;
+ std::unique_ptr<::wm::CursorManager> cursor_manager_;
std::unique_ptr<FocusCycler> focus_cycler_;
std::unique_ptr<KeyboardBrightnessControlDelegate>
keyboard_brightness_control_delegate_;

Powered by Google App Engine
This is Rietveld 408576698