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

Unified Diff: ash/shell/shell_delegate_impl.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/shell/shell_delegate_impl.cc
diff --git a/ash/shell/shell_delegate_impl.cc b/ash/shell/shell_delegate_impl.cc
index 3f63ee14d190394cf032038578258e7787810218..b394e0ee7a70d5f9527f4a2ddf499af9ce5af320 100644
--- a/ash/shell/shell_delegate_impl.cc
+++ b/ash/shell/shell_delegate_impl.cc
@@ -88,6 +88,9 @@ class PaletteDelegateImpl : public PaletteDelegate {
void CreateNote() override {}
bool HasNoteApp() override { return false; }
void SetPartialMagnifierState(bool enabled) override {}
+ void SetStylusStateChangedCallback(
+ const OnStylusStateChangedCallback& on_stylus_state_changed) override {}
+ bool ShouldAutoOpenPalette() override { return false; }
void TakeScreenshot() override {}
void TakePartialScreenshot() override {}

Powered by Google App Engine
This is Rietveld 408576698