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

Unified Diff: ash/common/palette_delegate.h

Issue 2644713002: cros: Use runtime stylus detection for ash palette. (Closed)
Patch Set: Initial upload Created 3 years, 11 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 3d6ad62339313af9e509c6de074626b989799e53..79c22da41b69962ccb7ded69087dab3a88ef77fc 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() {}
@@ -41,10 +40,6 @@ class PaletteDelegate {
// See http://crbug.com/647031.
virtual void SetPartialMagnifierState(bool enabled) = 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 | « no previous file | ash/common/system/chromeos/palette/palette_tray.h » ('j') | ash/common/system/chromeos/palette/palette_tray.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698