Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(750)

Side by Side Diff: chrome/browser/chrome_notification_types.h

Issue 242613004: Replace NOTIFICATION_EXTENSION_LOADED to NOTIFICATION_EXTENSION_LOADED_DEPRECATED (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 389 matching lines...) Expand 10 before | Expand all | Expand 10 after
400 // unloaded and reloaded. The source is a Profile. 400 // unloaded and reloaded. The source is a Profile.
401 NOTIFICATION_EXTENSIONS_READY, 401 NOTIFICATION_EXTENSIONS_READY,
402 402
403 // Sent when an extension icon being displayed in the location bar is updated. 403 // Sent when an extension icon being displayed in the location bar is updated.
404 // The source is the Profile and the details are the WebContents for 404 // The source is the Profile and the details are the WebContents for
405 // the tab. 405 // the tab.
406 NOTIFICATION_EXTENSION_LOCATION_BAR_UPDATED, 406 NOTIFICATION_EXTENSION_LOCATION_BAR_UPDATED,
407 407
408 // Sent when a new extension is loaded. The details are an Extension, and 408 // Sent when a new extension is loaded. The details are an Extension, and
409 // the source is a Profile. 409 // the source is a Profile.
410 NOTIFICATION_EXTENSION_LOADED, 410 NOTIFICATION_EXTENSION_LOADED_DEPRECATED,
411 411
412 // An error occured while attempting to load an extension. The details are a 412 // An error occured while attempting to load an extension. The details are a
413 // string with details about why the load failed. 413 // string with details about why the load failed.
414 NOTIFICATION_EXTENSION_LOAD_ERROR, 414 NOTIFICATION_EXTENSION_LOAD_ERROR,
415 415
416 // Sent when an unpacked extension fails to load. The details are a std::pair, 416 // Sent when an unpacked extension fails to load. The details are a std::pair,
417 // the first object is a boolean signifying the user's retry response value, 417 // the first object is a boolean signifying the user's retry response value,
418 // and the second object is a const base::FilePath& of the extension that 418 // and the second object is a const base::FilePath& of the extension that
419 // failed to load. Source is a Profile. 419 // failed to load. Source is a Profile.
420 NOTIFICATION_EXTENSION_LOAD_RETRY, 420 NOTIFICATION_EXTENSION_LOAD_RETRY,
421 421
422 // Sent when an extension is enabled. Under most circumstances, listeners 422 // Sent when an extension is enabled. Under most circumstances, listeners
423 // will want to use NOTIFICATION_EXTENSION_LOADED. This notification is only 423 // will want to use NOTIFICATION_EXTENSION_LOADED_DEPRECATED. This
424 // notification is only
424 // fired when the "Enable" button is hit in the extensions tab. The details 425 // fired when the "Enable" button is hit in the extensions tab. The details
425 // are an Extension, and the source is a Profile. 426 // are an Extension, and the source is a Profile.
426 NOTIFICATION_EXTENSION_ENABLED, 427 NOTIFICATION_EXTENSION_ENABLED,
427 428
428 // Sent when attempting to load a new extension, but they are disabled. The 429 // Sent when attempting to load a new extension, but they are disabled. The
429 // details are an Extension*, and the source is a Profile*. 430 // details are an Extension*, and the source is a Profile*.
430 NOTIFICATION_EXTENSION_UPDATE_DISABLED, 431 NOTIFICATION_EXTENSION_UPDATE_DISABLED,
431 432
432 // Sent when an extension's permissions change. The details are an 433 // Sent when an extension's permissions change. The details are an
433 // UpdatedExtensionPermissionsInfo, and the source is a Profile. 434 // UpdatedExtensionPermissionsInfo, and the source is a Profile.
(...skipping 509 matching lines...) Expand 10 before | Expand all | Expand 10 after
943 // Note:- 944 // Note:-
944 // Currently only Content and Chrome define and use notifications. 945 // Currently only Content and Chrome define and use notifications.
945 // Custom notifications not belonging to Content and Chrome should start 946 // Custom notifications not belonging to Content and Chrome should start
946 // from here. 947 // from here.
947 NOTIFICATION_CHROME_END, 948 NOTIFICATION_CHROME_END,
948 }; 949 };
949 950
950 } // namespace chrome 951 } // namespace chrome
951 952
952 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ 953 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698