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

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

Issue 165373: Merge 23055 - Make the theme install infobar have an 'undo' button instead... (Closed) Base URL: svn://chrome-svn/chrome/branches/195/src/
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 | Annotate | Revision Log
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/extensions/extension_install_ui.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Modified: svn:mergeinfo
Merged /trunk/src/chrome/browser/extensions/extension_install_ui.h:r23055
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_INSTALL_UI_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_INSTALL_UI_H_
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_INSTALL_UI_H_ 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_INSTALL_UI_H_
7 7
8 #include "base/file_path.h" 8 #include "base/file_path.h"
9 #include "base/gfx/native_widget_types.h" 9 #include "base/gfx/native_widget_types.h"
10 #include "base/ref_counted.h" 10 #include "base/ref_counted.h"
(...skipping 16 matching lines...) Expand all
27 ExtensionInstallUI(Profile* profile); 27 ExtensionInstallUI(Profile* profile);
28 28
29 private: 29 private:
30 // CrxInstallerClient 30 // CrxInstallerClient
31 virtual void ConfirmInstall(CrxInstaller* installer, Extension* extension, 31 virtual void ConfirmInstall(CrxInstaller* installer, Extension* extension,
32 SkBitmap* icon); 32 SkBitmap* icon);
33 virtual void OnInstallSuccess(Extension* extension); 33 virtual void OnInstallSuccess(Extension* extension);
34 virtual void OnInstallFailure(const std::string& error); 34 virtual void OnInstallFailure(const std::string& error);
35 virtual void OnOverinstallAttempted(Extension* extension); 35 virtual void OnOverinstallAttempted(Extension* extension);
36 36
37 void ShowThemeInfoBar(Extension* extension); 37 void ShowThemeInfoBar(Extension* new_theme);
38 38
39 Profile* profile_; 39 Profile* profile_;
40 MessageLoop* ui_loop_; 40 MessageLoop* ui_loop_;
41 std::string previous_theme_id_; // Used to undo theme installation.
41 }; 42 };
42 43
43 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_INSTALL_UI_H_ 44 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_INSTALL_UI_H_
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/extensions/extension_install_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698