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

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: Make PaletteDelegate pure virtual once more 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..c9ea9d68fde8bf6d86fdb76da71746a10b54ddc1 100644
--- a/ash/common/test/test_palette_delegate.cc
+++ b/ash/common/test/test_palette_delegate.cc
@@ -23,6 +23,14 @@ void TestPaletteDelegate::SetPartialMagnifierState(bool enabled) {
partial_magnifier_state_ = enabled;
}
+void TestPaletteDelegate::SetStylusStateChangedCallback(
+ const PaletteDelegate::OnStylusStateChangedCallback&
+ on_stylus_state_changed) {}
+
+bool TestPaletteDelegate::ShouldAutoOpenPalette() {
+ return should_auto_open_palette_;
+}
+
void TestPaletteDelegate::TakeScreenshot() {
++take_screenshot_count_;
}

Powered by Google App Engine
This is Rietveld 408576698