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

Unified Diff: ash/common/palette_delegate.h

Issue 2234203002: Auto open and close the palette on an eject event. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@tool-note
Patch Set: Initial upload 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/palette_delegate.h
diff --git a/ash/common/palette_delegate.h b/ash/common/palette_delegate.h
index 6c5c9ba1e0bdd6bb77432177b5d3d600d33a76ea..8cbd492eb80e42b93eab48fd0619a7312433b632 100644
--- a/ash/common/palette_delegate.h
+++ b/ash/common/palette_delegate.h
@@ -22,6 +22,10 @@ class PaletteDelegate {
// Returns true if there is a note-taking application available.
virtual bool HasNoteApp() = 0;
+ // Returns true if the palette should be automatically opened on an eject
+ // event.
+ virtual bool ShouldAutoOpenPalette() = 0;
+
// Take a screenshot of the entire window.
virtual void TakeScreenshot() = 0;

Powered by Google App Engine
This is Rietveld 408576698