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

Unified Diff: chrome/browser/accessibility_events.h

Issue 8558014: Add experimental extension APIs to notify about wakeup and screen unlock (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased to ToT Created 9 years, 1 month 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 | « no previous file | chrome/browser/accessibility_events.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/accessibility_events.h
diff --git a/chrome/browser/accessibility_events.h b/chrome/browser/accessibility_events.h
index 0b94f28bb67deab304bbfb8c09a4ce20c8f706a0..fcf54a94f4b5f09d0ba1ae2d401c3ffc474ce1aa 100644
--- a/chrome/browser/accessibility_events.h
+++ b/chrome/browser/accessibility_events.h
@@ -285,6 +285,20 @@ class AccessibilityVolumeInfo : public AccessibilityEventInfo {
bool is_muted_;
};
+// Screen unlock event information; this class is used by onScreenUnlocked.
+class ScreenUnlockedEventInfo : public AccessibilityEventInfo {
+ public:
+ ScreenUnlockedEventInfo(Profile* profile);
+ virtual void SerializeToDict(base::DictionaryValue* dict) const OVERRIDE;
+};
+
+// Wake up event information; this class is used by onWokeUp.
+class WokeUpEventInfo : public AccessibilityEventInfo {
+ public:
+ WokeUpEventInfo(Profile* profile);
+ virtual void SerializeToDict(base::DictionaryValue* dict) const OVERRIDE;
+};
+
// Accessibility information about a menu item; this class is used by
// onControlFocused event listeners.
class AccessibilityMenuItemInfo : public AccessibilityControlInfo {
« no previous file with comments | « no previous file | chrome/browser/accessibility_events.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698