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

Side by Side Diff: chrome/browser/defaults.cc

Issue 16286003: Increase omnibox size by 2 px. Increase nominal font size in omnibox to 16 px. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « chrome/app/theme/theme_resources.grd ('k') | chrome/browser/ui/gtk/location_bar_view_gtk.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 #include "chrome/browser/defaults.h" 5 #include "chrome/browser/defaults.h"
6 6
7 namespace browser_defaults { 7 namespace browser_defaults {
8 8
9 #if defined(USE_X11) 9 #if defined(USE_X11)
10 #if defined(TOOLKIT_VIEWS) 10 #if defined(TOOLKIT_VIEWS)
11 const bool kCanToggleSystemTitleBar = false; 11 const bool kCanToggleSystemTitleBar = false;
12 #else 12 #else
13 const bool kCanToggleSystemTitleBar = true; 13 const bool kCanToggleSystemTitleBar = true;
14 #endif 14 #endif
15 #endif 15 #endif
16 16
17 #if defined(TOOLKIT_GTK) 17 const int kOmniboxFontPixelSize = 16;
18 // 14px = 10.5pt @ 96dpi.
19 const int kOmniboxFontPixelSize = 14;
20 #else
21 // Make the regular omnibox text two points larger than the nine-point font
22 // used in the tab strip (11pt / 72pt/in * 96px/in = 14.667px).
23 const int kOmniboxFontPixelSize = 15;
24 #endif
25 18
26 #if defined(TOOLKIT_VIEWS) 19 #if defined(TOOLKIT_VIEWS)
27 // Windows and Chrome OS have bigger shadows in the tab art. 20 // Windows and Chrome OS have bigger shadows in the tab art.
28 const int kMiniTabWidth = 64; 21 const int kMiniTabWidth = 64;
29 #else 22 #else
30 const int kMiniTabWidth = 56; 23 const int kMiniTabWidth = 56;
31 #endif 24 #endif
32 25
33 const bool kRestorePopups = false; 26 const bool kRestorePopups = false;
34 27
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 const bool kPasswordEchoEnabled = true; 83 const bool kPasswordEchoEnabled = true;
91 #else 84 #else
92 const bool kPasswordEchoEnabled = false; 85 const bool kPasswordEchoEnabled = false;
93 #endif 86 #endif
94 87
95 bool bookmarks_enabled = true; 88 bool bookmarks_enabled = true;
96 89
97 bool enable_help_app = true; 90 bool enable_help_app = true;
98 91
99 } // namespace browser_defaults 92 } // namespace browser_defaults
OLDNEW
« no previous file with comments | « chrome/app/theme/theme_resources.grd ('k') | chrome/browser/ui/gtk/location_bar_view_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698