| 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 | 7 |
| 8 #include "build/build_config.h" | 8 #include "build/build_config.h" |
| 9 #include "content/public/browser/notification_types.h" | 9 #include "content/public/browser/notification_types.h" |
| 10 | 10 |
| (...skipping 459 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 470 // Sent when a CrxInstaller finishes. Source is the CrxInstaller that | 470 // Sent when a CrxInstaller finishes. Source is the CrxInstaller that |
| 471 // finished. The details are the extension which was installed. | 471 // finished. The details are the extension which was installed. |
| 472 NOTIFICATION_CRX_INSTALLER_DONE, | 472 NOTIFICATION_CRX_INSTALLER_DONE, |
| 473 | 473 |
| 474 // Sent when the known installed extensions have all been loaded. In | 474 // Sent when the known installed extensions have all been loaded. In |
| 475 // testing scenarios this can happen multiple times if extensions are | 475 // testing scenarios this can happen multiple times if extensions are |
| 476 // unloaded and reloaded. The source is a Profile. | 476 // unloaded and reloaded. The source is a Profile. |
| 477 NOTIFICATION_EXTENSIONS_READY, | 477 NOTIFICATION_EXTENSIONS_READY, |
| 478 | 478 |
| 479 // Sent when an extension icon being displayed in the location bar is updated. | 479 // Sent when an extension icon being displayed in the location bar is updated. |
| 480 // The source is the Profile and the details are the TabContents for | 480 // The source is the Profile and the details are the WebContents for |
| 481 // the tab. | 481 // the tab. |
| 482 NOTIFICATION_EXTENSION_LOCATION_BAR_UPDATED, | 482 NOTIFICATION_EXTENSION_LOCATION_BAR_UPDATED, |
| 483 | 483 |
| 484 // Sent when a new extension is loaded. The details are an Extension, and | 484 // Sent when a new extension is loaded. The details are an Extension, and |
| 485 // the source is a Profile. | 485 // the source is a Profile. |
| 486 NOTIFICATION_EXTENSION_LOADED, | 486 NOTIFICATION_EXTENSION_LOADED, |
| 487 | 487 |
| 488 // An error occured while attempting to load an extension. The details are a | 488 // An error occured while attempting to load an extension. The details are a |
| 489 // string with details about why the load failed. | 489 // string with details about why the load failed. |
| 490 NOTIFICATION_EXTENSION_LOAD_ERROR, | 490 NOTIFICATION_EXTENSION_LOAD_ERROR, |
| (...skipping 775 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1266 // Currently only Content and Chrome define and use notifications. | 1266 // Currently only Content and Chrome define and use notifications. |
| 1267 // Custom notifications not belonging to Content and Chrome should start | 1267 // Custom notifications not belonging to Content and Chrome should start |
| 1268 // from here. | 1268 // from here. |
| 1269 NOTIFICATION_CHROME_END, | 1269 NOTIFICATION_CHROME_END, |
| 1270 }; | 1270 }; |
| 1271 | 1271 |
| 1272 } // namespace chrome | 1272 } // namespace chrome |
| 1273 | 1273 |
| 1274 | 1274 |
| 1275 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ | 1275 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ |
| OLD | NEW |