OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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_COMMON_CHROME_NOTIFICATION_TYPES_H_ | 5 #ifndef CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ |
6 #define CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ | 6 #define CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "content/public/browser/notification_types.h" | 9 #include "content/public/browser/notification_types.h" |
10 | 10 |
(...skipping 991 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1002 // Sent when the cached profile info has changed. | 1002 // Sent when the cached profile info has changed. |
1003 NOTIFICATION_PROFILE_CACHED_INFO_CHANGED, | 1003 NOTIFICATION_PROFILE_CACHED_INFO_CHANGED, |
1004 | 1004 |
1005 // Sent when the cached profile has finished writing a profile picture to | 1005 // Sent when the cached profile has finished writing a profile picture to |
1006 // disk. | 1006 // disk. |
1007 NOTIFICATION_PROFILE_CACHE_PICTURE_SAVED, | 1007 NOTIFICATION_PROFILE_CACHE_PICTURE_SAVED, |
1008 | 1008 |
1009 // Sent when the browser enters or exits fullscreen mode. | 1009 // Sent when the browser enters or exits fullscreen mode. |
1010 NOTIFICATION_FULLSCREEN_CHANGED, | 1010 NOTIFICATION_FULLSCREEN_CHANGED, |
1011 | 1011 |
| 1012 // Sent when the browser changes, confirms, or denies mouse lock mode. |
| 1013 NOTIFICATION_MOUSE_LOCK_CHANGED, |
| 1014 |
1012 // Sent by the PluginPrefs when there is a change of plugin enable/disable | 1015 // Sent by the PluginPrefs when there is a change of plugin enable/disable |
1013 // status. The source is the profile. | 1016 // status. The source is the profile. |
1014 NOTIFICATION_PLUGIN_ENABLE_STATUS_CHANGED, | 1017 NOTIFICATION_PLUGIN_ENABLE_STATUS_CHANGED, |
1015 | 1018 |
1016 // Panels Notifications. The Panels are small browser windows near the bottom | 1019 // Panels Notifications. The Panels are small browser windows near the bottom |
1017 // of the screen. | 1020 // of the screen. |
1018 // Sent when all nonblocking bounds animations are finished across panels. | 1021 // Sent when all nonblocking bounds animations are finished across panels. |
1019 // Used only in unit testing. | 1022 // Used only in unit testing. |
1020 NOTIFICATION_PANEL_BOUNDS_ANIMATIONS_FINISHED, | 1023 NOTIFICATION_PANEL_BOUNDS_ANIMATIONS_FINISHED, |
1021 | 1024 |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1086 // Currently only Content and Chrome define and use notifications. | 1089 // Currently only Content and Chrome define and use notifications. |
1087 // Custom notifications not belonging to Content and Chrome should start | 1090 // Custom notifications not belonging to Content and Chrome should start |
1088 // from here. | 1091 // from here. |
1089 NOTIFICATION_CHROME_END, | 1092 NOTIFICATION_CHROME_END, |
1090 }; | 1093 }; |
1091 | 1094 |
1092 } // namespace chrome | 1095 } // namespace chrome |
1093 | 1096 |
1094 | 1097 |
1095 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ | 1098 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ |
OLD | NEW |