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

Unified Diff: chrome/browser/chromeos/login/helper.h

Issue 4179001: [cros] Fix UI issues on SignIn pod. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 10 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
« no previous file with comments | « chrome/browser/chromeos/login/guest_user_view.cc ('k') | chrome/browser/chromeos/login/helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/login/helper.h
diff --git a/chrome/browser/chromeos/login/helper.h b/chrome/browser/chromeos/login/helper.h
index ed700cdc6993f0a70cd708f92186d2a767855a6e..1dc4b02546b868a6e3f868f851501a839113d3aa 100644
--- a/chrome/browser/chromeos/login/helper.h
+++ b/chrome/browser/chromeos/login/helper.h
@@ -18,7 +18,9 @@ class Size;
} // namespace gfx
namespace views {
+class NativeButton;
class Painter;
+class Textfield;
class Throbber;
} // namespace views
@@ -38,6 +40,12 @@ views::Painter* CreateBackgroundPainter();
// |size| is not empty. Otherwise the whole monitor is occupied.
gfx::Rect CalculateScreenBounds(const gfx::Size& size);
+// Corrects font size for NativeButton control.
+void CorrectNativeButtonFontSize(views::NativeButton* button);
+
+// Corrects font size for Textfield control.
+void CorrectTextfieldFontSize(views::Textfield* textfield);
+
// Returns URL used for account recovery.
GURL GetAccountRecoveryHelpUrl();
@@ -50,6 +58,9 @@ enum Command {
SIGN_OUT,
};
+// Minimal width for the button.
+const int kButtonMinWidth = 90;
+
// Gap between edge and image view, and image view and controls.
const int kBorderSize = 6;
@@ -62,6 +73,9 @@ const SkColor kBackgroundColor = SK_ColorWHITE;
// Text color on the login controls.
const SkColor kTextColor = SK_ColorWHITE;
+// Default link color on login/OOBE controls.
+const SkColor kLinkColor = 0xFF0066CC;
+
// Default size of the OOBE screen. Includes 10px shadow from each side.
// See rounded_rect_painter.cc for border definitions.
const int kWizardScreenWidth = 800;
« no previous file with comments | « chrome/browser/chromeos/login/guest_user_view.cc ('k') | chrome/browser/chromeos/login/helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698