| Index: chrome/browser/ui/constrained_window_constants.h
|
| diff --git a/chrome/browser/ui/constrained_window_constants.h b/chrome/browser/ui/constrained_window_constants.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..0d9d9efc6190c6b6de11f3a7ddaa49ae758bed64
|
| --- /dev/null
|
| +++ b/chrome/browser/ui/constrained_window_constants.h
|
| @@ -0,0 +1,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_
|
|
|