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

Unified Diff: ash/common/shell_delegate.h

Issue 2199993002: Add generic PaletteDelegate code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@note-options
Patch Set: Created 4 years, 5 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/common/palette_delegate.h ('k') | ash/common/wm_shell.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/shell_delegate.h
diff --git a/ash/common/shell_delegate.h b/ash/common/shell_delegate.h
index 11ffaf3c826b439043092a72b6d920c28033c104..30213734eef2749e6411c80c32744627708f8ad6 100644
--- a/ash/common/shell_delegate.h
+++ b/ash/common/shell_delegate.h
@@ -41,6 +41,7 @@ class AccessibilityDelegate;
class GPUSupport;
class MediaDelegate;
class NewWindowDelegate;
+class PaletteDelegate;
class PointerWatcherDelegate;
class SessionStateDelegate;
class ShelfDelegate;
@@ -123,6 +124,9 @@ class ASH_EXPORT ShellDelegate {
// Creates a media delegate. Shell takes ownership of the delegate.
virtual MediaDelegate* CreateMediaDelegate() = 0;
+ // Creates a palette delegate. Shell takes ownership of the delegate.
+ virtual PaletteDelegate* CreatePaletteDelegate() = 0;
Daniel Erat 2016/08/02 21:35:01 how about returning std::unique_ptr<PaletteDelegat
jdufault 2016/08/04 23:55:29 Done.
+
virtual std::unique_ptr<PointerWatcherDelegate>
CreatePointerWatcherDelegate() = 0;
« no previous file with comments | « ash/common/palette_delegate.h ('k') | ash/common/wm_shell.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698