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

Side by Side Diff: chrome/browser/resources/chromeos/chromevox/extensions/searchvox/abstract_result.js

Issue 2939273002: DO NOT SUBMIT: what chrome/browser/resources/ could eventually look like with clang-format (Closed)
Patch Set: Created 3 years, 6 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 /** 6 /**
7 * @fileoverview Defines a result type interface. 7 * @fileoverview Defines a result type interface.
8 */ 8 */
9 9
10 goog.provide('cvox.AbstractResult'); 10 goog.provide('cvox.AbstractResult');
11 11
12 goog.require('cvox.SearchUtil'); 12 goog.require('cvox.SearchUtil');
13 13
14 /** 14 /**
15 * @constructor 15 * @constructor
16 */ 16 */
17 cvox.AbstractResult = function() { }; 17 cvox.AbstractResult = function() {};
18 18
19 /** 19 /**
20 * Checks the result if it is an unknown result. 20 * Checks the result if it is an unknown result.
21 * @param {Element} result Result to be checked. 21 * @param {Element} result Result to be checked.
22 * @return {boolean} Whether or not the element is an unknown result. 22 * @return {boolean} Whether or not the element is an unknown result.
23 */ 23 */
24 cvox.AbstractResult.prototype.isType = function(result) { 24 cvox.AbstractResult.prototype.isType = function(result) {
25 return false; 25 return false;
26 }; 26 };
27 27
(...skipping 14 matching lines...) Expand all
42 cvox.AbstractResult.prototype.getURL = cvox.SearchUtil.extractURL; 42 cvox.AbstractResult.prototype.getURL = cvox.SearchUtil.extractURL;
43 43
44 /** 44 /**
45 * Returns the node to sync to. 45 * Returns the node to sync to.
46 * @param {Node} result Result. 46 * @param {Node} result Result.
47 * @return {?Node} Node to sync to. 47 * @return {?Node} Node to sync to.
48 */ 48 */
49 cvox.AbstractResult.prototype.getSyncNode = function(result) { 49 cvox.AbstractResult.prototype.getSyncNode = function(result) {
50 return result; 50 return result;
51 }; 51 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698