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

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: fix ash_shell_with_content 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
Index: ash/shell.h
diff --git a/ash/shell.h b/ash/shell.h
index ad61d18ff6446e19a824f65b601e4e06173dbe05..837feee6be6608cab3eea6e26c86819855b2d5ff 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;
@@ -118,6 +119,7 @@ class NewWindowDelegate;
class OverlayEventFilter;
class PartialMagnificationController;
class PartialScreenshotController;
+class PointerWatcherDelegate;
class PowerButtonController;
class PowerEventObserver;
class ProjectingObserver;
@@ -336,6 +338,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
@@ -670,6 +675,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_;

Powered by Google App Engine
This is Rietveld 408576698