diff options
author | willchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-06 23:48:54 +0000 |
---|---|---|
committer | willchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-06 23:48:54 +0000 |
commit | 706197adc80edd1b1b73a6eea38a5b080609b103 (patch) | |
tree | 9b5ed9d55107366ad484ec1802ab938a51e13a22 /chrome/browser/extensions/extension_install_ui.h | |
parent | fd01250e35bb184937b3fe439d2d7ffc0d96c15f (diff) | |
download | chromium_src-706197adc80edd1b1b73a6eea38a5b080609b103.zip chromium_src-706197adc80edd1b1b73a6eea38a5b080609b103.tar.gz chromium_src-706197adc80edd1b1b73a6eea38a5b080609b103.tar.bz2 |
Revert 31322 - Extension Installed InfoBubble
This creates UI feedback upon successful installation of an extension. An InfoBubble is shown containing the install icon and some information about how to manage extensions.
TEST=Install a packaged extension. Verify the InfoBubble is shown, with the install icon and some description. The InfoBubble should disappear when the bubble looses focus (click elsewhere). For a browserAction, the bubble should point to the browserAction icon. For a pageAction **that has a "default_icon" set in it's manifest (see the samples/subscribe_page_action in this CL)**, it should point to a temporarily shown pageAction icon that will be hidden when the bubble closes. Otherwise it should point to the wrench menu.
BUG=21412
Review URL: http://codereview.chromium.org/362022
TBR=rafaelw@chromium.org
Review URL: http://codereview.chromium.org/375019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31326 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/extension_install_ui.h')
-rw-r--r-- | chrome/browser/extensions/extension_install_ui.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/chrome/browser/extensions/extension_install_ui.h b/chrome/browser/extensions/extension_install_ui.h index f2ddf8d..18811a5 100644 --- a/chrome/browser/extensions/extension_install_ui.h +++ b/chrome/browser/extensions/extension_install_ui.h @@ -8,8 +8,6 @@ #include "app/gfx/native_widget_types.h" #include "base/file_path.h" #include "base/ref_counted.h" -#include "base/scoped_ptr.h" -#include "third_party/skia/include/core/SkBitmap.h" #include <string> @@ -19,6 +17,7 @@ class MessageLoop; class Profile; class InfoBarDelegate; class SandboxedExtensionUnpacker; +class SkBitmap; class TabContents; // Displays all the UI around extension installation. @@ -43,7 +42,7 @@ class ExtensionInstallUI { const std::wstring& warning_text); static void ShowExtensionInstallError(const std::string& error); - explicit ExtensionInstallUI(Profile* profile); + ExtensionInstallUI(Profile* profile); // This is called by the installer to verify whether the installation should // proceed. @@ -76,7 +75,6 @@ class ExtensionInstallUI { Profile* profile_; MessageLoop* ui_loop_; std::string previous_theme_id_; // Used to undo theme installation. - SkBitmap icon_; // The extensions installation icon. #if defined(TOOLKIT_GTK) // Also needed to undo theme installation in the linux UI. |