| OLD | NEW |
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 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_BROWSER_CHROME_NOTIFICATION_TYPES_H_ | 5 #ifndef CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ |
| 6 #define CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ | 6 #define CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ |
| 7 | 7 |
| 8 #include "build/build_config.h" | 8 #include "build/build_config.h" |
| 9 #include "content/public/browser/notification_types.h" | 9 #include "content/public/browser/notification_types.h" |
| 10 | 10 |
| (...skipping 652 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 663 // Software incompatibility notifications ---------------------------------- | 663 // Software incompatibility notifications ---------------------------------- |
| 664 | 664 |
| 665 // Sent when Chrome has finished compiling the list of loaded modules (and | 665 // Sent when Chrome has finished compiling the list of loaded modules (and |
| 666 // other modules of interest). No details are expected. | 666 // other modules of interest). No details are expected. |
| 667 NOTIFICATION_MODULE_LIST_ENUMERATED, | 667 NOTIFICATION_MODULE_LIST_ENUMERATED, |
| 668 | 668 |
| 669 // Sent when Chrome is done scanning the module list and when the user has | 669 // Sent when Chrome is done scanning the module list and when the user has |
| 670 // acknowledged the module incompatibility. No details are expected. | 670 // acknowledged the module incompatibility. No details are expected. |
| 671 NOTIFICATION_MODULE_INCOMPATIBILITY_BADGE_CHANGE, | 671 NOTIFICATION_MODULE_INCOMPATIBILITY_BADGE_CHANGE, |
| 672 | 672 |
| 673 // Accessibility Notifications --------------------------------------------- | |
| 674 | |
| 675 // Notification that a window in the browser UI (not the web content) | |
| 676 // was opened, for propagating to an accessibility extension. | |
| 677 // Details will be an AccessibilityWindowInfo. | |
| 678 NOTIFICATION_ACCESSIBILITY_WINDOW_OPENED, | |
| 679 | |
| 680 // Notification that a window in the browser UI was closed. | |
| 681 // Details will be an AccessibilityWindowInfo. | |
| 682 NOTIFICATION_ACCESSIBILITY_WINDOW_CLOSED, | |
| 683 | |
| 684 // Notification that a control in the browser UI was focused. | |
| 685 // Details will be an AccessibilityControlInfo. | |
| 686 NOTIFICATION_ACCESSIBILITY_CONTROL_FOCUSED, | |
| 687 | |
| 688 // Notification that a control in the browser UI had its action taken, | |
| 689 // like pressing a button or toggling a checkbox. | |
| 690 // Details will be an AccessibilityControlInfo. | |
| 691 NOTIFICATION_ACCESSIBILITY_CONTROL_ACTION, | |
| 692 | |
| 693 // Notification that text box in the browser UI had text change. | |
| 694 // Details will be an AccessibilityControlInfo. | |
| 695 NOTIFICATION_ACCESSIBILITY_TEXT_CHANGED, | |
| 696 | |
| 697 // Notification that a pop-down menu was opened, for propagating | |
| 698 // to an accessibility extension. | |
| 699 // Details will be an AccessibilityMenuInfo. | |
| 700 NOTIFICATION_ACCESSIBILITY_MENU_OPENED, | |
| 701 | |
| 702 // Notification that a pop-down menu was closed, for propagating | |
| 703 // to an accessibility extension. | |
| 704 // Details will be an AccessibilityMenuInfo. | |
| 705 NOTIFICATION_ACCESSIBILITY_MENU_CLOSED, | |
| 706 | |
| 707 // Content Settings -------------------------------------------------------- | 673 // Content Settings -------------------------------------------------------- |
| 708 | 674 |
| 709 // Sent when content settings change. The source is a HostContentSettings | 675 // Sent when content settings change. The source is a HostContentSettings |
| 710 // object, the details are ContentSettingsNotificationsDetails. | 676 // object, the details are ContentSettingsNotificationsDetails. |
| 711 NOTIFICATION_CONTENT_SETTINGS_CHANGED, | 677 NOTIFICATION_CONTENT_SETTINGS_CHANGED, |
| 712 | 678 |
| 713 // Sent when the collect cookies dialog is shown. The source is a | 679 // Sent when the collect cookies dialog is shown. The source is a |
| 714 // TabSpecificContentSettings object, there are no details. | 680 // TabSpecificContentSettings object, there are no details. |
| 715 NOTIFICATION_COLLECTED_COOKIES_SHOWN, | 681 NOTIFICATION_COLLECTED_COOKIES_SHOWN, |
| 716 | 682 |
| (...skipping 412 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1129 // Note:- | 1095 // Note:- |
| 1130 // Currently only Content and Chrome define and use notifications. | 1096 // Currently only Content and Chrome define and use notifications. |
| 1131 // Custom notifications not belonging to Content and Chrome should start | 1097 // Custom notifications not belonging to Content and Chrome should start |
| 1132 // from here. | 1098 // from here. |
| 1133 NOTIFICATION_CHROME_END, | 1099 NOTIFICATION_CHROME_END, |
| 1134 }; | 1100 }; |
| 1135 | 1101 |
| 1136 } // namespace chrome | 1102 } // namespace chrome |
| 1137 | 1103 |
| 1138 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ | 1104 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ |
| OLD | NEW |