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

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

Issue 2768703002: Wire up an api to darken screen for accessibility (Closed)
Patch Set: Rebase. Created 3 years, 9 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 2015 The Chromium Authors. All rights reserved. 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 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 Handles automation from a desktop automation node. 6 * @fileoverview Handles automation from a desktop automation node.
7 */ 7 */
8 8
9 goog.provide('DesktopAutomationHandler'); 9 goog.provide('DesktopAutomationHandler');
10 10
11 goog.require('AutomationObjectConstructorInstaller'); 11 goog.require('AutomationObjectConstructorInstaller');
12 goog.require('BaseAutomationHandler'); 12 goog.require('BaseAutomationHandler');
13 goog.require('ChromeVoxState'); 13 goog.require('ChromeVoxState');
14 goog.require('CustomAutomationEvent'); 14 goog.require('CustomAutomationEvent');
15 goog.require('Stubs');
16 goog.require('editing.TextEditHandler'); 15 goog.require('editing.TextEditHandler');
17 16
18 goog.scope(function() { 17 goog.scope(function() {
19 var AutomationEvent = chrome.automation.AutomationEvent; 18 var AutomationEvent = chrome.automation.AutomationEvent;
20 var AutomationNode = chrome.automation.AutomationNode; 19 var AutomationNode = chrome.automation.AutomationNode;
21 var Dir = constants.Dir; 20 var Dir = constants.Dir;
22 var EventType = chrome.automation.EventType; 21 var EventType = chrome.automation.EventType;
23 var RoleType = chrome.automation.RoleType; 22 var RoleType = chrome.automation.RoleType;
24 23
25 /** 24 /**
(...skipping 536 matching lines...) Expand 10 before | Expand all | Expand 10 after
562 DesktopAutomationHandler.init_ = function() { 561 DesktopAutomationHandler.init_ = function() {
563 chrome.automation.getDesktop(function(desktop) { 562 chrome.automation.getDesktop(function(desktop) {
564 ChromeVoxState.desktopAutomationHandler = 563 ChromeVoxState.desktopAutomationHandler =
565 new DesktopAutomationHandler(desktop); 564 new DesktopAutomationHandler(desktop);
566 }); 565 });
567 }; 566 };
568 567
569 DesktopAutomationHandler.init_(); 568 DesktopAutomationHandler.init_();
570 569
571 }); // goog.scope 570 }); // goog.scope
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698