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

Unified Diff: ui/views/controls/separator.h

Issue 736613002: Makes Separator more configurable. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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 | ui/views/controls/separator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/separator.h
diff --git a/ui/views/controls/separator.h b/ui/views/controls/separator.h
index 39004baf378e41b7c839d7199cb4da9fb8d37430..e0021a1b99f216d560d5806541fb3a8678ed725c 100644
--- a/ui/views/controls/separator.h
+++ b/ui/views/controls/separator.h
@@ -25,6 +25,9 @@ class VIEWS_EXPORT Separator : public View {
static const char kViewClassName[];
explicit Separator(Orientation orientation);
+ Separator(Orientation orientation, SkColor color);
sky 2014/11/18 18:04:06 We generally don't have constructors like this. At
melandory 2014/11/18 19:12:47 Done.
+ Separator(Orientation orientation, SkColor color, int height);
+
~Separator() override;
// Overridden from View:
@@ -35,6 +38,8 @@ class VIEWS_EXPORT Separator : public View {
private:
const Orientation orientation_;
+ const SkColor color_;
+ const int height_;
DISALLOW_COPY_AND_ASSIGN(Separator);
};
« no previous file with comments | « no previous file | ui/views/controls/separator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698