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

Unified Diff: ash/shell_delegate.h

Issue 1914793002: WIP: PointerWatcher for systray bubble (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@eventobserver
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/shell.cc ('k') | ash/system/chromeos/session/logout_button_tray.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shell_delegate.h
diff --git a/ash/shell_delegate.h b/ash/shell_delegate.h
index e3c6f5f98e6d5bfc1154370c350aaabd5e53a0cc..b89a408fb59e3f69af5cbbcf14cbe2b669c4b3b9 100644
--- a/ash/shell_delegate.h
+++ b/ash/shell_delegate.h
@@ -40,6 +40,7 @@ namespace ash {
class AccessibilityDelegate;
class MediaDelegate;
class NewWindowDelegate;
+class PointerWatcherDelegate;
class SessionStateDelegate;
class ShelfDelegate;
class ShelfModel;
@@ -138,6 +139,9 @@ class ASH_EXPORT ShellDelegate {
// Creates a media delegate. Shell takes ownership of the delegate.
virtual MediaDelegate* CreateMediaDelegate() = 0;
+ // Shell takes ownership of the delegate.
+ virtual PointerWatcherDelegate* CreatePointerWatcherDelegate() = 0;
+
// Creates a menu model for the |shelf| and optional shelf |item|.
// If |item| is null, this creates a context menu for the desktop or shelf.
virtual ui::MenuModel* CreateContextMenu(ash::Shelf* shelf,
« no previous file with comments | « ash/shell.cc ('k') | ash/system/chromeos/session/logout_button_tray.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698