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

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

Issue 1130013003: Replace moveTo and resizeTo with outerBounds= (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Simplified. Created 5 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
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 chrome.app = {}; 10 chrome.app = {};
(...skipping 359 matching lines...) Expand 10 before | Expand all | Expand 10 after
370 this.outerBounds = null; 370 this.outerBounds = null;
371 /** @type {Bounds} */ 371 /** @type {Bounds} */
372 this.innerBounds = null; 372 this.innerBounds = null;
373 }; 373 };
374 374
375 AppWindow.prototype.close = function() {}; 375 AppWindow.prototype.close = function() {};
376 AppWindow.prototype.drawAttention = function() {}; 376 AppWindow.prototype.drawAttention = function() {};
377 AppWindow.prototype.focus = function() {}; 377 AppWindow.prototype.focus = function() {};
378 AppWindow.prototype.maximize = function() {}; 378 AppWindow.prototype.maximize = function() {};
379 AppWindow.prototype.minimize = function() {}; 379 AppWindow.prototype.minimize = function() {};
380 /**
381 * @param {number} left
382 * @param {number} top
383 */
384 AppWindow.prototype.moveTo = function(left, top) {};
385 /**
386 * @param {number} width
387 * @param {number} height
388 */
389 AppWindow.prototype.resizeTo = function(width, height) {};
390
391 AppWindow.prototype.restore = function() {}; 380 AppWindow.prototype.restore = function() {};
392 AppWindow.prototype.show = function() {}; 381 AppWindow.prototype.show = function() {};
393 /** @return {boolean} */ 382 /** @return {boolean} */
394 AppWindow.prototype.isMinimized = function() {}; 383 AppWindow.prototype.isMinimized = function() {};
395 AppWindow.prototype.fullscreen = function() {}; 384 AppWindow.prototype.fullscreen = function() {};
396 /** @return {boolean} */ 385 /** @return {boolean} */
397 AppWindow.prototype.isFullscreen = function() {}; 386 AppWindow.prototype.isFullscreen = function() {};
398 /** @return {boolean} */ 387 /** @return {boolean} */
399 AppWindow.prototype.isMaximized = function() {}; 388 AppWindow.prototype.isMaximized = function() {};
400 389
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
574 * @param {number} socketId 563 * @param {number} socketId
575 */ 564 */
576 chrome.socket.destroy = function(socketId) {}; 565 chrome.socket.destroy = function(socketId) {};
577 566
578 /** 567 /**
579 * @param {number} socketId 568 * @param {number} socketId
580 * @param {Object} options 569 * @param {Object} options
581 * @param {function(number):void} callback 570 * @param {function(number):void} callback
582 */ 571 */
583 chrome.socket.secure = function(socketId, options, callback) {}; 572 chrome.socket.secure = function(socketId, options, callback) {};
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698