| OLD | NEW |
| 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 Loading... |
| 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/common/accessibility_delegate.h" | 38 #include "ash/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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 108 * called. If this method is called one or more times, then | 108 * called. If this method is called one or more times, then |
| 109 * {@code testDone()} will be called when all callbacks have been called. | 109 * {@code testDone()} will be called when all callbacks have been called. |
| 110 * @param {Function=} opt_callback Wrapped callback that will have its this | 110 * @param {Function=} opt_callback Wrapped callback that will have its this |
| 111 * reference bound to the test fixture. | 111 * reference bound to the test fixture. |
| 112 * @return {Function} | 112 * @return {Function} |
| 113 */ | 113 */ |
| 114 newCallback: function(opt_callback) { | 114 newCallback: function(opt_callback) { |
| 115 return this.callbackHelper_.wrap(opt_callback); | 115 return this.callbackHelper_.wrap(opt_callback); |
| 116 } | 116 } |
| 117 }; | 117 }; |
| OLD | NEW |