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

Unified Diff: chrome/third_party/chromevox/extensions/searchvox/abstract_result.js

Issue 274963004: Update latest ChromeVox from upstream (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 7 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/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;
-};

Powered by Google App Engine
This is Rietveld 408576698