| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 CHROME_BROWSER_UI_VIEWS_HARMONY_LAYOUT_DELEGATE_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_HARMONY_LAYOUT_DELEGATE_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_HARMONY_LAYOUT_DELEGATE_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_HARMONY_LAYOUT_DELEGATE_H_ |
| 7 | 7 |
| 8 #include "ui/views/layout/grid_layout.h" | 8 #include "ui/views/layout/grid_layout.h" |
| 9 | 9 |
| 10 namespace views { | 10 namespace views { |
| (...skipping 22 matching lines...) Expand all Loading... |
| 33 // button in the upper trailing corner. | 33 // button in the upper trailing corner. |
| 34 DIALOG_CLOSE_BUTTON_MARGIN, | 34 DIALOG_CLOSE_BUTTON_MARGIN, |
| 35 // Horizontal or vertical margin between the edge of a panel and the | 35 // Horizontal or vertical margin between the edge of a panel and the |
| 36 // contained content. | 36 // contained content. |
| 37 PANEL_CONTENT_MARGIN, | 37 PANEL_CONTENT_MARGIN, |
| 38 // Horizontal spacing between buttons that are logically related, e.g. | 38 // Horizontal spacing between buttons that are logically related, e.g. |
| 39 // for a button set. | 39 // for a button set. |
| 40 RELATED_BUTTON_HORIZONTAL_SPACING, | 40 RELATED_BUTTON_HORIZONTAL_SPACING, |
| 41 // Horizontal spacing between other controls that are logically related. | 41 // Horizontal spacing between other controls that are logically related. |
| 42 RELATED_CONTROL_HORIZONTAL_SPACING, | 42 RELATED_CONTROL_HORIZONTAL_SPACING, |
| 43 // Smaller horizontal spacing between other controls that are logically |
| 44 // related. |
| 45 RELATED_CONTROL_HORIZONTAL_SPACING_SMALL, |
| 43 // Vertical spacing between controls that are logically related. | 46 // Vertical spacing between controls that are logically related. |
| 44 RELATED_CONTROL_VERTICAL_SPACING, | 47 RELATED_CONTROL_VERTICAL_SPACING, |
| 48 // Smaller vertical spacing between controls that are logically related. |
| 49 RELATED_CONTROL_VERTICAL_SPACING_SMALL, |
| 45 // Horizontal spacing between an item such as an icon or checkbox and a | 50 // Horizontal spacing between an item such as an icon or checkbox and a |
| 46 // label related to it. | 51 // label related to it. |
| 47 RELATED_LABEL_HORIZONTAL_SPACING, | 52 RELATED_LABEL_HORIZONTAL_SPACING, |
| 48 // Horizontal indent of a subsection relative to related items above, e.g. | 53 // Horizontal indent of a subsection relative to related items above, e.g. |
| 49 // checkboxes below explanatory text/headings. | 54 // checkboxes below explanatory text/headings. |
| 50 SUBSECTION_HORIZONTAL_INDENT, | 55 SUBSECTION_HORIZONTAL_INDENT, |
| 51 // Horizontal spacing between controls that are logically unrelated. | 56 // Horizontal spacing between controls that are logically unrelated. |
| 52 UNRELATED_CONTROL_HORIZONTAL_SPACING, | 57 UNRELATED_CONTROL_HORIZONTAL_SPACING, |
| 53 // Larger horizontal spacing between unrelated controls. | 58 // Larger horizontal spacing between unrelated controls. |
| 54 UNRELATED_CONTROL_HORIZONTAL_SPACING_LARGE, | 59 UNRELATED_CONTROL_HORIZONTAL_SPACING_LARGE, |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 | 110 |
| 106 // Returns the class that maps views::style values (TextContext and TextStyle) | 111 // Returns the class that maps views::style values (TextContext and TextStyle) |
| 107 // to specific font properties (e.g. typeface, size, color, line spacing). | 112 // to specific font properties (e.g. typeface, size, color, line spacing). |
| 108 virtual const views::TypographyProvider& GetTypographyProvider() const; | 113 virtual const views::TypographyProvider& GetTypographyProvider() const; |
| 109 | 114 |
| 110 private: | 115 private: |
| 111 DISALLOW_COPY_AND_ASSIGN(LayoutDelegate); | 116 DISALLOW_COPY_AND_ASSIGN(LayoutDelegate); |
| 112 }; | 117 }; |
| 113 | 118 |
| 114 #endif // CHROME_BROWSER_UI_VIEWS_HARMONY_LAYOUT_DELEGATE_H_ | 119 #endif // CHROME_BROWSER_UI_VIEWS_HARMONY_LAYOUT_DELEGATE_H_ |
| OLD | NEW |