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

Unified Diff: chrome/browser/ui/webui/shared_resources_data_source.cc

Issue 10444043: rename chrome_shared2.css to chrome_shared.css (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 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/resources/uber/uber_frame.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/shared_resources_data_source.cc
diff --git a/chrome/browser/ui/webui/shared_resources_data_source.cc b/chrome/browser/ui/webui/shared_resources_data_source.cc
index 2d6630bc56eec7fe75a38131f226ea1247b05376..23d2f5dfa84b4390037ea01376e73e8fd7a8e6d3 100644
--- a/chrome/browser/ui/webui/shared_resources_data_source.cc
+++ b/chrome/browser/ui/webui/shared_resources_data_source.cc
@@ -51,9 +51,9 @@ int PathToIDR(const std::string& path) {
// In touch layout use some alternate CSS rules.
// Ideally we'd expose a touch-screen media query operator to the web
// at large, and then just use that for WebUI instead. crbug.com/123062
- if (idr == IDR_SHARED_CSS_CHROME2 &&
+ if (idr == IDR_SHARED_CSS_CHROME &&
ui::GetDisplayLayout() == ui::LAYOUT_TOUCH) {
- idr = IDR_SHARED_CSS_CHROME2_TOUCH;
+ idr = IDR_SHARED_CSS_CHROME_TOUCH;
}
}
« no previous file with comments | « chrome/browser/resources/uber/uber_frame.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698