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

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: Rebase on master 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 2c0d241ffacd39b093f70446b09ae7c83301dccb..260510bc1a7fb78dd191c06933720bd5db1f6d8f 100644
--- a/ash/common/palette_delegate.h
+++ b/ash/common/palette_delegate.h
@@ -25,6 +25,10 @@ class PaletteDelegate {
// Enables or disables the partial magnifier.
virtual void SetPartialMagnifierState(bool enabled) = 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