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

Side by Side Diff: chrome/browser/chrome_notification_types.h

Issue 23494053: Remove NOTIFICATION_SYSTEM_SETTING_CHANGED, switch CrosSettings to base::CallbackRegistry. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: trailing space Created 7 years, 3 months 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 | « no previous file | chrome/browser/chromeos/app_mode/kiosk_app_manager.h » ('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 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 863 matching lines...) Expand 10 before | Expand all | Expand 10 after
874 // is being deleted, so the receiver shouldn't use the screen locker 874 // is being deleted, so the receiver shouldn't use the screen locker
875 // object. 875 // object.
876 NOTIFICATION_SCREEN_LOCK_STATE_CHANGED, 876 NOTIFICATION_SCREEN_LOCK_STATE_CHANGED,
877 877
878 // Sent by DeviceSettingsService to indicate that the ownership status 878 // Sent by DeviceSettingsService to indicate that the ownership status
879 // changed. If you can, please use DeviceSettingsService::Observer instead. 879 // changed. If you can, please use DeviceSettingsService::Observer instead.
880 // Other singleton-based services can't use that because Observer 880 // Other singleton-based services can't use that because Observer
881 // unregistration is impossible due to unpredictable deletion order. 881 // unregistration is impossible due to unpredictable deletion order.
882 NOTIFICATION_OWNERSHIP_STATUS_CHANGED, 882 NOTIFICATION_OWNERSHIP_STATUS_CHANGED,
883 883
884 // This is sent to a ChromeOS settings observer when a system setting is
885 // changed. The source is the CrosSettings and the details a std::string of
886 // the changed setting.
887 NOTIFICATION_SYSTEM_SETTING_CHANGED,
888
889 // Sent by SIM unlock dialog when it has finished with the process of 884 // Sent by SIM unlock dialog when it has finished with the process of
890 // updating RequirePin setting. RequirePin setting might have been changed 885 // updating RequirePin setting. RequirePin setting might have been changed
891 // to a new value or update might have been canceled. 886 // to a new value or update might have been canceled.
892 // In either case notification is sent and details contain a bool 887 // In either case notification is sent and details contain a bool
893 // that represents current value. 888 // that represents current value.
894 NOTIFICATION_REQUIRE_PIN_SETTING_CHANGE_ENDED, 889 NOTIFICATION_REQUIRE_PIN_SETTING_CHANGE_ENDED,
895 890
896 // Sent by SIM unlock dialog when it has finished the EnterPin or 891 // Sent by SIM unlock dialog when it has finished the EnterPin or
897 // EnterPuk dialog, either because the user cancelled, or entered a 892 // EnterPuk dialog, either because the user cancelled, or entered a
898 // PIN or PUK. 893 // PIN or PUK.
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
1063 // Note:- 1058 // Note:-
1064 // Currently only Content and Chrome define and use notifications. 1059 // Currently only Content and Chrome define and use notifications.
1065 // Custom notifications not belonging to Content and Chrome should start 1060 // Custom notifications not belonging to Content and Chrome should start
1066 // from here. 1061 // from here.
1067 NOTIFICATION_CHROME_END, 1062 NOTIFICATION_CHROME_END,
1068 }; 1063 };
1069 1064
1070 } // namespace chrome 1065 } // namespace chrome
1071 1066
1072 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ 1067 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/app_mode/kiosk_app_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698