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

Unified Diff: ash/common/test/test_palette_delegate.cc

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/test/test_palette_delegate.cc
diff --git a/ash/common/test/test_palette_delegate.cc b/ash/common/test/test_palette_delegate.cc
index 32e8a3e7b0991ee57a51c47cb24ae935eda6d86b..a9002677ed50c7ed3ab54b32298c242bdd2b9be1 100644
--- a/ash/common/test/test_palette_delegate.cc
+++ b/ash/common/test/test_palette_delegate.cc
@@ -23,6 +23,10 @@ void TestPaletteDelegate::SetPartialMagnifierState(bool enabled) {
partial_magnifier_state_ = enabled;
}
+bool TestPaletteDelegate::ShouldAutoOpenPalette() {
+ return should_auto_open_palette_;
+}
+
void TestPaletteDelegate::TakeScreenshot() {
++take_screenshot_count_;
}

Powered by Google App Engine
This is Rietveld 408576698