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

Unified Diff: chrome/browser/resources/chromeos/chromevox/chromevox/injected/externs.js

Issue 2103043003: Remove legacy PDF JSON interface. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Revert unrelated change Created 4 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/chromeos/chromevox/chromevox/injected/externs.js
diff --git a/chrome/browser/resources/chromeos/chromevox/chromevox/injected/externs.js b/chrome/browser/resources/chromeos/chromevox/chromevox/injected/externs.js
index 243c42234beaf277180b971eea0f4391bebb696e..5d6280bfb3d4e64f67f5de7322ff600e5e2997fa 100644
--- a/chrome/browser/resources/chromeos/chromevox/chromevox/injected/externs.js
+++ b/chrome/browser/resources/chromeos/chromevox/chromevox/injected/externs.js
@@ -165,57 +165,6 @@ function mediaWiki() {}
/**
- * This is the definition of the type that's returned from the PDF plug-in.
- * @constructor
- */
-var PDFAccessibilityJSONReply = function() {};
-
-/**
- * Whether the PDF has finished loading or not.
- * @type {boolean}
- */
-PDFAccessibilityJSONReply.prototype.loaded;
-
-/**
- * Whether the PDF allows accessible text access. Unfortunately PDFs can
- * mark themselves as not copyable even for accessibility.
- * @type {boolean}
- */
-PDFAccessibilityJSONReply.prototype.copyable;
-
-/**
- * The number of pages in the PDF.
- * @type {number}
- */
-PDFAccessibilityJSONReply.prototype.numberOfPages;
-
-/**
- * The height of each PDF page in points.
- * @type {number}
- */
-PDFAccessibilityJSONReply.prototype.height;
-
-/**
- * The width of each PDF page in points.
- * @type {number}
- */
-PDFAccessibilityJSONReply.prototype.width;
-
-/**
- * The text boxes in the PDF, this is where most of the content is returned.
- * Each text box has a bounding box (left, top, width, height) and
- * each of these contains an array of nodes of type 'text' or 'url'.
- * @type {Array<
- * {left: number, top: number, width: number, height: number,
- * textNodes: Array<
- * {type: string, text: string, url: string}>
- * }>
- * }
- */
-PDFAccessibilityJSONReply.prototype.textBox;
-
-
-/**
* @param {?function(this:S, T, number, !Array<T>): ?} callback
* @param {S=} opt_thisobj
* @this {{length: number}|Array<T>}

Powered by Google App Engine
This is Rietveld 408576698