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

Side by Side Diff: ui/file_manager/externs/gallery.js

Issue 801533006: Add type annotations to gallery/js/gallery.js. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed false-positive lint errors. Created 6 years 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2014 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 /**
6 * This is a type to let closure compiler recognize extended methods to Window
7 * instance at gallery/js/gallery.js.
8 * @constructor
9 * @extends {Window}
10 */
11 function GalleryWindow() {}
12
13 /**
14 * @param {!BackgroundComponents} backgroundComponents Background components.
15 */
16 window.initialize = function(backgroundComponents) {};
17
18 /**
19 * @param {!Array.<!Entry>} entries Array of entries.
20 * @param {!Array.<!Entry>} selectedEntries Array of selected entries.
21 */
22 window.loadEntries = function(entries, selectedEntries) {};
23
24 /**
25 * @typedef {function(number, number, boolean)}
26 */
27 ImageBuffer.DragHandler;
OLDNEW
« no previous file with comments | « ui/file_manager/externs/chrome_app_window.js ('k') | ui/file_manager/externs/gallery_background.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698