| 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 413 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 424 | 424 |
| 425 // Sent when a CrxInstaller finishes. Source is the CrxInstaller that | 425 // Sent when a CrxInstaller finishes. Source is the CrxInstaller that |
| 426 // finished. No details. | 426 // finished. No details. |
| 427 NOTIFICATION_CRX_INSTALLER_DONE, | 427 NOTIFICATION_CRX_INSTALLER_DONE, |
| 428 | 428 |
| 429 // Sent when the known installed extensions have all been loaded. In | 429 // Sent when the known installed extensions have all been loaded. In |
| 430 // testing scenarios this can happen multiple times if extensions are | 430 // testing scenarios this can happen multiple times if extensions are |
| 431 // unloaded and reloaded. The source is a Profile. | 431 // unloaded and reloaded. The source is a Profile. |
| 432 NOTIFICATION_EXTENSIONS_READY, | 432 NOTIFICATION_EXTENSIONS_READY, |
| 433 | 433 |
| 434 // Sent when the extension action box is updated for a tab. The source is the | 434 // Sent when an extension icon being displayed in the location bar is updated. |
| 435 // Profile and the details are the TabContentsWrapper for the tab. | 435 // The source is the Profile and the details are the TabContentsWrapper for |
| 436 NOTIFICATION_EXTENSION_ACTION_BOX_UPDATED, | 436 // the tab. |
| 437 NOTIFICATION_EXTENSION_LOCATION_BAR_UPDATED, |
| 437 | 438 |
| 438 // Sent when a new extension is loaded. The details are an Extension, and | 439 // Sent when a new extension is loaded. The details are an Extension, and |
| 439 // the source is a Profile. | 440 // the source is a Profile. |
| 440 NOTIFICATION_EXTENSION_LOADED, | 441 NOTIFICATION_EXTENSION_LOADED, |
| 441 | 442 |
| 442 // An error occured while attempting to load an extension. The details are a | 443 // An error occured while attempting to load an extension. The details are a |
| 443 // string with details about why the load failed. | 444 // string with details about why the load failed. |
| 444 NOTIFICATION_EXTENSION_LOAD_ERROR, | 445 NOTIFICATION_EXTENSION_LOAD_ERROR, |
| 445 | 446 |
| 446 // Sent when attempting to load a new extension, but they are disabled. The | 447 // Sent when attempting to load a new extension, but they are disabled. The |
| (...skipping 659 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1106 // Currently only Content and Chrome define and use notifications. | 1107 // Currently only Content and Chrome define and use notifications. |
| 1107 // Custom notifications not belonging to Content and Chrome should start | 1108 // Custom notifications not belonging to Content and Chrome should start |
| 1108 // from here. | 1109 // from here. |
| 1109 NOTIFICATION_CHROME_END, | 1110 NOTIFICATION_CHROME_END, |
| 1110 }; | 1111 }; |
| 1111 | 1112 |
| 1112 } // namespace chrome | 1113 } // namespace chrome |
| 1113 | 1114 |
| 1114 | 1115 |
| 1115 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ | 1116 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ |
| OLD | NEW |