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/defaults.cc

Issue 8678015: Touch constants and dead code removal. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Applied Sadrul's comments Created 9 years, 1 month 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/chrome_content_browser_client.cc ('k') | chrome/browser/download/download_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/defaults.cc
diff --git a/chrome/browser/defaults.cc b/chrome/browser/defaults.cc
index ed5981b446347f88b9b52740c18c0e48294c670e..560a4c7ff7b4f1a9618299587ad6c05f287c9caa 100644
--- a/chrome/browser/defaults.cc
+++ b/chrome/browser/defaults.cc
@@ -78,30 +78,14 @@ const bool kBrowserAliveWithNoWindows = true;
const bool kBrowserAliveWithNoWindows = false;
#endif
-#ifdef TOUCH_UI
-const int kBookmarkBarHeight = 50;
-const int kNewtabBookmarkBarHeight = 72;
-// TouchUI issue with opening too many tabs.
-const int kMaxTabCount = 4;
-#else
const int kBookmarkBarHeight = 28;
const int kNewtabBookmarkBarHeight = 57;
const int kMaxTabCount = INT_MAX;
-#endif
-#ifdef TOUCH_UI
-const ui::ResourceBundle::FontStyle kAssociatedNetworkFontStyle =
- ui::ResourceBundle::LargeBoldFont;
-#else
const ui::ResourceBundle::FontStyle kAssociatedNetworkFontStyle =
ui::ResourceBundle::BoldFont;
-#endif
-#ifdef TOUCH_UI
-const int kInfoBarBorderPaddingVertical = 12;
-#else
const int kInfoBarBorderPaddingVertical = 5;
-#endif
bool bookmarks_enabled = true;
« no previous file with comments | « chrome/browser/chrome_content_browser_client.cc ('k') | chrome/browser/download/download_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698