Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 var cr = {}; | |
| 6 | |
| 7 /** | |
| 8 * @namespace | |
| 9 */ | |
| 10 cr.ui = {}; | |
| 11 | |
| 12 /** | |
| 13 * This definition is required to satisfy | |
| 14 * ui/file_manager/file_manager/foreground/js/ui/drag_selector.js. | |
| 15 * 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
| |
| 16 * | |
| 17 * @param {number} x | |
| 18 * @param {number} y | |
| 19 * @param {number=} opt_width | |
| 20 * @param {number=} opt_height | |
| 21 * @return {Array<number>} | |
| 22 */ | |
| 23 cr.ui.List.prototype.getHitElements = function(x, y, opt_width, opt_height) {}; | |
| OLD | NEW |