| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_CONSTRAINED_WINDOW_CONSTANTS_H_ | 5 #ifndef CHROME_BROWSER_UI_CONSTRAINED_WINDOW_CONSTANTS_H_ |
| 6 #define CHROME_BROWSER_UI_CONSTRAINED_WINDOW_CONSTANTS_H_ | 6 #define CHROME_BROWSER_UI_CONSTRAINED_WINDOW_CONSTANTS_H_ |
| 7 | 7 |
| 8 #include "ui/base/resource/resource_bundle.h" | |
| 9 | |
| 10 /////////////////////////////////////////////////////////////////////////////// | 8 /////////////////////////////////////////////////////////////////////////////// |
| 11 // ConstrainedWindowConstants | 9 // ConstrainedWindowConstants |
| 12 // | 10 // |
| 13 // Style hints shared among platforms. | 11 // Style hints shared among platforms. |
| 14 // | 12 // |
| 15 class ConstrainedWindowConstants { | 13 class ConstrainedWindowConstants { |
| 16 public: | 14 public: |
| 17 static const int kTitleTopPadding = 15; // Padding above the title. | 15 static const int kTitleTopPadding = 15; // Padding above the title. |
| 18 static const int kHorizontalPadding = 20; // Left and right padding. | 16 static const int kHorizontalPadding = 20; // Left and right padding. |
| 19 static const int kClientTopPadding = 15; // Padding above the client view. | 17 static const int kClientTopPadding = 18; // Padding above the client view. |
| 20 static const int kClientBottomPadding = 20; // Padding below the client view. | 18 static const int kClientBottomPadding = 20; // Padding below the client view. |
| 21 static const int kCloseButtonPadding = 7; // Padding around the close button. | 19 static const int kCloseButtonPadding = 7; // Padding around the close button. |
| 22 static const int kBorderRadius = 2; // Border radius for dialog corners. | 20 static const int kBorderRadius = 2; // Border radius for dialog corners. |
| 23 static const int kRowPadding = 20; // Padding between rows of text. | 21 static const int kRowPadding = 20; // Padding between rows of text. |
| 24 | 22 |
| 25 // Font style for dialog text. | 23 // Font style for dialog text. |
| 26 static const ui::ResourceBundle::FontStyle kTextFontStyle = | 24 static const ui::ResourceBundle::FontStyle kTextFontStyle = |
| 27 ui::ResourceBundle::BaseFont; | 25 ui::ResourceBundle::BaseFont; |
| 28 // Font style for bold dialog text. | 26 // Font style for bold dialog text. |
| 29 static const ui::ResourceBundle::FontStyle kBoldTextFontStyle = | 27 static const ui::ResourceBundle::FontStyle kBoldTextFontStyle = |
| 30 ui::ResourceBundle::BoldFont; | 28 ui::ResourceBundle::BoldFont; |
| 31 // Font style for dialog title. | 29 // Font style for dialog title. |
| 32 static const ui::ResourceBundle::FontStyle kTitleFontStyle = | 30 static const ui::ResourceBundle::FontStyle kTitleFontStyle = |
| 33 ui::ResourceBundle::MediumFont; | 31 ui::ResourceBundle::MediumFont; |
| 34 }; | 32 }; |
| 35 | 33 |
| 36 #endif // CHROME_BROWSER_UI_CONSTRAINED_WINDOW_CONSTANTS_H_ | 34 #endif // CHROME_BROWSER_UI_CONSTRAINED_WINDOW_CONSTANTS_H_ |
| OLD | NEW |