Commit 1d02badf authored by Mike Wasserman's avatar Mike Wasserman Committed by Commit Bot

Propagate forced direction switches to the utility process

Views mojo apps (eg. Keyboard Shortcut Viewer) will use these switches.

Bug: 856341
Test: cros KSV (Ctrl-Alt-/) respects --force-[ui|text]-direction=rtl
Change-Id: I7f0a2577c6c8dab362125f385305521cd624705f
Reviewed-on: https://chromium-review.googlesource.com/1116003Reviewed-by: default avatarJohn Abd-El-Malek <jam@chromium.org>
Commit-Queue: Michael Wasserman <msw@chromium.org>
Cr-Commit-Position: refs/heads/master@{#570871}
parent d653c303
...@@ -11,6 +11,7 @@ ...@@ -11,6 +11,7 @@
#include "base/bind_helpers.h" #include "base/bind_helpers.h"
#include "base/command_line.h" #include "base/command_line.h"
#include "base/files/file_path.h" #include "base/files/file_path.h"
#include "base/i18n/base_i18n_switches.h"
#include "base/sequenced_task_runner.h" #include "base/sequenced_task_runner.h"
#include "base/strings/utf_string_conversions.h" #include "base/strings/utf_string_conversions.h"
#include "components/network_session_configurator/common/network_switches.h" #include "components/network_session_configurator/common/network_switches.h"
...@@ -284,6 +285,8 @@ bool UtilityProcessHost::StartProcess() { ...@@ -284,6 +285,8 @@ bool UtilityProcessHost::StartProcess() {
#if defined(OS_MACOSX) #if defined(OS_MACOSX)
service_manager::switches::kEnableSandboxLogging, service_manager::switches::kEnableSandboxLogging,
#endif #endif
switches::kForceTextDirection,
switches::kForceUIDirection,
switches::kIgnoreCertificateErrors, switches::kIgnoreCertificateErrors,
switches::kOverrideUseSoftwareGLForTests, switches::kOverrideUseSoftwareGLForTests,
switches::kOverrideEnabledCdmInterfaceVersion, switches::kOverrideEnabledCdmInterfaceVersion,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment