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

Unified Diff: ash/common/palette_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
Index: ash/common/palette_delegate.h
diff --git a/ash/common/palette_delegate.h b/ash/common/palette_delegate.h
new file mode 100644
index 0000000000000000000000000000000000000000..acde66cd60ecadd4bbb4fde8290a4f6e58fb4433
--- /dev/null
+++ b/ash/common/palette_delegate.h
@@ -0,0 +1,25 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef ASH_COMMON_PALETTE_DELEGATE_H_
+#define ASH_COMMON_PALETTE_DELEGATE_H_
+
+#include "ash/ash_export.h"
+#include "base/macros.h"
+
+namespace ash {
+
+// This delegate allows the UI code in ash, e.g. |PaletteTray|, to perform
+// Chrome-specific actions.
+class PaletteDelegate {
+ public:
+ virtual ~PaletteDelegate() {}
+
+ private:
+ DISALLOW_ASSIGN(PaletteDelegate);
+};
+
+} // namespace ash
+
+#endif // ASH_COMMON_PALETTE_DELEGATE_H_
« no previous file with comments | « ash/ash.gyp ('k') | ash/common/shell_delegate.h » ('j') | ash/common/shell_delegate.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698