summaryrefslogtreecommitdiffstats
path: root/chrome/browser/gtk/extension_install_prompt_gtk.cc
diff options
context:
space:
mode:
authoraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-27 06:47:46 +0000
committeraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-27 06:47:46 +0000
commitb24d831bff725a59e472f0aaa4547dfb31344490 (patch)
tree90d92f9fb363696c1dbd37b297068624ed4af6ea /chrome/browser/gtk/extension_install_prompt_gtk.cc
parenta0a04ee4b35d3abb9b4d0bf093fcaead55821473 (diff)
downloadchromium_src-b24d831bff725a59e472f0aaa4547dfb31344490.zip
chromium_src-b24d831bff725a59e472f0aaa4547dfb31344490.tar.gz
chromium_src-b24d831bff725a59e472f0aaa4547dfb31344490.tar.bz2
Update of the extension install UI:
- Give the user more information about which hosts an extension can access. - Remove the red severe warning because it doesn't play well with themes and because it adds nothing when the other text is more specific. - Make the image a bit smaller. Also integrate this new idea with the silent/not-silent update flow. BUG=12129,12140,19582 Review URL: http://codereview.chromium.org/173463 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24599 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/gtk/extension_install_prompt_gtk.cc')
-rw-r--r--chrome/browser/gtk/extension_install_prompt_gtk.cc7
1 files changed, 3 insertions, 4 deletions
diff --git a/chrome/browser/gtk/extension_install_prompt_gtk.cc b/chrome/browser/gtk/extension_install_prompt_gtk.cc
index a195cff..c49102e 100644
--- a/chrome/browser/gtk/extension_install_prompt_gtk.cc
+++ b/chrome/browser/gtk/extension_install_prompt_gtk.cc
@@ -126,10 +126,9 @@ void ShowInstallPromptDialog(GtkWindow* parent, SkBitmap* skia_icon,
} // namespace
-void ExtensionInstallUI::ShowExtensionInstallPrompt(Profile* profile,
- Delegate* delegate,
- Extension* extension,
- SkBitmap* icon) {
+void ExtensionInstallUI::ShowExtensionInstallPrompt(
+ Profile* profile, Delegate* delegate, Extension* extension, SkBitmap* icon,
+ const std::wstring& warning_text) {
Browser* browser = BrowserList::GetLastActiveWithProfile(profile);
if (!browser) {
delegate->ContinueInstall();