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

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: Fix trybots 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/shell_delegate.h
diff --git a/ash/common/shell_delegate.h b/ash/common/shell_delegate.h
index a4c32c446981067880c599b875f11118e6310c24..8441877d231a278cc3b73b4664e31f14ac2bdb8e 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.
Daniel Erat 2016/08/05 15:48:52 nit: remove comment; both what's returned and the
jdufault 2016/08/05 19:03:37 Done.
+ virtual std::unique_ptr<PaletteDelegate> CreatePaletteDelegate() = 0;
+
virtual std::unique_ptr<PointerWatcherDelegate>
CreatePointerWatcherDelegate() = 0;

Powered by Google App Engine
This is Rietveld 408576698