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

Unified Diff: chrome/browser/chrome_content_browser_client.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/automation/testing_automation_provider.cc ('k') | chrome/browser/defaults.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chrome_content_browser_client.cc
diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc
index dd9f6791f8211d33bca765500d3bb305af516c3f..51655428fd4a9499cc25e3ad85c48374b3ff9163 100644
--- a/chrome/browser/chrome_content_browser_client.cc
+++ b/chrome/browser/chrome_content_browser_client.cc
@@ -653,14 +653,7 @@ std::string ChromeContentBrowserClient::GetAcceptLangs(
SkBitmap* ChromeContentBrowserClient::GetDefaultFavicon() {
ResourceBundle& rb = ResourceBundle::GetSharedInstance();
-#if defined(TOUCH_UI)
- // In touch builds, we want large default favicons for the tabstrip, but in
- // other places (such as bookmark, manage search engines, homepage) we assume
- // default favicons are 16x16.
- return rb.GetBitmapNamed(IDR_DEFAULT_LARGE_FAVICON);
-#else
return rb.GetBitmapNamed(IDR_DEFAULT_FAVICON);
-#endif
}
bool ChromeContentBrowserClient::AllowAppCache(
« no previous file with comments | « chrome/browser/automation/testing_automation_provider.cc ('k') | chrome/browser/defaults.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698