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_CHROME_STYLE_H_ 6 #define CHROME_BROWSER_UI_CHROME_STYLE_H_ 7 8 #include "third_party/skia/include/core/SkColor.h" 9 #include "ui/base/resource/resource_bundle.h" 10 11 // This file contains constants and functions specifying appearance properties 12 // of the new "Chrome-style" UI. 13 14 // TODO(wittman): These functions and constants should be moved under src/ui, 15 // possibly src/ui/base, as the "Chrome-style" UI will become the default 16 // styling for Views. 17 18 namespace chrome_style { 19 20 int GetCloseButtonSize(); // Size of close button. 21 SkColor GetBackgroundColor(); // Dialog background color. 22 SkColor GetLinkColor(); // Dialog link color. 23 24 const int kTitleTopPadding = 15; // Padding above the title. 25 const int kHorizontalPadding = 20; // Left and right padding. 26 const int kClientBottomPadding = 20; // Padding below the client view. 27 const int kCloseButtonPadding = 7; // Padding around the close button. 28 const int kBorderRadius = 2; // Border radius for dialog corners. 29 const int kRowPadding = 20; // Padding between rows of text. 30 31 // Font style for dialog text. 32 const ui::ResourceBundle::FontStyle kTextFontStyle = 33 ui::ResourceBundle::BaseFont; 34 // Font style for dialog title. 35 const ui::ResourceBundle::FontStyle kTitleFontStyle = 36 ui::ResourceBundle::MediumFont; 37 38 } // namespace chrome_style 39 40 #endif // CHROME_BROWSER_UI_CHROME_STYLE_H_ 41