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

Unified Diff: ash/shell.h

Issue 1921673005: mus: Add PointerWatcher for passively observing mouse and touch events (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 8 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 | « ash/pointer_watcher_delegate_aura.cc ('k') | ash/shell.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shell.h
diff --git a/ash/shell.h b/ash/shell.h
index a945844c2eb136ce932aab95f77266e02098d15c..ec2e2c1ba99194ee013ea53b55a9d37a4b4796ad 100644
--- a/ash/shell.h
+++ b/ash/shell.h
@@ -64,6 +64,7 @@ class UserActivityPowerManagerNotifier;
}
namespace views {
class NonClientFrameView;
+class PointerWatcher;
class Widget;
namespace corewm {
class TooltipController;
@@ -119,6 +120,7 @@ class NewWindowDelegate;
class OverlayEventFilter;
class PartialMagnificationController;
class PartialScreenshotController;
+class PointerWatcherDelegate;
class PowerButtonController;
class PowerEventObserver;
class ProjectingObserver;
@@ -337,6 +339,9 @@ class ASH_EXPORT Shell : public SystemModalContainerEventFilterDelegate,
void AddShellObserver(ShellObserver* observer);
void RemoveShellObserver(ShellObserver* observer);
+ void AddPointerWatcher(views::PointerWatcher* watcher);
+ void RemovePointerWatcher(views::PointerWatcher* watcher);
+
#if defined(OS_CHROMEOS)
// Test if MaximizeModeWindowManager is not enabled, and if
// MaximizeModeController is not currently setting a display rotation. Or if
@@ -679,6 +684,7 @@ class ASH_EXPORT Shell : public SystemModalContainerEventFilterDelegate,
std::unique_ptr<AccessibilityDelegate> accessibility_delegate_;
std::unique_ptr<NewWindowDelegate> new_window_delegate_;
std::unique_ptr<MediaDelegate> media_delegate_;
+ std::unique_ptr<PointerWatcherDelegate> pointer_watcher_delegate_;
std::unique_ptr<ShelfDelegate> shelf_delegate_;
std::unique_ptr<ShelfItemDelegateManager> shelf_item_delegate_manager_;
std::unique_ptr<ShelfWindowWatcher> shelf_window_watcher_;
« no previous file with comments | « ash/pointer_watcher_delegate_aura.cc ('k') | ash/shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698