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

Unified Diff: content/child/blink_platform_impl.cc

Issue 2291883002: Fix missing style includes when inspector is used to force mobile. (Closed)
Patch Set: Fix grd file. Created 4 years, 4 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 | « no previous file | third_party/WebKit/public/blink_resources.grd » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/blink_platform_impl.cc
diff --git a/content/child/blink_platform_impl.cc b/content/child/blink_platform_impl.cc
index 5f644d39fcc4329b84c2c852e2cbe9519259de38..5b53a60a1822ee73e4623e2ecd985c642135b183 100644
--- a/content/child/blink_platform_impl.cc
+++ b/content/child/blink_platform_impl.cc
@@ -639,25 +639,26 @@ const DataResource kDataResources[] = {
{"html.css", IDR_UASTYLE_HTML_CSS, ui::SCALE_FACTOR_NONE},
{"quirks.css", IDR_UASTYLE_QUIRKS_CSS, ui::SCALE_FACTOR_NONE},
{"view-source.css", IDR_UASTYLE_VIEW_SOURCE_CSS, ui::SCALE_FACTOR_NONE},
-#if defined(OS_ANDROID)
+ // Not limited to Android since it's used for mobile layouts in inspector.
{"themeChromiumAndroid.css",
IDR_UASTYLE_THEME_CHROMIUM_ANDROID_CSS,
ui::SCALE_FACTOR_NONE},
+ // Not limited to Android since it's used for mobile layouts in inspector.
{"fullscreenAndroid.css",
IDR_UASTYLE_FULLSCREEN_ANDROID_CSS,
ui::SCALE_FACTOR_NONE},
+ // Not limited to Android since it's used for mobile layouts in inspector.
{"mediaControlsAndroid.css",
IDR_UASTYLE_MEDIA_CONTROLS_ANDROID_CSS,
ui::SCALE_FACTOR_NONE},
+ // Not limited to Android since it's used for mobile layouts in inspector.
{"mediaControlsAndroidNew.css",
IDR_UASTYLE_MEDIA_CONTROLS_ANDROID_NEW_CSS,
ui::SCALE_FACTOR_NONE},
-#endif
-#if !defined(OS_WIN)
+ // Not limited to Linux since it's used for mobile layouts in inspector.
{"themeChromiumLinux.css",
IDR_UASTYLE_THEME_CHROMIUM_LINUX_CSS,
ui::SCALE_FACTOR_NONE},
-#endif
{"themeInputMultipleFields.css",
IDR_UASTYLE_THEME_INPUT_MULTIPLE_FIELDS_CSS,
ui::SCALE_FACTOR_NONE},
« no previous file with comments | « no previous file | third_party/WebKit/public/blink_resources.grd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698