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 | |
437 // Sent when a new extension is loaded. The details are an Extension, and | 433 // Sent when a new extension is loaded. The details are an Extension, and |
438 // the source is a Profile. | 434 // the source is a Profile. |
439 NOTIFICATION_EXTENSION_LOADED, | 435 NOTIFICATION_EXTENSION_LOADED, |
440 | 436 |
441 // An error occured while attempting to load an extension. The details are a | 437 // An error occured while attempting to load an extension. The details are a |
442 // string with details about why the load failed. | 438 // string with details about why the load failed. |
443 NOTIFICATION_EXTENSION_LOAD_ERROR, | 439 NOTIFICATION_EXTENSION_LOAD_ERROR, |
444 | 440 |
445 // Sent when attempting to load a new extension, but they are disabled. The | 441 // Sent when attempting to load a new extension, but they are disabled. The |
446 // details are an Extension*, and the source is a Profile*. | 442 // details are an Extension*, and the source is a Profile*. |
(...skipping 673 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1120 // Currently only Content and Chrome define and use notifications. | 1116 // Currently only Content and Chrome define and use notifications. |
1121 // Custom notifications not belonging to Content and Chrome should start | 1117 // Custom notifications not belonging to Content and Chrome should start |
1122 // from here. | 1118 // from here. |
1123 NOTIFICATION_CHROME_END, | 1119 NOTIFICATION_CHROME_END, |
1124 }; | 1120 }; |
1125 | 1121 |
1126 } // namespace chrome | 1122 } // namespace chrome |
1127 | 1123 |
1128 | 1124 |
1129 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ | 1125 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ |
OLD | NEW |