blob: 0d9d9efc6190c6b6de11f3a7ddaa49ae758bed64 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_UI_CONSTRAINED_WINDOW_CONSTANTS_H_
#define CHROME_BROWSER_UI_CONSTRAINED_WINDOW_CONSTANTS_H_
///////////////////////////////////////////////////////////////////////////////
// ConstrainedWindowConstants
//
// Style hints shared among platforms.
//
class ConstrainedWindowConstants {
public:
static const int kTitleTopPadding = 15; // Padding above the title.
static const int kHorizontalPadding = 20; // Left and right padding.
static const int kClientTopPadding = 18; // Padding above the client view.
static const int kClientBottomPadding = 20; // Padding below the client view.
static const int kCloseButtonPadding = 7; // Padding around the close button.
static const int kBorderRadius = 2; // Border radius for dialog corners.
static const int kRowPadding = 20; // Padding between rows of text.
// Font style for dialog text.
static const ui::ResourceBundle::FontStyle kTextFontStyle =
ui::ResourceBundle::BaseFont;
// Font style for bold dialog text.
static const ui::ResourceBundle::FontStyle kBoldTextFontStyle =
ui::ResourceBundle::BoldFont;
// Font style for dialog title.
static const ui::ResourceBundle::FontStyle kTitleFontStyle =
ui::ResourceBundle::MediumFont;
};
#endif // CHROME_BROWSER_UI_CONSTRAINED_WINDOW_CONSTANTS_H_
|