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

Unified Diff: ui/file_manager/externs/drag_target.js

Issue 2773873003: Compile more targets in foreground/js/ui in gyp v2 (3) (Closed)
Patch Set: . Created 3 years, 9 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: ui/file_manager/externs/drag_target.js
diff --git a/ui/file_manager/externs/drag_target.js b/ui/file_manager/externs/drag_target.js
new file mode 100644
index 0000000000000000000000000000000000000000..bcc4d8b34401bc0ccb30e27e8d9ea8b0d08de8ad
--- /dev/null
+++ b/ui/file_manager/externs/drag_target.js
@@ -0,0 +1,20 @@
+// Copyright 2017 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.
+
+/**
+ * @interface
+ */
+function DragTarget(){};
+
+/**
+ * This definition is required to satisfy
+ * ui/file_manager/file_manager/foreground/js/ui/drag_selector.js.
+ *
+ * @param {number} x
+ * @param {number} y
+ * @param {number=} opt_width
+ * @param {number=} opt_height
+ * @return {Array<number>}
+ */
+DragTarget.prototype.getHitElements = function(x, y, opt_width, opt_height) {};
« no previous file with comments | « ui/file_manager/externs/compiled_resources2.gyp ('k') | ui/file_manager/file_manager/foreground/js/compiled_resources.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698