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

Unified Diff: chrome/common/extensions/permissions/permission_set.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/permission_set.h
diff --git a/chrome/common/extensions/permissions/permission_set.h b/chrome/common/extensions/permissions/permission_set.h
index efecbf48df68bc75dcb09fdacfc625239482475f..9d669da4560b7036990f4c5cb3a278b2cef54c65 100644
--- a/chrome/common/extensions/permissions/permission_set.h
+++ b/chrome/common/extensions/permissions/permission_set.h
@@ -78,13 +78,17 @@ class PermissionSet
// Gets the localized permission messages that represent this set.
// The set of permission messages shown varies by extension type.
- PermissionMessages GetPermissionMessages(Manifest::Type extension_type)
- const;
+ PermissionMessages GetPermissionMessages(Manifest::Type extension_type) const;
// Gets the localized permission messages that represent this set (represented
// as strings). The set of permission messages shown varies by extension type.
- std::vector<string16> GetWarningMessages(Manifest::Type extension_type)
- const;
+ std::vector<string16> GetWarningMessages(Manifest::Type extension_type) const;
+
+ // Gets the localized permission details for messages that represent this set
+ // (represented as strings). The set of permission messages shown varies by
+ // extension type.
+ std::vector<string16> GetWarningMessagesDetails(
+ Manifest::Type extension_type) const;
// Returns true if this is an empty set (e.g., the default permission set).
bool IsEmpty() const;

Powered by Google App Engine
This is Rietveld 408576698