OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/common/content_notification_types.h" | 9 #include "content/common/content_notification_types.h" |
10 | 10 |
(...skipping 417 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
428 NOTIFICATION_EXTENSIONS_READY, | 428 NOTIFICATION_EXTENSIONS_READY, |
429 | 429 |
430 // Sent when a new extension is loaded. The details are an Extension, and | 430 // Sent when a new extension is loaded. The details are an Extension, and |
431 // the source is a Profile. | 431 // the source is a Profile. |
432 NOTIFICATION_EXTENSION_LOADED, | 432 NOTIFICATION_EXTENSION_LOADED, |
433 | 433 |
434 // Sent when attempting to load a new extension, but they are disabled. The | 434 // Sent when attempting to load a new extension, but they are disabled. The |
435 // details are an Extension*, and the source is a Profile*. | 435 // details are an Extension*, and the source is a Profile*. |
436 NOTIFICATION_EXTENSION_UPDATE_DISABLED, | 436 NOTIFICATION_EXTENSION_UPDATE_DISABLED, |
437 | 437 |
| 438 // Sent when an extension's permissions change. The details are an |
| 439 // UpdatedExtensionPermissionsInfo, and the source is a Profile. |
| 440 NOTIFICATION_EXTENSION_PERMISSIONS_UPDATED, |
| 441 |
438 // Sent when an extension is about to be installed so we can (in the case of | 442 // Sent when an extension is about to be installed so we can (in the case of |
439 // themes) alert the user with a loading dialog. The source is the download | 443 // themes) alert the user with a loading dialog. The source is the download |
440 // manager and the details are the download url. | 444 // manager and the details are the download url. |
441 NOTIFICATION_EXTENSION_READY_FOR_INSTALL, | 445 NOTIFICATION_EXTENSION_READY_FOR_INSTALL, |
442 | 446 |
443 // Sent when an extension install turns out to not be a theme. | 447 // Sent when an extension install turns out to not be a theme. |
444 NOTIFICATION_NO_THEME_DETECTED, | 448 NOTIFICATION_NO_THEME_DETECTED, |
445 | 449 |
446 // Sent when new extensions are installed. The details are an Extension, and | 450 // Sent when new extensions are installed. The details are an Extension, and |
447 // the source is a Profile. | 451 // the source is a Profile. |
(...skipping 473 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
921 // Currently only Content and Chrome define and use notifications. | 925 // Currently only Content and Chrome define and use notifications. |
922 // Custom notifications not belonging to Content and Chrome should start | 926 // Custom notifications not belonging to Content and Chrome should start |
923 // from here. | 927 // from here. |
924 NOTIFICATION_CHROME_END, | 928 NOTIFICATION_CHROME_END, |
925 }; | 929 }; |
926 | 930 |
927 } // namespace chrome | 931 } // namespace chrome |
928 | 932 |
929 | 933 |
930 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ | 934 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ |
OLD | NEW |