summaryrefslogtreecommitdiffstats
path: root/chrome/common
diff options
context:
space:
mode:
authorphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-13 10:09:06 +0000
committerphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-13 10:09:06 +0000
commit94fe52ee5bdf2d2feaa771537164909250ec174f (patch)
tree6af1bca5f56fe7c28384172d71fdc5942e2b3487 /chrome/common
parent5a2721f67bee6843d521afa0ddea2034798372ef (diff)
downloadchromium_src-94fe52ee5bdf2d2feaa771537164909250ec174f.zip
chromium_src-94fe52ee5bdf2d2feaa771537164909250ec174f.tar.gz
chromium_src-94fe52ee5bdf2d2feaa771537164909250ec174f.tar.bz2
Make extensions visible in the Task Manager.
- register for notifications when extension hosts are created/destroyed - collapse extension tabs into just one table row, also for tabs opened while the task manager stays open TEST=Start chrome.exe with --enable-extensions. Install the buildbot monitor extension. Open the task manager. You should see an extension process. http://crbug.com/12127 Review URL: http://codereview.chromium.org/125047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18352 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r--chrome/common/notification_type.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/chrome/common/notification_type.h b/chrome/common/notification_type.h
index f922844..3c8b26a 100644
--- a/chrome/common/notification_type.h
+++ b/chrome/common/notification_type.h
@@ -568,6 +568,14 @@ class NotificationType {
// state.
EXTENSION_UNLOADED,
+ // Sent after a new ExtensionHost is created. The details are
+ // an ExtensionHost*.
+ EXTENSION_HOST_CREATED,
+
+ // Sent before an ExtensionHost is destroyed. The details are
+ // an ExtensionHost*.
+ EXTENSION_HOST_DESTROYED,
+
// Debugging ---------------------------------------------------------------
// Sent from ~RenderViewHost. The source is the RenderViewHost.