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 749 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
760 // screen is locked. When details is a false, the source object | 760 // screen is locked. When details is a false, the source object |
761 // is being deleted, so the receiver shouldn't use the screen locker | 761 // is being deleted, so the receiver shouldn't use the screen locker |
762 // object. | 762 // object. |
763 NOTIFICATION_SCREEN_LOCK_STATE_CHANGED, | 763 NOTIFICATION_SCREEN_LOCK_STATE_CHANGED, |
764 | 764 |
765 // Sent by DeviceSettingsService to indicate that the ownership status | 765 // Sent by DeviceSettingsService to indicate that the ownership status |
766 // changed. If you can, please use DeviceSettingsService::Observer instead. | 766 // changed. If you can, please use DeviceSettingsService::Observer instead. |
767 // Other singleton-based services can't use that because Observer | 767 // Other singleton-based services can't use that because Observer |
768 // unregistration is impossible due to unpredictable deletion order. | 768 // unregistration is impossible due to unpredictable deletion order. |
769 NOTIFICATION_OWNERSHIP_STATUS_CHANGED, | 769 NOTIFICATION_OWNERSHIP_STATUS_CHANGED, |
770 | |
771 // Sent by SIM unlock dialog when it has finished with the process of | |
772 // updating RequirePin setting. RequirePin setting might have been changed | |
773 // to a new value or update might have been canceled. | |
774 // In either case notification is sent and details contain a bool | |
775 // that represents current value. | |
776 NOTIFICATION_REQUIRE_PIN_SETTING_CHANGE_ENDED, | |
777 | |
778 // Sent by SIM unlock dialog when it has finished the EnterPin or | |
779 // EnterPuk dialog, either because the user cancelled, or entered a | |
780 // PIN or PUK. | |
781 NOTIFICATION_ENTER_PIN_ENDED, | |
782 #endif | 770 #endif |
783 | 771 |
784 #if defined(TOOLKIT_VIEWS) | 772 #if defined(TOOLKIT_VIEWS) |
785 // Sent when a bookmark's context menu is shown. Used to notify | 773 // Sent when a bookmark's context menu is shown. Used to notify |
786 // tests that the context menu has been created and shown. | 774 // tests that the context menu has been created and shown. |
787 NOTIFICATION_BOOKMARK_CONTEXT_MENU_SHOWN, | 775 NOTIFICATION_BOOKMARK_CONTEXT_MENU_SHOWN, |
788 | 776 |
789 // Notification that the nested loop using during tab dragging has returned. | 777 // Notification that the nested loop using during tab dragging has returned. |
790 // Used for testing. | 778 // Used for testing. |
791 NOTIFICATION_TAB_DRAG_LOOP_DONE, | 779 NOTIFICATION_TAB_DRAG_LOOP_DONE, |
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
920 // Note:- | 908 // Note:- |
921 // Currently only Content and Chrome define and use notifications. | 909 // Currently only Content and Chrome define and use notifications. |
922 // Custom notifications not belonging to Content and Chrome should start | 910 // Custom notifications not belonging to Content and Chrome should start |
923 // from here. | 911 // from here. |
924 NOTIFICATION_CHROME_END, | 912 NOTIFICATION_CHROME_END, |
925 }; | 913 }; |
926 | 914 |
927 } // namespace chrome | 915 } // namespace chrome |
928 | 916 |
929 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ | 917 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ |
OLD | NEW |