Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(471)

Side by Side Diff: chrome/browser/extensions/extension_install_ui_default.h

Issue 12095052: Move app_launcher.* out of chrome/browser/extensions and into apps/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Beserk Q. More rebase Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_INSTALL_UI_DEFAULT_H_
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_INSTALL_UI_DEFAULT_H_
7
8 #include "chrome/browser/extensions/extension_install_ui.h"
9
10 class InfoBarDelegate;
11 class Profile;
12
13 namespace content {
14 class WebContents;
15 }
16
17 class ExtensionInstallUIDefault : public ExtensionInstallUI {
18 public:
19 explicit ExtensionInstallUIDefault(Profile* profile);
20 virtual ~ExtensionInstallUIDefault();
21
22 // ExtensionInstallUI implementation:
23 virtual void OnInstallSuccess(const extensions::Extension* extension,
24 SkBitmap* icon) OVERRIDE;
25 virtual void OnInstallFailure(
26 const extensions::CrxInstallerError& error) OVERRIDE;
27 virtual void SetSkipPostInstallUI(bool skip_ui) OVERRIDE;
28 virtual void SetUseAppInstalledBubble(bool use_bubble) OVERRIDE;
29
30 private:
31 // Whether or not to show the default UI after completing the installation.
32 bool skip_post_install_ui_;
33
34 // Used to undo theme installation.
35 std::string previous_theme_id_;
36 bool previous_using_native_theme_;
37
38 // Whether to show an installed bubble on app install, or use the default
39 // action of opening a new tab page.
40 bool use_app_installed_bubble_;
41
42 DISALLOW_IMPLICIT_CONSTRUCTORS(ExtensionInstallUIDefault);
43 };
44
45 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_INSTALL_UI_DEFAULT_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_install_ui_android.cc ('k') | chrome/browser/extensions/extension_install_ui_default.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698