summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/extensions_ui.h
diff options
context:
space:
mode:
authoraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-13 23:08:46 +0000
committeraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-13 23:08:46 +0000
commit4222d1a92c66a7035c2e642282f83630539b614c (patch)
tree30bdb6b3d9d586d89db6df8c098f18c1b3e428cc /chrome/browser/extensions/extensions_ui.h
parentadfe188f467fda2936b1a051dff5280afefc5a13 (diff)
downloadchromium_src-4222d1a92c66a7035c2e642282f83630539b614c.zip
chromium_src-4222d1a92c66a7035c2e642282f83630539b614c.tar.gz
chromium_src-4222d1a92c66a7035c2e642282f83630539b614c.tar.bz2
Shorten text next to checkmark. Use yellow text instead of an alert dialog.
See screen cap in bug. BUG=41356 Review URL: http://codereview.chromium.org/1642006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44417 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/extensions_ui.h')
-rw-r--r--chrome/browser/extensions/extensions_ui.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/chrome/browser/extensions/extensions_ui.h b/chrome/browser/extensions/extensions_ui.h
index 8a96c54..b7c05ce 100644
--- a/chrome/browser/extensions/extensions_ui.h
+++ b/chrome/browser/extensions/extensions_ui.h
@@ -221,16 +221,17 @@ class ExtensionsDOMHandler
// incognito mode.
scoped_ptr<ExtensionInstallUI> install_ui_;
+ // The id of the extension we are prompting the user about.
+ std::string extension_id_prompting_;
+
// We monitor changes to the extension system so that we can reload when
// necessary.
NotificationRegistrar registrar_;
- // 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_;
+ // If true, we will ignore notifications in ::Observe(). This is needed
+ // to prevent reloading the page when we were the cause of the
+ // notification.
+ bool ignore_notifications_;
DISALLOW_COPY_AND_ASSIGN(ExtensionsDOMHandler);
};