OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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_BROWSER_CHROME_NOTIFICATION_TYPES_H_ | 5 #ifndef CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ |
6 #define CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ | 6 #define CHROME_BROWSER_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 370 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
381 | 381 |
382 // Sent when a CrxInstaller finishes. Source is the CrxInstaller that | 382 // Sent when a CrxInstaller finishes. Source is the CrxInstaller that |
383 // finished. The details are the extension which was installed. | 383 // finished. The details are the extension which was installed. |
384 NOTIFICATION_CRX_INSTALLER_DONE, | 384 NOTIFICATION_CRX_INSTALLER_DONE, |
385 | 385 |
386 // Sent when the known installed extensions have all been loaded. In | 386 // Sent when the known installed extensions have all been loaded. In |
387 // testing scenarios this can happen multiple times if extensions are | 387 // testing scenarios this can happen multiple times if extensions are |
388 // unloaded and reloaded. The source is a Profile. | 388 // unloaded and reloaded. The source is a Profile. |
389 NOTIFICATION_EXTENSIONS_READY, | 389 NOTIFICATION_EXTENSIONS_READY, |
390 | 390 |
391 // Sent when an extension icon being displayed in the location bar is updated. | |
392 // The source is the Profile and the details are the WebContents for | |
393 // the tab. | |
394 NOTIFICATION_EXTENSION_LOCATION_BAR_UPDATED, | |
395 | |
396 // DEPRECATED: Use ExtensionRegistry::AddObserver instead. | 391 // DEPRECATED: Use ExtensionRegistry::AddObserver instead. |
397 // | 392 // |
398 // Sent when a new extension is loaded. The details are an Extension, and | 393 // Sent when a new extension is loaded. The details are an Extension, and |
399 // the source is a Profile. | 394 // the source is a Profile. |
400 NOTIFICATION_EXTENSION_LOADED_DEPRECATED, | 395 NOTIFICATION_EXTENSION_LOADED_DEPRECATED, |
401 | 396 |
402 // An error occured while attempting to load an extension. The details are a | 397 // An error occured while attempting to load an extension. The details are a |
403 // string with details about why the load failed. | 398 // string with details about why the load failed. |
404 NOTIFICATION_EXTENSION_LOAD_ERROR, | 399 NOTIFICATION_EXTENSION_LOAD_ERROR, |
405 | 400 |
(...skipping 526 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
932 // Note:- | 927 // Note:- |
933 // Currently only Content and Chrome define and use notifications. | 928 // Currently only Content and Chrome define and use notifications. |
934 // Custom notifications not belonging to Content and Chrome should start | 929 // Custom notifications not belonging to Content and Chrome should start |
935 // from here. | 930 // from here. |
936 NOTIFICATION_CHROME_END, | 931 NOTIFICATION_CHROME_END, |
937 }; | 932 }; |
938 | 933 |
939 } // namespace chrome | 934 } // namespace chrome |
940 | 935 |
941 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ | 936 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ |
OLD | NEW |