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

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: Addressed comments (3) 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..5f56d4025ddcec8ba7418d7db41129971284be03
--- /dev/null
+++ b/ui/file_manager/externs/drag_target.js
@@ -0,0 +1,21 @@
+// 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.
+
+/**
+ * @constructor
fukino 2017/03/24 08:40:10 @interface
oka 2017/03/27 02:21:18 Done.
oka 2017/03/27 02:21:18 Done.
+ * @extends {cr.ui.List}
fukino 2017/03/24 08:40:10 This interface does not have to extend cr.ui.List.
oka 2017/03/27 02:21:18 Removed @extends, and added type cast to callers o
+ */
+var DragTarget = function() {};
+
+/**
+ * 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/ui/compiled_resources2.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698