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

Unified Diff: content/browser/zygote_host/zygote_host_impl_linux.cc

Issue 10827256: Pass touch layout related flags to zygote process. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Pass --touch-optimized-ui to zygote as well if specified. Created 8 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/zygote_host/zygote_host_impl_linux.cc
diff --git a/content/browser/zygote_host/zygote_host_impl_linux.cc b/content/browser/zygote_host/zygote_host_impl_linux.cc
index 79913b01344a8c090be7388264b76c377b486da2..6ef54874282fb8d0e882d01b08297705504cb1b3 100644
--- a/content/browser/zygote_host/zygote_host_impl_linux.cc
+++ b/content/browser/zygote_host/zygote_host_impl_linux.cc
@@ -102,9 +102,13 @@ void ZygoteHostImpl::Init(const std::string& sandbox_cmd) {
switches::kDisableSeccompSandbox,
switches::kDisableSeccompFilterSandbox,
switches::kEnableSeccompSandbox,
+
// Zygote process needs to know what resources to have loaded when it
// becomes a renderer process.
+ switches::kEnableTouchEvents,
switches::kForceDeviceScaleFactor,
+ switches::kTouchOptimizedUI,
+
switches::kNoSandbox,
};
cmd_line.CopySwitchesFrom(browser_command_line, kForwardSwitches,
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698