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

Side by Side Diff: remoting/webapp/js_proto/chrome_proto.js

Issue 265393005: Implement apps v2 custom window frame. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed file added accidentally. Created 6 years, 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // This file contains various hacks needed to inform JSCompiler of various 5 // This file contains various hacks needed to inform JSCompiler of various
6 // WebKit- and Chrome-specific properties and methods. It is used only with 6 // WebKit- and Chrome-specific properties and methods. It is used only with
7 // JSCompiler to verify the type-correctness of our code. 7 // JSCompiler to verify the type-correctness of our code.
8 8
9 /** @type {Object} */ 9 /** @type {Object} */
10 var chrome = {}; 10 var chrome = {};
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after
280 /** @type {chrome.Event} */ 280 /** @type {chrome.Event} */
281 this.onRestored = null; 281 this.onRestored = null;
282 /** @type {chrome.Event} */ 282 /** @type {chrome.Event} */
283 this.onMaximized = null; 283 this.onMaximized = null;
284 /** @type {chrome.Event} */ 284 /** @type {chrome.Event} */
285 this.onFullscreened = null; 285 this.onFullscreened = null;
286 }; 286 };
287 287
288 AppWindow.prototype.close = function() {}; 288 AppWindow.prototype.close = function() {};
289 AppWindow.prototype.drawAttention = function() {}; 289 AppWindow.prototype.drawAttention = function() {};
290 AppWindow.prototype.maximize = function() {};
290 AppWindow.prototype.minimize = function() {}; 291 AppWindow.prototype.minimize = function() {};
291 AppWindow.prototype.restore = function() {}; 292 AppWindow.prototype.restore = function() {};
292 AppWindow.prototype.fullscreen = function() {}; 293 AppWindow.prototype.fullscreen = function() {};
293 /** @return {boolean} */ 294 /** @return {boolean} */
294 AppWindow.prototype.isFullscreen = function() {}; 295 AppWindow.prototype.isFullscreen = function() {};
295 /** @return {boolean} */ 296 /** @return {boolean} */
296 AppWindow.prototype.isMaximized = function() {}; 297 AppWindow.prototype.isMaximized = function() {};
297 298
298 /** 299 /**
299 * @param {{rects: Array.<ClientRect>}} rects 300 * @param {{rects: Array.<ClientRect>}} rects
(...skipping 21 matching lines...) Expand all
321 this.height = 0; 322 this.height = 0;
322 /** @type {number} */ 323 /** @type {number} */
323 this.top = 0; 324 this.top = 0;
324 /** @type {number} */ 325 /** @type {number} */
325 this.bottom = 0; 326 this.bottom = 0;
326 /** @type {number} */ 327 /** @type {number} */
327 this.left = 0; 328 this.left = 0;
328 /** @type {number} */ 329 /** @type {number} */
329 this.right = 0; 330 this.right = 0;
330 }; 331 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698