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

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

Issue 254007: Wires up views on linux dialogs to use gtk ones. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/browser_theme_provider.cc ('k') | chrome/browser/gtk/bookmark_manager_gtk.h » ('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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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(OS_CHROMEOS) 9 #if defined(OS_CHROMEOS)
10 10
(...skipping 12 matching lines...) Expand all
23 // 13.4px = 10pt @ 96dpi. 23 // 13.4px = 10pt @ 96dpi.
24 const double kAutocompleteEditFontPixelSize = 13.4; 24 const double kAutocompleteEditFontPixelSize = 13.4;
25 25
26 // On Windows, popup windows' autocomplete box have a font 5/6 the size of a 26 // On Windows, popup windows' autocomplete box have a font 5/6 the size of a
27 // regular window, which we duplicate here for GTK. 27 // regular window, which we duplicate here for GTK.
28 const double kAutocompleteEditFontPixelSizeInPopup = 28 const double kAutocompleteEditFontPixelSizeInPopup =
29 kAutocompleteEditFontPixelSize * 5.0 / 6.0; 29 kAutocompleteEditFontPixelSize * 5.0 / 6.0;
30 30
31 const int kAutocompletePopupFontSize = 10; 31 const int kAutocompletePopupFontSize = 10;
32 32
33 #if defined(TOOLKIT_VIEWS)
34 const bool kCanToggleSystemTitleBar = false;
35 #else
33 const bool kCanToggleSystemTitleBar = true; 36 const bool kCanToggleSystemTitleBar = true;
37 #endif
34 38
35 #endif 39 #endif
36 40
37 #if !defined(OS_CHROMEOS) 41 #if !defined(OS_CHROMEOS)
38 42
39 const SessionStartupPref::Type kDefaultSessionStartupType = 43 const SessionStartupPref::Type kDefaultSessionStartupType =
40 SessionStartupPref::DEFAULT; 44 SessionStartupPref::DEFAULT;
41 const bool kSuppressCrashInfoBar = false; 45 const bool kSuppressCrashInfoBar = false;
42 const int kPinnedTabWidth = 56; 46 const int kPinnedTabWidth = 56;
43 47
44 #endif 48 #endif
45 49
46 } // namespace browser_defaults 50 } // namespace browser_defaults
OLDNEW
« no previous file with comments | « chrome/browser/browser_theme_provider.cc ('k') | chrome/browser/gtk/bookmark_manager_gtk.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698