Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(229)

Side by Side Diff: chrome/browser/ui/constrained_window_constants.h

Issue 11044020: Make Web Intents picker in Views conform to latest mocks (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Add a .cc file for constants to be able to compile in debug mode Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/ui/constrained_window_constants.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_CONSTRAINED_WINDOW_CONSTANTS_H_ 5 #ifndef CHROME_BROWSER_UI_CONSTRAINED_WINDOW_CONSTANTS_H_
6 #define CHROME_BROWSER_UI_CONSTRAINED_WINDOW_CONSTANTS_H_ 6 #define CHROME_BROWSER_UI_CONSTRAINED_WINDOW_CONSTANTS_H_
7 7
8 #include "ui/base/resource/resource_bundle.h"
9
8 /////////////////////////////////////////////////////////////////////////////// 10 ///////////////////////////////////////////////////////////////////////////////
9 // ConstrainedWindowConstants 11 // ConstrainedWindowConstants
10 // 12 //
11 // Style hints shared among platforms. 13 // Style hints shared among platforms.
12 // 14 //
13 class ConstrainedWindowConstants { 15 class ConstrainedWindowConstants {
14 public: 16 public:
15 static const int kTitleTopPadding = 15; // Padding above the title. 17 static const int kTitleTopPadding; // Padding above the title.
16 static const int kHorizontalPadding = 20; // Left and right padding. 18 static const int kHorizontalPadding; // Left and right padding.
17 static const int kClientTopPadding = 18; // Padding above the client view. 19 static const int kClientTopPadding; // Padding above the client view.
18 static const int kClientBottomPadding = 20; // Padding below the client view. 20 static const int kClientBottomPadding; // Padding below the client view.
19 static const int kCloseButtonPadding = 7; // Padding around the close button. 21 static const int kCloseButtonPadding; // Padding around the close button.
20 static const int kBorderRadius = 2; // Border radius for dialog corners. 22 static const int kBorderRadius; // Border radius for dialog corners.
21 static const int kRowPadding = 20; // Padding between rows of text. 23 static const int kRowPadding; // Padding between rows of text.
22 24
23 // Font style for dialog text. 25 // Font style for dialog text.
24 static const ui::ResourceBundle::FontStyle kTextFontStyle = 26 static const ui::ResourceBundle::FontStyle kTextFontStyle;
25 ui::ResourceBundle::BaseFont; 27
26 // Font style for bold dialog text. 28 // Font style for bold dialog text.
27 static const ui::ResourceBundle::FontStyle kBoldTextFontStyle = 29 static const ui::ResourceBundle::FontStyle kBoldTextFontStyle;
28 ui::ResourceBundle::BoldFont; 30
29 // Font style for dialog title. 31 // Font style for dialog title.
30 static const ui::ResourceBundle::FontStyle kTitleFontStyle = 32 static const ui::ResourceBundle::FontStyle kTitleFontStyle;
31 ui::ResourceBundle::MediumFont;
32 }; 33 };
33 34
34 #endif // CHROME_BROWSER_UI_CONSTRAINED_WINDOW_CONSTANTS_H_ 35 #endif // CHROME_BROWSER_UI_CONSTRAINED_WINDOW_CONSTANTS_H_
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/ui/constrained_window_constants.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698