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

Unified Diff: ui/file_manager/externs/list.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/list.js
diff --git a/ui/file_manager/externs/list.js b/ui/file_manager/externs/list.js
new file mode 100644
index 0000000000000000000000000000000000000000..eccbfb01d5de6a48bea76e9ef6dc0b27675fd9dc
--- /dev/null
+++ b/ui/file_manager/externs/list.js
@@ -0,0 +1,23 @@
+// 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.
+
+var cr = {};
+
+/**
+ * @namespace
+ */
+cr.ui = {};
+
+/**
+ * This definition is required to satisfy
+ * ui/file_manager/file_manager/foreground/js/ui/drag_selector.js.
+ * TODO(oka): Remove this workaround.
fukino 2017/03/24 05:24:02 How about defining a interface such as DragTarget
oka 2017/03/24 08:35:00 Done. Defined DragTarget and made drag_selector de
+ *
+ * @param {number} x
+ * @param {number} y
+ * @param {number=} opt_width
+ * @param {number=} opt_height
+ * @return {Array<number>}
+ */
+cr.ui.List.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