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

Unified Diff: chrome/browser/chromeos/accessibility/touch_exploration_controller_browsertest.cc

Issue 414493004: Disable accessible touch exploration by default. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Set flag in browser tests that depend on it Created 6 years, 5 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 | « ash/root_window_controller.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/accessibility/touch_exploration_controller_browsertest.cc
diff --git a/chrome/browser/chromeos/accessibility/touch_exploration_controller_browsertest.cc b/chrome/browser/chromeos/accessibility/touch_exploration_controller_browsertest.cc
index 1a2a8097bb2089ac5dbcc94495b2c1f2b6bc46e4..139ac84e693d614c1569b523a5d2b5d474ab73d0 100644
--- a/chrome/browser/chromeos/accessibility/touch_exploration_controller_browsertest.cc
+++ b/chrome/browser/chromeos/accessibility/touch_exploration_controller_browsertest.cc
@@ -5,8 +5,10 @@
#include "ui/chromeos/touch_exploration_controller.h"
#include "ash/accessibility_delegate.h"
+#include "ash/ash_switches.h"
#include "ash/shell.h"
#include "ash/test/ash_test_base.h"
+#include "base/command_line.h"
#include "base/test/simple_test_tick_clock.h"
#include "base/time/time.h"
#include "chrome/browser/ui/browser.h"
@@ -34,6 +36,11 @@ class TouchExplorationTest : public InProcessBrowserTest {
virtual ~TouchExplorationTest() {}
protected:
+ virtual void SetUpCommandLine(base::CommandLine* command_line) OVERRIDE {
+ base::CommandLine::ForCurrentProcess()->AppendSwitch(
+ ash::switches::kAshEnableTouchExplorationMode);
+ }
+
virtual void SetUpOnMainThread() OVERRIDE {
// The RenderView for WebContents is created as a result of the
// navigation to the New Tab page which is done as part of the test
« no previous file with comments | « ash/root_window_controller.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698