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

Unified Diff: third_party/document_image_extractor/third_party/src/document_video.js

Issue 1138123002: Update third_party/document_image_extractor (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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: third_party/document_image_extractor/third_party/src/document_video.js
diff --git a/third_party/document_image_extractor/third_party/src/document_video.js b/third_party/document_image_extractor/third_party/src/document_video.js
deleted file mode 100644
index 6ecc70338bf7a97b44377bb43d718ecd2f679d15..0000000000000000000000000000000000000000
--- a/third_party/document_image_extractor/third_party/src/document_video.js
+++ /dev/null
@@ -1,54 +0,0 @@
-goog.provide('image.collections.extension.DocumentVideo');
-
-goog.require('image.collections.extension.DocumentFeature');
-
-goog.scope(function() {
-var DocumentFeature = image.collections.extension.DocumentFeature;
-
-
-
-/**
- * A class representing a salient video in an HTML document.
- * @param {number} relevance
- * @param {string} url
- * @param {!goog.math.Size} size
- * @extends {DocumentFeature}
- * @constructor
- */
-image.collections.extension.DocumentVideo = function(relevance, url, size) {
- DocumentVideo.base(this, 'constructor', relevance);
-
- /** @private {string} Absolute video url. */
- this.url_ = url;
-
- /** @private {!goog.math.Size} Video resolution in pixels */
- this.size_ = size;
-};
-goog.inherits(image.collections.extension.DocumentVideo, DocumentFeature);
-var DocumentVideo = image.collections.extension.DocumentVideo;
-
-
-/** @enum {string} */
-DocumentVideo.CustomAttribute = {
- WIDTH: 'data-google-stars-video-width',
- HEIGHT: 'data-google-stars-video-height'
-};
-
-
-/**
- * Returns the absolute video url.
- * @return {string}
- */
-DocumentVideo.prototype.getUrl = function() {
- return this.url_;
-};
-
-
-/**
- * Returns the video resolution in pixels.
- * @return {!goog.math.Size}
- */
-DocumentVideo.prototype.getSize = function() {
- return this.size_;
-};
-}); // goog.scope

Powered by Google App Engine
This is Rietveld 408576698