summaryrefslogtreecommitdiffstats
path: root/third_party/document_image_extractor/src/element_filter.js
blob: c5002bbfea5d2bab2027f20aaff9550ed0d1514c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// Copyright 2015  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.

goog.provide('image.collections.extension.domextractor.ElementFilter');

goog.scope(function() {



/**
 * An element filter interface.
 * @interface
 */
image.collections.extension.domextractor.ElementFilter = function() {};
var ElementFilter = image.collections.extension.domextractor.ElementFilter;


/**
 * Returns true iff the element passes the filter.
 * @param {!Element} element
 * @return {boolean}
 */
ElementFilter.prototype.filter = function(element) {};
});  // goog.scope