Index: views/layout/layout_constants.h |
diff --git a/views/layout/layout_constants.h b/views/layout/layout_constants.h |
index 85633d4ae92e065fc5e1b4ee0e854e61ff382a9e..8e85bc020262d530838f89431178a0a87ee0c7f4 100644 |
--- a/views/layout/layout_constants.h |
+++ b/views/layout/layout_constants.h |
@@ -6,66 +6,7 @@ |
#define VIEWS_LAYOUT_LAYOUT_CONSTANTS_H_ |
#pragma once |
-// This file contains some constants we use to implement our standard panel |
-// layout. |
-// see: spec 21/4 |
- |
-namespace views { |
- |
-// Left or right margin. |
-const int kPanelHorizMargin = 13; |
- |
-// Top or bottom margin. |
-const int kPanelVertMargin = 13; |
- |
-// If some UI has some sub UI. Indent horizontally by the following value. |
-const int kPanelHorizIndentation = 24; |
- |
-// When several controls are aligned vertically, the baseline should be spaced |
-// by the following number of pixels. |
-const int kPanelVerticalSpacing = 32; |
- |
-// Vertical spacing between sub UI. |
-const int kPanelSubVerticalSpacing = 24; |
- |
-// Vertical spacing between a label and some control. |
-const int kLabelToControlVerticalSpacing = 8; |
- |
-// Small horizontal spacing between controls that are logically related. |
-const int kRelatedControlSmallHorizontalSpacing = 8; |
- |
-// Horizontal spacing between controls that are logically related. |
-const int kRelatedControlHorizontalSpacing = 8; |
- |
-// Vertical spacing between controls that are logically related. |
-const int kRelatedControlVerticalSpacing = 8; |
- |
-// Small vertical spacing between controls that are logically related. |
-const int kRelatedControlSmallVerticalSpacing = 4; |
- |
-// Horizontal spacing between controls that are logically unrelated. |
-const int kUnrelatedControlHorizontalSpacing = 12; |
- |
-// Larger horizontal spacing between unrelated controls. |
-const int kUnrelatedControlLargeHorizontalSpacing = 20; |
- |
-// Vertical spacing between controls that are logically unrelated. |
-const int kUnrelatedControlVerticalSpacing = 20; |
- |
-// Larger vertical spacing between unrelated controls. |
-const int kUnrelatedControlLargeVerticalSpacing = 30; |
- |
-// Vertical spacing between the edge of the window and the |
-// top or bottom of a button. |
-const int kButtonVEdgeMargin = 6; |
- |
-// Vertical spacing between the edge of the window and the |
-// left or right of a button. |
-const int kButtonHEdgeMargin = 7; |
- |
-// Horizontal spacing between buttons that are logically related. |
-const int kRelatedButtonHSpacing = 6; |
- |
-} // namespace views |
+#include "ui/views/layout/layout_constants.h" |
+// TODO(tfarina): remove this file once all includes have been updated. |
#endif // VIEWS_LAYOUT_LAYOUT_CONSTANTS_H_ |