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

Unified Diff: athena/input/public/input_manager.h

Issue 659923002: Revert of Intorduce PowerButtonObserver API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 | « athena/input/power_button_controller.cc ('k') | athena/system/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: athena/input/public/input_manager.h
diff --git a/athena/input/public/input_manager.h b/athena/input/public/input_manager.h
index 04682e84e9cd9306ad6a20e07737b4e17f144f3d..cc7017530f98ee41d6cf1ea00fedf1620d0f4619 100644
--- a/athena/input/public/input_manager.h
+++ b/athena/input/public/input_manager.h
@@ -18,17 +18,6 @@
namespace athena {
class AcceleratorManager;
-class PowerButtonObserver {
- public:
- enum State {
- PRESSED,
- LONG_PRESSED,
- RELEASED,
- };
-
- virtual void OnPowerButtonStateChanged(State state) = 0;
-};
-
class ATHENA_EXPORT InputManager {
public:
// Creates and deletes the singleton object of the InputManager
@@ -41,10 +30,6 @@
// with EnvObserver::WindowInitialized
virtual void OnRootWindowCreated(aura::Window* root_window) = 0;
- // Add/remove power button observer.
- virtual void AddPowerButtonObserver(PowerButtonObserver* observer) = 0;
- virtual void RemovePowerButtonObserver(PowerButtonObserver* observer) = 0;
-
virtual ui::EventTarget* GetTopmostEventTarget() = 0;
virtual AcceleratorManager* GetAcceleratorManager() = 0;
« no previous file with comments | « athena/input/power_button_controller.cc ('k') | athena/system/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698