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

Unified Diff: chrome/common/extensions/permissions/permissions_data.h

Issue 18854021: Making the extension permissions dialog scrollable, when needed (adding expandable sections for thi… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Even more param reductions Created 7 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: chrome/common/extensions/permissions/permissions_data.h
diff --git a/chrome/common/extensions/permissions/permissions_data.h b/chrome/common/extensions/permissions/permissions_data.h
index 0e6b647ace9ef14f57fa9d0c8dcbebe9283c1cb1..57f6555fcc471d0f13a55655e7a5b048f6a9aece 100644
--- a/chrome/common/extensions/permissions/permissions_data.h
+++ b/chrome/common/extensions/permissions/permissions_data.h
@@ -140,6 +140,12 @@ class PermissionsData {
static std::vector<string16> GetPermissionMessageStrings(
const Extension* extension);
+ // Returns the full list of permission details for messages that the given
+ // |extension| should display at install time. The messages are returned as
+ // strings for convenience.
+ static std::vector<string16> GetPermissionMessageDetailsStrings(
+ const Extension* extension);
+
// Returns true if the given |extension| can execute script on a page. If a
// UserScript object is passed, permission to run that specific script is
// checked (using its matches list). Otherwise, permission to execute script

Powered by Google App Engine
This is Rietveld 408576698