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

Side by Side Diff: chrome/browser/resources/chromeos/chromevox/testing/chromevox_e2e_test_base.js

Issue 2047053002: Moves ash/accessibility_delegate into common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix test Created 4 years, 6 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 GEN_INCLUDE([ 5 GEN_INCLUDE([
6 'common.js', 6 'common.js',
7 'callback_helper.js']); 7 'callback_helper.js']);
8 8
9 /** 9 /**
10 * Base test fixture for ChromeVox end to end tests. 10 * Base test fixture for ChromeVox end to end tests.
(...skipping 17 matching lines...) Expand all
28 28
29 /** @override */ 29 /** @override */
30 isAsync: true, 30 isAsync: true,
31 31
32 /** @override */ 32 /** @override */
33 browsePreload: null, 33 browsePreload: null,
34 34
35 /** @override */ 35 /** @override */
36 testGenCppIncludes: function() { 36 testGenCppIncludes: function() {
37 GEN_BLOCK(function() {/*! 37 GEN_BLOCK(function() {/*!
38 #include "ash/accessibility_delegate.h" 38 #include "ash/common/accessibility_delegate.h"
39 #include "base/bind.h" 39 #include "base/bind.h"
40 #include "base/callback.h" 40 #include "base/callback.h"
41 #include "chrome/browser/chromeos/accessibility/accessibility_manager.h" 41 #include "chrome/browser/chromeos/accessibility/accessibility_manager.h"
42 #include "chrome/common/extensions/extension_constants.h" 42 #include "chrome/common/extensions/extension_constants.h"
43 */}); 43 */});
44 }, 44 },
45 45
46 /** @override */ 46 /** @override */
47 testGenPreamble: function() { 47 testGenPreamble: function() {
48 GEN_BLOCK(function() {/*! 48 GEN_BLOCK(function() {/*!
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 * called. If this method is called one or more times, then 112 * called. If this method is called one or more times, then
113 * {@code testDone()} will be called when all callbacks have been called. 113 * {@code testDone()} will be called when all callbacks have been called.
114 * @param {Function=} opt_callback Wrapped callback that will have its this 114 * @param {Function=} opt_callback Wrapped callback that will have its this
115 * reference bound to the test fixture. 115 * reference bound to the test fixture.
116 * @return {Function} 116 * @return {Function}
117 */ 117 */
118 newCallback: function(opt_callback) { 118 newCallback: function(opt_callback) {
119 return this.callbackHelper_.wrap(opt_callback); 119 return this.callbackHelper_.wrap(opt_callback);
120 } 120 }
121 }; 121 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698