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

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

Issue 8879022: retry 113568 - extensions: remove install/uninstall terminology (Closed) Base URL: svn://svn.chromium.org/chrome/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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 ~Prompt(); 46 ~Prompt();
47 47
48 void SetPermissions(std::vector<string16> permissions); 48 void SetPermissions(std::vector<string16> permissions);
49 void SetInlineInstallWebstoreData(std::string localized_user_count, 49 void SetInlineInstallWebstoreData(std::string localized_user_count,
50 double average_rating, 50 double average_rating,
51 int rating_count); 51 int rating_count);
52 52
53 PromptType type() const { return type_; } 53 PromptType type() const { return type_; }
54 54
55 // Getters for UI element labels. 55 // Getters for UI element labels.
56 string16 GetDialogTitle() const; 56 string16 GetDialogTitle(const Extension* extension) const;
57 string16 GetHeading(std::string extension_name) const; 57 string16 GetHeading(std::string extension_name) const;
58 string16 GetAcceptButtonLabel() const; 58 string16 GetAcceptButtonLabel() const;
59 bool HasAbortButtonLabel() const; 59 bool HasAbortButtonLabel() const;
60 string16 GetAbortButtonLabel() const; 60 string16 GetAbortButtonLabel() const;
61 string16 GetPermissionsHeader() const; 61 string16 GetPermissionsHeader() const;
62 62
63 // Getters for webstore metadata. Only populated when the type is 63 // Getters for webstore metadata. Only populated when the type is
64 // INLINE_INSTALL_PROMPT. 64 // INLINE_INSTALL_PROMPT.
65 65
66 // The star display logic replicates the one used by the webstore (from 66 // The star display logic replicates the one used by the webstore (from
(...skipping 151 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_global_error.cc ('k') | chrome/browser/extensions/extension_install_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698