summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/constrained_window_constants.h
blob: 384059d5fb01e77183230773681ba7fd73aa5885 (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
35
36
37
// 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_

#include "ui/base/resource/resource_bundle.h"

///////////////////////////////////////////////////////////////////////////////
// ConstrainedWindowConstants
//
// Style hints shared among platforms.
//
class ConstrainedWindowConstants {
 public:
  static const int kTitleTopPadding; // Padding above the title.
  static const int kHorizontalPadding; // Left and right padding.
  static const int kClientTopPadding; // Padding above the client view.
  static const int kClientBottomPadding; // Padding below the client view.
  static const int kCloseButtonPadding; // Padding around the close button.
  static const int kBorderRadius; // Border radius for dialog corners.
  static const int kRowPadding; // Padding between rows of text.
  static const int kCheckboxIndent; // Indent of checkboxes relative to related
                                    // text.

  // Font style for dialog text.
  static const ui::ResourceBundle::FontStyle kTextFontStyle;

  // Font style for bold dialog text.
  static const ui::ResourceBundle::FontStyle kBoldTextFontStyle;

  // Font style for dialog title.
  static const ui::ResourceBundle::FontStyle kTitleFontStyle;
};

#endif  // CHROME_BROWSER_UI_CONSTRAINED_WINDOW_CONSTANTS_H_