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

Unified Diff: chrome/browser/resources/chromeos/chromevox/testing/chromevox_next_e2e_test_base.js

Issue 779103002: Revert of Various changes required to support ChromeVox Next to read Views and Windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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
Index: chrome/browser/resources/chromeos/chromevox/testing/chromevox_next_e2e_test_base.js
diff --git a/chrome/browser/resources/chromeos/chromevox/testing/chromevox_next_e2e_test_base.js b/chrome/browser/resources/chromeos/chromevox/testing/chromevox_next_e2e_test_base.js
index e432a998de5f9d711f04ff24f136c4ef8509eeee..778a413f7bcfa85b69c363229dfcee95b2b72576 100644
--- a/chrome/browser/resources/chromeos/chromevox/testing/chromevox_next_e2e_test_base.js
+++ b/chrome/browser/resources/chromeos/chromevox/testing/chromevox_next_e2e_test_base.js
@@ -27,6 +27,20 @@
testGenCppIncludes: function() {
ChromeVoxE2ETest.prototype.testGenCppIncludes.call(this);
GEN('#include "base/command_line.h"');
+ GEN('#include "chromeos/chromeos_switches.h"');
+ },
+
+ /**
+ * This method is called without |this| bound to an instance of
+ * ChromeVoxNextE2ETest.
+ * @override
+ */
+ testGenPreamble: function() {
+ GEN_BLOCK(function() {/*!
+ CommandLine* command_line = CommandLine::ForCurrentProcess();
+ command_line->AppendSwitch(chromeos::switches::kEnableChromeVoxNext);
+ */});
+ ChromeVoxE2ETest.prototype.testGenPreamble.call(this);
},
runWithAutomation: function(doc, callback) {

Powered by Google App Engine
This is Rietveld 408576698