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

Unified Diff: ash/common/palette_delegate.h

Issue 2644713002: cros: Use runtime stylus detection for ash palette. (Closed)
Patch Set: Fix test Created 3 years, 10 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
« no previous file with comments | « ash/common/ash_switches.cc ('k') | ash/common/system/chromeos/palette/palette_tray.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/palette_delegate.h
diff --git a/ash/common/palette_delegate.h b/ash/common/palette_delegate.h
index c0dbbc263c4f31b3b7b63fe00b994a279c6f4771..9ebfe2422516eb6b1f93abf251c3f954dfd9ef96 100644
--- a/ash/common/palette_delegate.h
+++ b/ash/common/palette_delegate.h
@@ -20,7 +20,6 @@ class PaletteDelegate {
using EnableListener = base::Callback<void(bool)>;
using EnableListenerSubscription =
base::CallbackList<void(bool)>::Subscription;
- using OnStylusStateChangedCallback = base::Callback<void(ui::StylusState)>;
virtual ~PaletteDelegate() {}
@@ -36,10 +35,6 @@ class PaletteDelegate {
// Returns true if there is a note-taking application available.
virtual bool HasNoteApp() = 0;
- // Set callback that is run when a stylus is inserted or removed.
- virtual void SetStylusStateChangedCallback(
- const OnStylusStateChangedCallback& on_stylus_state_changed) = 0;
-
// Returns true if the palette should be automatically opened on an eject
// event.
virtual bool ShouldAutoOpenPalette() = 0;
« no previous file with comments | « ash/common/ash_switches.cc ('k') | ash/common/system/chromeos/palette/palette_tray.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698