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

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

Issue 383953002: Moved the version number in App Info Dialog (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed unused subtitle colour Created 6 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/browser/ui/views/apps/app_info_dialog/app_info_panel.h
diff --git a/chrome/browser/ui/views/apps/app_info_dialog/app_info_panel.h b/chrome/browser/ui/views/apps/app_info_dialog/app_info_panel.h
index 2545e6b282086c4786adecdcf5a5bbd2bc424f32..cf280336c6585d46f0ac82100068569f061db80c 100644
--- a/chrome/browser/ui/views/apps/app_info_dialog/app_info_panel.h
+++ b/chrome/browser/ui/views/apps/app_info_dialog/app_info_panel.h
@@ -28,10 +28,21 @@ class AppInfoPanel : public views::View {
// Create a heading label with the given text.
views::Label* CreateHeading(const base::string16& text) const;
+ // Create a left-aligned label with the given text.
+ views::Label* CreateLeftAlignedLabel(const base::string16& text) const;
Matt Giuca 2014/07/14 01:57:23 I don't think this is a worthwhile abstraction --
sashab 2014/07/14 23:19:20 Agreed. Done.
+
// Create a view with a vertically-stacked box layout, which can have child
- // views appended to it.
+ // views appended to it. |child_spacing| defaults to the spacing between
Matt Giuca 2014/07/14 01:57:22 This new comment doesn't really make sense. Maybe
sashab 2014/07/14 23:19:20 Done.
+ // related vertical controls.
+ views::View* CreateVerticalStack(int child_spacing) const;
views::View* CreateVerticalStack() const;
+ // Create a view with a horizontally-stacked box layout, which can have child
+ // views appended to it. |child_spacing| defaults to the spacing between
+ // related horizontal controls.
+ views::View* CreateHorizontalStack(int child_spacing) const;
+ views::View* CreateHorizontalStack() const;
+
Profile* profile_;
const extensions::Extension* app_;

Powered by Google App Engine
This is Rietveld 408576698