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