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

Unified Diff: ash/common/palette_delegate.h

Issue 2276233002: ash/chromeos: Add shift-alt-p shortcut to open palette. (Closed)
Patch Set: Address comments 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
« no previous file with comments | « ash/common/accelerators/accelerator_table.cc ('k') | ash/common/system/chromeos/palette/palette_tray.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/palette_delegate.h
diff --git a/ash/common/palette_delegate.h b/ash/common/palette_delegate.h
index 6daf59e8e4ea2c16a88a8a8a3774f1647f335098..c84bc00cb1226828694968214e63020337d39121 100644
--- a/ash/common/palette_delegate.h
+++ b/ash/common/palette_delegate.h
@@ -47,6 +47,10 @@ class PaletteDelegate {
// event.
virtual bool ShouldAutoOpenPalette() = 0;
+ // Returns true if the palette should be displayed. This is the one-shot
+ // equivalent to AddPaletteEnableListener.
+ virtual bool ShouldShowPalette() = 0;
+
// Take a screenshot of the entire window.
virtual void TakeScreenshot() = 0;
« no previous file with comments | « ash/common/accelerators/accelerator_table.cc ('k') | ash/common/system/chromeos/palette/palette_tray.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698