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

Unified Diff: chrome/browser/resources/chromeos/chromevox/cvox2/background/custom_automation_event.js

Issue 2650733002: Revert of Update json_schema_compiler to handle the Automation extension API (Closed)
Patch Set: Created 3 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/chromeos/chromevox/cvox2/background/custom_automation_event.js
diff --git a/chrome/browser/resources/chromeos/chromevox/cvox2/background/custom_automation_event.js b/chrome/browser/resources/chromeos/chromevox/cvox2/background/custom_automation_event.js
deleted file mode 100644
index 3d6cf736eca5aa45f35561d73a396f013264be10..0000000000000000000000000000000000000000
--- a/chrome/browser/resources/chromeos/chromevox/cvox2/background/custom_automation_event.js
+++ /dev/null
@@ -1,33 +0,0 @@
-// Copyright 2017 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 Custom Automation Event.
- *
- * An object similar to a chrome.automation.AutomationEvent that we can
- * construct, unlike the object from the extension system.
- */
-
-goog.provide('CustomAutomationEvent');
-
-/**
- * An object we can use instead of a chrome.automation.AutomationEvent.
- * @constructor
- * @extends {chrome.automation.AutomationEvent}
- * @param {chrome.automation.EventType} type The event type.
- * @param {!chrome.automation.AutomationNode} target The event target.
- * @param {string} eventFrom The source of this event.
- */
-var CustomAutomationEvent = function(type, target, eventFrom) {
- this.type = type;
- this.target = target;
- this.eventFrom = eventFrom;
-};
-
-/**
- * @override
- */
-CustomAutomationEvent.prototype.stopPropagation = function() {
- throw Error('Can\'t call stopPropagation on a CustomAutomationEvent');
-};

Powered by Google App Engine
This is Rietveld 408576698