diff options
author | mpcomplete@chromium.org <mpcomplete@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-17 00:16:02 +0000 |
---|---|---|
committer | mpcomplete@chromium.org <mpcomplete@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-17 00:16:02 +0000 |
commit | 3a91eff218570a1d5c322262c96fbb0a41e3b580 (patch) | |
tree | a3c651c9db024510d0d800b8a0d185d41dc0cce2 /chrome/browser/extensions/extensions_ui.h | |
parent | dabaa73dceb1772448ed1ff6935471946da53143 (diff) | |
download | chromium_src-3a91eff218570a1d5c322262c96fbb0a41e3b580.zip chromium_src-3a91eff218570a1d5c322262c96fbb0a41e3b580.tar.gz chromium_src-3a91eff218570a1d5c322262c96fbb0a41e3b580.tar.bz2 |
Spruced up the warning dialog for when you enable an extension in incognito.
I hijacked the extension install/uninstall dialog, and added another type that
it can transmogrify into.
BUG=32365
Review URL: http://codereview.chromium.org/1041002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41787 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/extensions_ui.h')
-rw-r--r-- | chrome/browser/extensions/extensions_ui.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/chrome/browser/extensions/extensions_ui.h b/chrome/browser/extensions/extensions_ui.h index decdc64..daf5c2b 100644 --- a/chrome/browser/extensions/extensions_ui.h +++ b/chrome/browser/extensions/extensions_ui.h @@ -217,8 +217,12 @@ class ExtensionsDOMHandler // necessary. NotificationRegistrar registrar_; - // The id of the extension we are about to un-install. - std::string extension_id_uninstalling_; + // The id of the extension we are prompting the user about. + std::string extension_id_prompting_; + + // The type of prompt that is open. Only ever uninstall or enable-incognito. + // Invalid if no prompt is open. + ExtensionInstallUI::PromptType ui_prompt_type_; DISALLOW_COPY_AND_ASSIGN(ExtensionsDOMHandler); }; |