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

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

Issue 2104663003: Prepare ChromeVox for webstore release. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 /**
6 * @fileoverview Installs stubs for Chrome api's not supported on
7 * specific configurations. Add stubs for new api's that have yet to
8 * land or are not planned for support under specific conditions.
9 */
10
11 goog.provide('Stubs');
12
13 goog.require('ChromeVoxState');
14
15 /** Initializes this module. */
16 Stubs.init = function() {
17 if (!cvox.ChromeVox.isChromeOS) {
18 chrome.accessibilityPrivate.onAccessibilityGesture = function() {};
19 chrome.accessibilityPrivate.setFocusRing = function() {};
20 chrome.accessibilityPrivate.setKeyboardListener = function() {};
21 chrome.automation.getDesktop = function() {};
22 }
23 };
24
25 Stubs.init();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698