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

Unified Diff: chrome/browser/ui/constrained_window.h

Issue 11077006: Correct padding and focus ring for frameless constrained window dialog (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fix license header 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/constrained_window.h
diff --git a/chrome/browser/ui/constrained_window.h b/chrome/browser/ui/constrained_window.h
index 21efd6512df764d60d64ccba88fbcdcaf2e02e3d..678686fb05be4f64c5a0fbec19eba6e6564727d8 100644
--- a/chrome/browser/ui/constrained_window.h
+++ b/chrome/browser/ui/constrained_window.h
@@ -18,21 +18,6 @@
//
class ConstrainedWindow {
public:
- static const int kVerticalPadding = 14; // top/bottom padding.
- static const int kHorizontalPadding = 17; // left/right padding.
- static const int kRowPadding = 20; // Vertical margin between dialog rows.
- static const int kBorderRadius = 2; // Border radius for dialog corners.
-
- // 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;
-
static int GetCloseButtonSize(); // Size of close button.
static SkColor GetBackgroundColor(); // Dialog background color.
static SkColor GetTextColor(); // Dialog text color.
« no previous file with comments | « chrome/browser/ui/cocoa/web_intent_sheet_controller.mm ('k') | chrome/browser/ui/constrained_window_constants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698