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

Unified Diff: third_party/WebKit/Source/devtools/front_end/bindings/FileUtils.js

Issue 2611843010: DevTools: move DOMExtension.js into ui module. (Closed)
Patch Set: Introduce progress monitor Created 3 years, 11 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/WebKit/Source/devtools/front_end/bindings/FileUtils.js
diff --git a/third_party/WebKit/Source/devtools/front_end/bindings/FileUtils.js b/third_party/WebKit/Source/devtools/front_end/bindings/FileUtils.js
index c37cd7e374a216da2b1322aba61c17d2c963160c..2cb47b73c88519f5835301cc2a96d91c93d312dd 100644
--- a/third_party/WebKit/Source/devtools/front_end/bindings/FileUtils.js
+++ b/third_party/WebKit/Source/devtools/front_end/bindings/FileUtils.js
@@ -176,22 +176,6 @@ Bindings.ChunkedFileReader = class {
};
/**
- * @param {function(!File)} callback
- * @return {!Node}
- */
-Bindings.createFileSelectorElement = function(callback) {
- var fileSelectorElement = createElement('input');
- fileSelectorElement.type = 'file';
- fileSelectorElement.style.display = 'none';
- fileSelectorElement.setAttribute('tabindex', -1);
- fileSelectorElement.onchange = onChange;
- function onChange(event) {
- callback(fileSelectorElement.files[0]);
- }
- return fileSelectorElement;
-};
-
-/**
* @implements {Common.OutputStream}
* @unrestricted
*/
« no previous file with comments | « third_party/WebKit/Source/devtools/BUILD.gn ('k') | third_party/WebKit/Source/devtools/front_end/formatter_worker.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698