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

Side by Side Diff: chrome/common/chrome_notification_types.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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/chrome_browser.gypi ('k') | chrome/common/extensions/api/extension_api.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ 5 #ifndef CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_
6 #define CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ 6 #define CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_
7 #pragma once 7 #pragma once
8 8
9 #include "content/public/browser/notification_types.h" 9 #include "content/public/browser/notification_types.h"
10 10
(...skipping 640 matching lines...) Expand 10 before | Expand all | Expand 10 after
651 // Notification that a pop-down menu was closed, for propagating 651 // Notification that a pop-down menu was closed, for propagating
652 // to an accessibility extension. 652 // to an accessibility extension.
653 // Details will be an AccessibilityMenuInfo. 653 // Details will be an AccessibilityMenuInfo.
654 NOTIFICATION_ACCESSIBILITY_MENU_CLOSED, 654 NOTIFICATION_ACCESSIBILITY_MENU_CLOSED,
655 655
656 // Notification that the volume was changed, for propagating 656 // Notification that the volume was changed, for propagating
657 // to an accessibility extension. 657 // to an accessibility extension.
658 // Details will be an AccessibilityVolumeInfo. 658 // Details will be an AccessibilityVolumeInfo.
659 NOTIFICATION_ACCESSIBILITY_VOLUME_CHANGED, 659 NOTIFICATION_ACCESSIBILITY_VOLUME_CHANGED,
660 660
661 // Notification that the screen is unlocked, for propagating to an
662 // accessibility extension.
663 // Details will be an AccessibilityEmptyEventInfo.
664 NOTIFICATION_ACCESSIBILITY_SCREEN_UNLOCKED,
665
666 // Notification that the system woke up from sleep, for propagating to an
667 // accessibility extension.
668 // Details will be an AccessibilityEmptyEventInfo.
669 NOTIFICATION_ACCESSIBILITY_WOKE_UP,
670
661 // Content Settings -------------------------------------------------------- 671 // Content Settings --------------------------------------------------------
662 672
663 // Sent when content settings change. The source is a HostContentSettings 673 // Sent when content settings change. The source is a HostContentSettings
664 // object, the details are ContentSettingsNotificationsDetails. 674 // object, the details are ContentSettingsNotificationsDetails.
665 NOTIFICATION_CONTENT_SETTINGS_CHANGED, 675 NOTIFICATION_CONTENT_SETTINGS_CHANGED,
666 676
667 // Sent when the collect cookies dialog is shown. The source is a 677 // Sent when the collect cookies dialog is shown. The source is a
668 // TabSpecificContentSettings object, there are no details. 678 // TabSpecificContentSettings object, there are no details.
669 NOTIFICATION_COLLECTED_COOKIES_SHOWN, 679 NOTIFICATION_COLLECTED_COOKIES_SHOWN,
670 680
(...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after
972 // Currently only Content and Chrome define and use notifications. 982 // Currently only Content and Chrome define and use notifications.
973 // Custom notifications not belonging to Content and Chrome should start 983 // Custom notifications not belonging to Content and Chrome should start
974 // from here. 984 // from here.
975 NOTIFICATION_CHROME_END, 985 NOTIFICATION_CHROME_END,
976 }; 986 };
977 987
978 } // namespace chrome 988 } // namespace chrome
979 989
980 990
981 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ 991 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_
OLDNEW
« no previous file with comments | « chrome/chrome_browser.gypi ('k') | chrome/common/extensions/api/extension_api.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698