Index: chrome/third_party/chromevox/extensions/searchvox/abstract_result.js |
diff --git a/chrome/third_party/chromevox/extensions/searchvox/abstract_result.js b/chrome/third_party/chromevox/extensions/searchvox/abstract_result.js |
deleted file mode 100644 |
index 93b56ae376b2c9d31716df79585d1d742f2eaf98..0000000000000000000000000000000000000000 |
--- a/chrome/third_party/chromevox/extensions/searchvox/abstract_result.js |
+++ /dev/null |
@@ -1,49 +0,0 @@ |
-// Copyright 2012 Google Inc. All Rights Reserved. |
- |
-/** |
- * @fileoverview Defines a result type interface. |
- * @author peterxiao@google.com (Peter Xiao) |
- */ |
- |
-goog.provide('cvox.AbstractResult'); |
- |
-goog.require('cvox.SearchUtil'); |
- |
-/** |
- * @constructor |
- */ |
-cvox.AbstractResult = function() { }; |
- |
-/** |
- * Checks the result if it is an unknown result. |
- * @param {Element} result Result to be checked. |
- * @return {boolean} Whether or not the element is an unknown result. |
- */ |
-cvox.AbstractResult.prototype.isType = function(result) { |
- return false; |
-}; |
- |
-/** |
- * Speak a generic search result. |
- * @param {Element} result Generic result to be spoken. |
- * @return {boolean} Whether or not the result was spoken. |
- */ |
-cvox.AbstractResult.prototype.speak = function(result) { |
- return false; |
-}; |
- |
-/** |
- * Extracts the wikipedia URL from knowledge panel. |
- * @param {Element} result Result to extract from. |
- * @return {?string} URL. |
- */ |
-cvox.AbstractResult.prototype.getURL = cvox.SearchUtil.extractURL; |
- |
-/** |
- * Returns the node to sync to. |
- * @param {Element} result Result. |
- * @return {?Node} Node to sync to. |
- */ |
-cvox.AbstractResult.prototype.getSyncNode = function(result) { |
- return result; |
-}; |