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

Unified Diff: chrome/browser/ui/views/apps/app_info_dialog/app_info_permissions_panel.h

Issue 341703003: Make App Info Dialog file permissions middle elided (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Changed method to use two parameters Created 6 years, 6 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
« no previous file with comments | « no previous file | chrome/browser/ui/views/apps/app_info_dialog/app_info_permissions_panel.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/apps/app_info_dialog/app_info_permissions_panel.h
diff --git a/chrome/browser/ui/views/apps/app_info_dialog/app_info_permissions_panel.h b/chrome/browser/ui/views/apps/app_info_dialog/app_info_permissions_panel.h
index fead42f700555a90d64ae44b27a309674a3b48ca..bc6fa6f31891f4cb530efd7f1a4e9be7fd0fe97c 100644
--- a/chrome/browser/ui/views/apps/app_info_dialog/app_info_permissions_panel.h
+++ b/chrome/browser/ui/views/apps/app_info_dialog/app_info_permissions_panel.h
@@ -8,6 +8,7 @@
#include <vector>
#include "chrome/browser/ui/views/apps/app_info_dialog/app_info_panel.h"
+#include "ui/gfx/text_constants.h"
#include "ui/views/controls/button/button.h"
class Profile;
@@ -46,9 +47,12 @@ class AppInfoPermissionsPanel : public AppInfoPanel,
RetainedFilePermissionsObtainedCorrectly);
// Given a list of strings, returns a view containing a list of these strings
- // as bulleted items.
+ // as bulleted items with the given |elide_behavior|. If |allow_multiline| is
+ // true, allow multi-lined bulleted items and ignore the |elide_behavior|.
views::View* CreateBulletedListView(
- const std::vector<base::string16>& messages);
+ const std::vector<base::string16>& messages,
+ bool allow_multiline,
+ gfx::ElideBehavior elide_behavior);
// Internal initialisation methods.
void CreateActivePermissionsControl();
« no previous file with comments | « no previous file | chrome/browser/ui/views/apps/app_info_dialog/app_info_permissions_panel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698