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

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

Issue 8480007: Change EXTENSION_PROCESS_CREATED observers to use EXTENSION_HOST_CREATED. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 9 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/ui/webui/options/extension_settings_handler.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 399 matching lines...) Expand 10 before | Expand all | Expand 10 after
410 410
411 // Sent when an extension is unloaded. This happens when an extension is 411 // Sent when an extension is unloaded. This happens when an extension is
412 // uninstalled or disabled. The details are an UnloadedExtensionInfo, and 412 // uninstalled or disabled. The details are an UnloadedExtensionInfo, and
413 // the source is a Profile. 413 // the source is a Profile.
414 // 414 //
415 // Note that when this notification is sent, ExtensionService has already 415 // Note that when this notification is sent, ExtensionService has already
416 // removed the extension from its internal state. 416 // removed the extension from its internal state.
417 NOTIFICATION_EXTENSION_UNLOADED, 417 NOTIFICATION_EXTENSION_UNLOADED,
418 418
419 // Sent after a new ExtensionHost is created. The details are 419 // Sent after a new ExtensionHost is created. The details are
420 // an ExtensionHost* and the source is an ExtensionProcessManager*. 420 // an ExtensionHost* and the source is a Profile*.
421 NOTIFICATION_EXTENSION_HOST_CREATED, 421 NOTIFICATION_EXTENSION_HOST_CREATED,
422 422
423 // Sent before an ExtensionHost is destroyed. The details are 423 // Sent before an ExtensionHost is destroyed. The details are
424 // an ExtensionHost* and the source is a Profile*. 424 // an ExtensionHost* and the source is a Profile*.
425 NOTIFICATION_EXTENSION_HOST_DESTROYED, 425 NOTIFICATION_EXTENSION_HOST_DESTROYED,
426 426
427 // Sent by an ExtensionHost when it finished its initial page load. 427 // Sent by an ExtensionHost when it finished its initial page load.
428 // The details are an ExtensionHost* and the source is a Profile*. 428 // The details are an ExtensionHost* and the source is a Profile*.
429 NOTIFICATION_EXTENSION_HOST_DID_STOP_LOADING, 429 NOTIFICATION_EXTENSION_HOST_DID_STOP_LOADING,
430 430
431 // Sent by an ExtensionHost when its render view requests closing through 431 // Sent by an ExtensionHost when its render view requests closing through
432 // window.close(). The details are an ExtensionHost* and the source is a 432 // window.close(). The details are an ExtensionHost* and the source is a
433 // Profile*. 433 // Profile*.
434 NOTIFICATION_EXTENSION_HOST_VIEW_SHOULD_CLOSE, 434 NOTIFICATION_EXTENSION_HOST_VIEW_SHOULD_CLOSE,
435 435
436 // Sent after an extension render process is created and fully functional.
437 // The details are an ExtensionHost*.
438 NOTIFICATION_EXTENSION_PROCESS_CREATED,
439
440 // Sent when extension render process ends (whether it crashes or closes). 436 // Sent when extension render process ends (whether it crashes or closes).
441 // The details are an ExtensionHost* and the source is a Profile*. Not sent 437 // The details are an ExtensionHost* and the source is a Profile*. Not sent
442 // during browser shutdown. 438 // during browser shutdown.
443 NOTIFICATION_EXTENSION_PROCESS_TERMINATED, 439 NOTIFICATION_EXTENSION_PROCESS_TERMINATED,
444 440
445 // Sent when a background page is ready so other components can load. 441 // Sent when a background page is ready so other components can load.
446 NOTIFICATION_EXTENSION_BACKGROUND_PAGE_READY, 442 NOTIFICATION_EXTENSION_BACKGROUND_PAGE_READY,
447 443
448 // Sent when a pop-up extension view is ready, so that notification may 444 // Sent when a pop-up extension view is ready, so that notification may
449 // be sent to pending callbacks. Note that this notification is sent 445 // be sent to pending callbacks. Note that this notification is sent
(...skipping 508 matching lines...) Expand 10 before | Expand all | Expand 10 after
958 // Currently only Content and Chrome define and use notifications. 954 // Currently only Content and Chrome define and use notifications.
959 // Custom notifications not belonging to Content and Chrome should start 955 // Custom notifications not belonging to Content and Chrome should start
960 // from here. 956 // from here.
961 NOTIFICATION_CHROME_END, 957 NOTIFICATION_CHROME_END,
962 }; 958 };
963 959
964 } // namespace chrome 960 } // namespace chrome
965 961
966 962
967 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ 963 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/options/extension_settings_handler.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698