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

Side by Side Diff: chrome/browser/resources/chromeos/chromevox/cvox2/background/background.js

Issue 584313003: Enable runtime switching between ChromeVox and ChromeVox next via command line. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Make changes to exclude files/paths from webstore release. Created 6 years, 3 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 /** 5 /**
6 * @fileoverview The entry point for all ChromeVox2 related code for the 6 * @fileoverview The entry point for all ChromeVox2 related code for the
7 * background page. 7 * background page.
8 */ 8 */
9 9
10 goog.provide('cvox2.Background'); 10 goog.provide('cvox2.Background');
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 disableClassicChromeVox_: function(tabId) { 121 disableClassicChromeVox_: function(tabId) {
122 chrome.tabs.executeScript( 122 chrome.tabs.executeScript(
123 tabId, 123 tabId,
124 {'code': 'try { window.disableChromeVox(); } catch(e) { }\n', 124 {'code': 'try { window.disableChromeVox(); } catch(e) { }\n',
125 'allFrames': true}); 125 'allFrames': true});
126 } 126 }
127 }; 127 };
128 128
129 /** @type {cvox2.Background} */ 129 /** @type {cvox2.Background} */
130 cvox2.global.backgroundObj = new cvox2.Background(); 130 cvox2.global.backgroundObj = new cvox2.Background();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698