diff options
author | rafaelw@chromium.org <rafaelw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-17 18:20:31 +0000 |
---|---|---|
committer | rafaelw@chromium.org <rafaelw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-17 18:20:31 +0000 |
commit | 01f829ab3cc802b79942f5a988f6a72e7a2b594d (patch) | |
tree | 8d5566ebfa133239e7947cac02b685df95d5b66f /chrome/common | |
parent | 5715c63e814adcf7d0515ea08c16955d49615a33 (diff) | |
download | chromium_src-01f829ab3cc802b79942f5a988f6a72e7a2b594d.zip chromium_src-01f829ab3cc802b79942f5a988f6a72e7a2b594d.tar.gz chromium_src-01f829ab3cc802b79942f5a988f6a72e7a2b594d.tar.bz2 |
Initial support for inspecting extension popups.
The primary change in this CL is a refactor which makes ExtensionPopup a bit more self-contained WRT its clients. It adds the ability to specify an "inspect_with_devtools" flag to its Show() method which will cause the popup to remain open regardless of losing focus and to focus a devtools window on the popup's render view host.
This CL also pulls apart some aspects of the extension_popup_api from ExtensionFunctionDispatcher and ExtensionHost.
Still remaining to be done are:
1) Also the popup to stay open when the host window drags (it current closes)
2) Support for GTK
3) Support for Mac
BUG=24477
Review URL: http://codereview.chromium.org/1001002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41854 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r-- | chrome/common/notification_type.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/common/notification_type.h b/chrome/common/notification_type.h index 4b242da..d1bb966 100644 --- a/chrome/common/notification_type.h +++ b/chrome/common/notification_type.h @@ -219,6 +219,10 @@ class NotificationType { // that was closed, no details are expected. WINDOW_CLOSED, + // Indicates that a devtools window is closing. The source is the Profile* + // and the details is the inspected RenderViewHost*. + DEVTOOLS_WINDOW_CLOSING, + // Sent when an info bubble has been created but not yet shown. The source // is the InfoBubble. INFO_BUBBLE_CREATED, |