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

Unified Diff: ui/file_manager/file_manager/background/js/app_window_wrapper.js

Issue 651403002: Fix trivial type-check errors in file_manager. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase and correct a comment. Created 6 years, 2 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
« no previous file with comments | « no previous file | ui/file_manager/file_manager/background/js/background.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/file_manager/file_manager/background/js/app_window_wrapper.js
diff --git a/ui/file_manager/file_manager/background/js/app_window_wrapper.js b/ui/file_manager/file_manager/background/js/app_window_wrapper.js
index 6da7e43d23208656bcfc4161c3163cfaf7fedb9a..6a0cf2b9e41ec0348de5a1f9f1aec571c761e19f 100644
--- a/ui/file_manager/file_manager/background/js/app_window_wrapper.js
+++ b/ui/file_manager/file_manager/background/js/app_window_wrapper.js
@@ -34,7 +34,7 @@ function AppWindowWrapper(url, id, options) {
AppWindowWrapper.prototype = {
/**
- * @return {AppWindow} Wrapped application window.
+ * @return {chrome.app.window.AppWindow} Wrapped application window.
*/
get rawAppWindow() {
return this.window_;
@@ -59,7 +59,7 @@ AppWindowWrapper.makeGeometryKey = function(url) {
/**
* Focuses the window on the specified desktop.
- * @param {AppWindow} appWindow Application window.
+ * @param {chrome.app.window.AppWindow} appWindow Application window.
* @param {string=} opt_profileId The profiled ID of the target window. If it is
* dropped, the window is focused on the current window.
*/
@@ -281,6 +281,7 @@ AppWindowWrapper.prototype.onBoundsChanged_ = function() {
* @param {string} url App window content url.
* @param {Object|function()} options Options object or a function to return it.
* @constructor
+ * @extends {AppWindowWrapper}
*/
function SingletonAppWindowWrapper(url, options) {
AppWindowWrapper.call(this, url, url, options);
« no previous file with comments | « no previous file | ui/file_manager/file_manager/background/js/background.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698