Index: third_party/closure_compiler/externs/automation.js |
diff --git a/chrome/browser/resources/chromeos/chromevox/common/chrome_extension_externs.js b/third_party/closure_compiler/externs/automation.js |
similarity index 95% |
copy from chrome/browser/resources/chromeos/chromevox/common/chrome_extension_externs.js |
copy to third_party/closure_compiler/externs/automation.js |
index 989c53f387b3a9b28ad4c2ebc6f714236a0941a7..fd080cbb1195544e0318db209ba24e453fdde400 100644 |
--- a/chrome/browser/resources/chromeos/chromevox/common/chrome_extension_externs.js |
+++ b/third_party/closure_compiler/externs/automation.js |
@@ -1,23 +1,17 @@ |
-// Copyright 2014 The Chromium Authors. All rights reserved. |
+// Copyright 2016 The Chromium Authors. All rights reserved. |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
- |
-/** |
- * @fileoverview Definitions for the Chromium extensions API used by ChromeVox. |
- * |
- * @externs |
- */ |
- |
- |
-// TODO: Move these to //third_party/closure_compiler/externs. |
- |
-// Begin auto generated externs; do not edit. |
-// The following was generated from: |
+// This file was generated by: |
+// tools/json_schema_compiler/compiler.py -g externs |
+// chrome/common/extensions/api/automation.idl |
+// |
+// Further edits were applied by hand due to bugs / limitations in |
+// json_schema_compiler. |
// |
-// python tools/json_schema_compiler/compiler.py |
-// -g externs |
-// chrome/common/extensions/api/automation.idl |
+// See https://chromium.googlesource.com/chromium/src/+/master/docs/closure_compilation.md |
+ |
+/** @fileoverview Externs generated from namespace: automation */ |
/** |
* @const |
@@ -51,6 +45,11 @@ chrome.automation.EventType = { |
menuPopupEnd: '', |
menuPopupStart: '', |
menuStart: '', |
+ mouseCanceled: '', |
+ mouseDragged: '', |
+ mouseMoved: '', |
+ mousePressed: '', |
+ mouseReleased: '', |
rowCollapsed: '', |
rowCountChanged: '', |
rowExpanded: '', |
@@ -306,6 +305,16 @@ chrome.automation.AutomationEvent.prototype.type; |
*/ |
chrome.automation.AutomationEvent.prototype.eventFrom; |
+/** |
+ * @type {number} |
+ */ |
+chrome.automation.AutomationEvent.prototype.mouseX; |
+ |
+/** |
+ * @type {number} |
+ */ |
+chrome.automation.AutomationEvent.prototype.mouseY; |
+ |
chrome.automation.AutomationEvent.prototype.stopPropagation = function() {}; |
/** |
@@ -686,6 +695,3 @@ chrome.automation.AutomationRootNode.prototype.focusObject; |
* @type {number} |
*/ |
chrome.automation.AutomationRootNode.prototype.focusOffset; |
- |
-/** @type {function() : !Object} */ |
-chrome.app.getDetails; |