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 835 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
846 // updating RequirePin setting. RequirePin setting might have been changed | 846 // updating RequirePin setting. RequirePin setting might have been changed |
847 // to a new value or update might have been canceled. | 847 // to a new value or update might have been canceled. |
848 // In either case notification is sent and details contain a bool | 848 // In either case notification is sent and details contain a bool |
849 // that represents current value. | 849 // that represents current value. |
850 NOTIFICATION_REQUIRE_PIN_SETTING_CHANGE_ENDED, | 850 NOTIFICATION_REQUIRE_PIN_SETTING_CHANGE_ENDED, |
851 | 851 |
852 // Sent by SIM unlock dialog when it has finished the EnterPin or | 852 // Sent by SIM unlock dialog when it has finished the EnterPin or |
853 // EnterPuk dialog, either because the user cancelled, or entered a | 853 // EnterPuk dialog, either because the user cancelled, or entered a |
854 // PIN or PUK. | 854 // PIN or PUK. |
855 NOTIFICATION_ENTER_PIN_ENDED, | 855 NOTIFICATION_ENTER_PIN_ENDED, |
856 | |
857 // Sent when large cursor is toggled. | |
858 NOTIFICATION_CROS_ACCESSIBILITY_TOGGLE_LARGE_CURSOR, | |
859 | |
860 // Sent when high contrast mode is toggled. | |
861 NOTIFICATION_CROS_ACCESSIBILITY_TOGGLE_HIGH_CONTRAST_MODE, | |
862 | |
863 // Sent when screen magnifier is toggled. | |
864 NOTIFICATION_CROS_ACCESSIBILITY_TOGGLE_SCREEN_MAGNIFIER, | |
865 | |
866 // Sent when spoken feedback is toggled. | |
867 NOTIFICATION_CROS_ACCESSIBILITY_TOGGLE_SPOKEN_FEEDBACK, | |
868 | |
869 // Sent when a11y on-screen keyboard is toggled. | |
870 NOTIFICATION_CROS_ACCESSIBILITY_TOGGLE_VIRTUAL_KEYBOARD, | |
871 | |
872 #endif | 856 #endif |
873 | 857 |
874 #if defined(TOOLKIT_VIEWS) | 858 #if defined(TOOLKIT_VIEWS) |
875 // Sent when a bookmark's context menu is shown. Used to notify | 859 // Sent when a bookmark's context menu is shown. Used to notify |
876 // tests that the context menu has been created and shown. | 860 // tests that the context menu has been created and shown. |
877 NOTIFICATION_BOOKMARK_CONTEXT_MENU_SHOWN, | 861 NOTIFICATION_BOOKMARK_CONTEXT_MENU_SHOWN, |
878 | 862 |
879 // Notification that the nested loop using during tab dragging has returned. | 863 // Notification that the nested loop using during tab dragging has returned. |
880 // Used for testing. | 864 // Used for testing. |
881 NOTIFICATION_TAB_DRAG_LOOP_DONE, | 865 NOTIFICATION_TAB_DRAG_LOOP_DONE, |
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1010 // Note:- | 994 // Note:- |
1011 // Currently only Content and Chrome define and use notifications. | 995 // Currently only Content and Chrome define and use notifications. |
1012 // Custom notifications not belonging to Content and Chrome should start | 996 // Custom notifications not belonging to Content and Chrome should start |
1013 // from here. | 997 // from here. |
1014 NOTIFICATION_CHROME_END, | 998 NOTIFICATION_CHROME_END, |
1015 }; | 999 }; |
1016 | 1000 |
1017 } // namespace chrome | 1001 } // namespace chrome |
1018 | 1002 |
1019 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ | 1003 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ |
OLD | NEW |