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

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

Issue 160501: Try again to land: http://codereview.chromium.org/160483 (Closed)
Patch Set: Created 11 years, 4 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
OLDNEW
(Empty)
1 // Copyright (c) 2009 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_H_
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_INSTALL_UI_H_
7
8 #include "base/file_path.h"
9 #include "base/gfx/native_widget_types.h"
10 #include "base/ref_counted.h"
11 #include "chrome/browser/extensions/crx_installer.h"
12
13 class ExtensionsService;
14 class MessageLoop;
15 class Profile;
16 class SandboxedExtensionUnpacker;
17
18 // Displays all the UI around extension installation.
19 //
20 // TODO(aa): This will become a view and move to browser/views/extensions in the
21 // future.
22 class ExtensionInstallUI : public CrxInstallerClient {
23 public:
24 ExtensionInstallUI(Profile* profile);
25
26 private:
27 // CrxInstallerClient
28 virtual bool ConfirmInstall(Extension* extension);
29 virtual void OnInstallSuccess(Extension* extension);
30 virtual void OnInstallFailure(const std::string& error);
31 virtual void OnOverinstallAttempted(Extension* extension);
32
33 void ShowThemeInfoBar(Extension* extension);
34
35 Profile* profile_;
36 MessageLoop* ui_loop_;
37 };
38
39 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_INSTALL_UI_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/crx_installer.cc ('k') | chrome/browser/extensions/extension_install_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698