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

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

Issue 8890086: Issue 71980: Extensions code should use UTF-16 for user-visible Unicode strings (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 9 years 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
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 // 138 //
139 // We *MUST* eventually call either Proceed() or Abort() on |delegate|. 139 // We *MUST* eventually call either Proceed() or Abort() on |delegate|.
140 virtual void ConfirmPermissions(Delegate* delegate, 140 virtual void ConfirmPermissions(Delegate* delegate,
141 const Extension* extension, 141 const Extension* extension,
142 const ExtensionPermissionSet* permissions); 142 const ExtensionPermissionSet* permissions);
143 143
144 // Installation was successful. This is declared virtual for testing. 144 // Installation was successful. This is declared virtual for testing.
145 virtual void OnInstallSuccess(const Extension* extension, SkBitmap* icon); 145 virtual void OnInstallSuccess(const Extension* extension, SkBitmap* icon);
146 146
147 // Installation failed. This is declared virtual for testing. 147 // Installation failed. This is declared virtual for testing.
148 virtual void OnInstallFailure(const std::string& error); 148 virtual void OnInstallFailure(const string16& error);
149 149
150 // ImageLoadingTracker::Observer: 150 // ImageLoadingTracker::Observer:
151 virtual void OnImageLoaded( 151 virtual void OnImageLoaded(
152 SkBitmap* image, const ExtensionResource& resource, int index) OVERRIDE; 152 SkBitmap* image, const ExtensionResource& resource, int index) OVERRIDE;
153 153
154 // Opens a new tab page and animates the app icon for the app with id 154 // Opens a new tab page and animates the app icon for the app with id
155 // |app_id|. 155 // |app_id|.
156 static void OpenAppInstalledNTP(Browser* browser, const std::string& app_id); 156 static void OpenAppInstalledNTP(Browser* browser, const std::string& app_id);
157 157
158 protected: 158 protected:
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 218
219 // Whether to show an installed bubble on app install, or use the default 219 // Whether to show an installed bubble on app install, or use the default
220 // action of opening a new tab page. 220 // action of opening a new tab page.
221 bool use_app_installed_bubble_; 221 bool use_app_installed_bubble_;
222 222
223 // Whether or not to show the default UI after completing the installation. 223 // Whether or not to show the default UI after completing the installation.
224 bool skip_post_install_ui_; 224 bool skip_post_install_ui_;
225 }; 225 };
226 226
227 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_INSTALL_UI_H_ 227 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_INSTALL_UI_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_error_reporter.cc ('k') | chrome/browser/extensions/extension_install_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698