summaryrefslogtreecommitdiffstats
path: root/ash
diff options
context:
space:
mode:
Diffstat (limited to 'ash')
-rw-r--r--ash/shell/content_client/shell_browser_main_parts.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/ash/shell/content_client/shell_browser_main_parts.cc b/ash/shell/content_client/shell_browser_main_parts.cc
index c562f22..56d0b7f 100644
--- a/ash/shell/content_client/shell_browser_main_parts.cc
+++ b/ash/shell/content_client/shell_browser_main_parts.cc
@@ -32,6 +32,10 @@
#include "ui/views/focus/accelerator_handler.h"
#include "ui/views/test/test_views_delegate.h"
+#if defined(OS_LINUX)
+#include "ui/base/touch/touch_factory.h"
+#endif
+
namespace ash {
namespace shell {
void InitWindowTypeLauncher();
@@ -69,6 +73,9 @@ ShellBrowserMainParts::~ShellBrowserMainParts() {
#if !defined(OS_MACOSX)
void ShellBrowserMainParts::PreMainMessageLoopStart() {
+#if defined(OS_LINUX)
+ ui::TouchFactory::SetTouchDeviceListFromCommandLine();
+#endif
}
#endif