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 412 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
423 | 423 |
424 // Sent when a CrxInstaller finishes. Source is the CrxInstaller that | 424 // Sent when a CrxInstaller finishes. Source is the CrxInstaller that |
425 // finished. No details. | 425 // finished. No details. |
426 NOTIFICATION_CRX_INSTALLER_DONE, | 426 NOTIFICATION_CRX_INSTALLER_DONE, |
427 | 427 |
428 // Sent when the known installed extensions have all been loaded. In | 428 // Sent when the known installed extensions have all been loaded. In |
429 // testing scenarios this can happen multiple times if extensions are | 429 // testing scenarios this can happen multiple times if extensions are |
430 // unloaded and reloaded. The source is a Profile. | 430 // unloaded and reloaded. The source is a Profile. |
431 NOTIFICATION_EXTENSIONS_READY, | 431 NOTIFICATION_EXTENSIONS_READY, |
432 | 432 |
| 433 // Sent when the extension action box is updated for a tab. The source is the |
| 434 // Profile and the details are the TabContentsWrapper for the tab. |
| 435 NOTIFICATION_EXTENSION_ACTION_BOX_UPDATED, |
| 436 |
433 // Sent when a new extension is loaded. The details are an Extension, and | 437 // Sent when a new extension is loaded. The details are an Extension, and |
434 // the source is a Profile. | 438 // the source is a Profile. |
435 NOTIFICATION_EXTENSION_LOADED, | 439 NOTIFICATION_EXTENSION_LOADED, |
436 | 440 |
437 // An error occured while attempting to load an extension. The details are a | 441 // An error occured while attempting to load an extension. The details are a |
438 // string with details about why the load failed. | 442 // string with details about why the load failed. |
439 NOTIFICATION_EXTENSION_LOAD_ERROR, | 443 NOTIFICATION_EXTENSION_LOAD_ERROR, |
440 | 444 |
441 // Sent when attempting to load a new extension, but they are disabled. The | 445 // Sent when attempting to load a new extension, but they are disabled. The |
442 // details are an Extension*, and the source is a Profile*. | 446 // details are an Extension*, and the source is a Profile*. |
(...skipping 673 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1116 // Currently only Content and Chrome define and use notifications. | 1120 // Currently only Content and Chrome define and use notifications. |
1117 // Custom notifications not belonging to Content and Chrome should start | 1121 // Custom notifications not belonging to Content and Chrome should start |
1118 // from here. | 1122 // from here. |
1119 NOTIFICATION_CHROME_END, | 1123 NOTIFICATION_CHROME_END, |
1120 }; | 1124 }; |
1121 | 1125 |
1122 } // namespace chrome | 1126 } // namespace chrome |
1123 | 1127 |
1124 | 1128 |
1125 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ | 1129 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ |
OLD | NEW |