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