OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef UI_VIEWS_CONTROLS_SEPARATOR_H_ | 5 #ifndef UI_VIEWS_CONTROLS_SEPARATOR_H_ |
6 #define UI_VIEWS_CONTROLS_SEPARATOR_H_ | 6 #define UI_VIEWS_CONTROLS_SEPARATOR_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
| 10 #include "base/macros.h" |
10 #include "ui/views/view.h" | 11 #include "ui/views/view.h" |
11 | 12 |
12 namespace views { | 13 namespace views { |
13 | 14 |
14 // The Separator class is a view that shows a line used to visually separate | 15 // The Separator class is a view that shows a line used to visually separate |
15 // other views. | 16 // other views. |
16 | 17 |
17 class VIEWS_EXPORT Separator : public View { | 18 class VIEWS_EXPORT Separator : public View { |
18 public: | 19 public: |
19 enum Orientation { | 20 enum Orientation { |
(...skipping 25 matching lines...) Expand all Loading... |
45 const Orientation orientation_; | 46 const Orientation orientation_; |
46 SkColor color_; | 47 SkColor color_; |
47 int size_; | 48 int size_; |
48 | 49 |
49 DISALLOW_COPY_AND_ASSIGN(Separator); | 50 DISALLOW_COPY_AND_ASSIGN(Separator); |
50 }; | 51 }; |
51 | 52 |
52 } // namespace views | 53 } // namespace views |
53 | 54 |
54 #endif // UI_VIEWS_CONTROLS_SEPARATOR_H_ | 55 #endif // UI_VIEWS_CONTROLS_SEPARATOR_H_ |
OLD | NEW |