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/public/browser/notification_types.h" | 9 #include "content/public/browser/notification_types.h" |
10 | 10 |
(...skipping 365 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
376 NOTIFICATION_EXTENSION_LOAD_ERROR, | 376 NOTIFICATION_EXTENSION_LOAD_ERROR, |
377 | 377 |
378 // Sent when attempting to load a new extension, but they are disabled. The | 378 // Sent when attempting to load a new extension, but they are disabled. The |
379 // details are an Extension*, and the source is a Profile*. | 379 // details are an Extension*, and the source is a Profile*. |
380 NOTIFICATION_EXTENSION_UPDATE_DISABLED, | 380 NOTIFICATION_EXTENSION_UPDATE_DISABLED, |
381 | 381 |
382 // Sent when an extension's permissions change. The details are an | 382 // Sent when an extension's permissions change. The details are an |
383 // UpdatedExtensionPermissionsInfo, and the source is a Profile. | 383 // UpdatedExtensionPermissionsInfo, and the source is a Profile. |
384 NOTIFICATION_EXTENSION_PERMISSIONS_UPDATED, | 384 NOTIFICATION_EXTENSION_PERMISSIONS_UPDATED, |
385 | 385 |
386 // Sent when an extension is about to be installed so we can (in the case of | |
387 // themes) alert the user with a loading dialog. The source is a Profile | |
388 // and the details are the download url. | |
389 NOTIFICATION_EXTENSION_READY_FOR_INSTALL, | |
390 | |
391 // Sent when an extension install turns out to not be a theme. | 386 // Sent when an extension install turns out to not be a theme. |
392 NOTIFICATION_NO_THEME_DETECTED, | 387 NOTIFICATION_NO_THEME_DETECTED, |
393 | 388 |
394 // Sent when new extensions are installed. The details are an Extension, and | 389 // Sent when new extensions are installed. The details are an Extension, and |
395 // the source is a Profile. | 390 // the source is a Profile. |
396 NOTIFICATION_EXTENSION_INSTALLED, | 391 NOTIFICATION_EXTENSION_INSTALLED, |
397 | 392 |
398 // An error occured during extension install. The details are a string with | 393 // An error occured during extension install. The details are a string with |
399 // details about why the install failed. | 394 // details about why the install failed. |
400 NOTIFICATION_EXTENSION_INSTALL_ERROR, | 395 NOTIFICATION_EXTENSION_INSTALL_ERROR, |
(...skipping 557 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
958 // Currently only Content and Chrome define and use notifications. | 953 // Currently only Content and Chrome define and use notifications. |
959 // Custom notifications not belonging to Content and Chrome should start | 954 // Custom notifications not belonging to Content and Chrome should start |
960 // from here. | 955 // from here. |
961 NOTIFICATION_CHROME_END, | 956 NOTIFICATION_CHROME_END, |
962 }; | 957 }; |
963 | 958 |
964 } // namespace chrome | 959 } // namespace chrome |
965 | 960 |
966 | 961 |
967 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ | 962 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ |
OLD | NEW |