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

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

Issue 601333002: ESC accelerator and consistent overview mode for Athena homecard (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge with refactoring CL 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
Index: athena/input/public/accelerator_manager.h
diff --git a/athena/input/public/accelerator_manager.h b/athena/input/public/accelerator_manager.h
index b572c50f753d501de7765fa0c0786b3b9cc74296..d169a3c5fd32687db0f6d76d31a185e662a9c51b 100644
--- a/athena/input/public/accelerator_manager.h
+++ b/athena/input/public/accelerator_manager.h
@@ -82,6 +82,11 @@ class ATHENA_EXPORT AcceleratorManager {
size_t num_accelerators,
AcceleratorHandler* handler) = 0;
+ virtual void RegisterAccelerator(const AcceleratorData& accelerator_data,
+ AcceleratorHandler* handler) = 0;
+ virtual void UnregisterAccelerator(const AcceleratorData& accelerator_data,
+ AcceleratorHandler* handler) = 0;
+
// Enables/Disables accelerators that has a AF_DEBUG flag.
virtual void SetDebugAcceleratorsEnabled(bool enabled) = 0;
};

Powered by Google App Engine
This is Rietveld 408576698