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

Unified Diff: chrome/browser/defaults.cc

Issue 165272: Add a first attempt at a compact location bar and a status bar. The status ba... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 4 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/defaults.h ('k') | chrome/browser/gtk/browser_window_gtk.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/defaults.cc
===================================================================
--- chrome/browser/defaults.cc (revision 22968)
+++ chrome/browser/defaults.cc (working copy)
@@ -8,7 +8,9 @@
#if defined(OS_CHROMEOS)
-const bool kForceAutocompleteEditFontSize = false;
+const double kAutocompleteEditFontPixelSize = 12.0;
+const double kAutocompleteEditFontPixelSizeInPopup = kAutocompletePopupFontSize;
+
const int kAutocompletePopupFontSize = 7;
const SessionStartupPref::Type kDefaultSessionStartupType =
SessionStartupPref::LAST;
@@ -17,7 +19,14 @@
#elif defined(OS_LINUX)
-const bool kForceAutocompleteEditFontSize = true;
+// 13.4px = 10pt @ 96dpi.
+const double kAutocompleteEditFontPixelSize = 13.4;
+
+// On Windows, popup windows' autocomplete box have a font 5/6 the size of a
+// regular window, which we duplicate here for GTK.
+const double kAutocompleteEditFontPixelSizeInPopup =
+ kAutocompleteEditFontPixelSize * 5.0 / 6.0;
+
const int kAutocompletePopupFontSize = 10;
#endif
« no previous file with comments | « chrome/browser/defaults.h ('k') | chrome/browser/gtk/browser_window_gtk.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698