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

Side by Side Diff: chrome/browser/resources/file_manager/js/file_manager.js

Issue 10134050: [File Manager] Removing a debug change (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 /** 5 /**
6 * FileManager constructor. 6 * FileManager constructor.
7 * 7 *
8 * FileManager objects encapsulate the functionality of the file selector 8 * FileManager objects encapsulate the functionality of the file selector
9 * dialogs, as well as the full screen file manager application (though the 9 * dialogs, as well as the full screen file manager application (though the
10 * latter is not yet implemented). 10 * latter is not yet implemented).
(...skipping 2469 matching lines...) Expand 10 before | Expand all | Expand 10 after
2480 } 2480 }
2481 } 2481 }
2482 callback(urls); 2482 callback(urls);
2483 }.bind(this)); 2483 }.bind(this));
2484 } else { 2484 } else {
2485 callback(urls); 2485 callback(urls);
2486 } 2486 }
2487 }; 2487 };
2488 2488
2489 FileManager.prototype.isOffline = function() { 2489 FileManager.prototype.isOffline = function() {
2490 return !!navigator.onLine; 2490 return !navigator.onLine;
2491 }; 2491 };
2492 2492
2493 FileManager.prototype.onOnlineOffline_ = function() { 2493 FileManager.prototype.onOnlineOffline_ = function() {
2494 if (this.isOffline()) { 2494 if (this.isOffline()) {
2495 console.log('OFFLINE'); 2495 console.log('OFFLINE');
2496 this.dialogContainer_.setAttribute('offline', true); 2496 this.dialogContainer_.setAttribute('offline', true);
2497 } else { 2497 } else {
2498 console.log('ONLINE'); 2498 console.log('ONLINE');
2499 this.dialogContainer_.removeAttribute('offline'); 2499 this.dialogContainer_.removeAttribute('offline');
2500 } 2500 }
(...skipping 1727 matching lines...) Expand 10 before | Expand all | Expand 10 after
4228 4228
4229 handleSplitterDragEnd: function(e) { 4229 handleSplitterDragEnd: function(e) {
4230 Splitter.prototype.handleSplitterDragEnd.apply(this, arguments); 4230 Splitter.prototype.handleSplitterDragEnd.apply(this, arguments);
4231 this.ownerDocument.documentElement.classList.remove('col-resize'); 4231 this.ownerDocument.documentElement.classList.remove('col-resize');
4232 } 4232 }
4233 }; 4233 };
4234 4234
4235 customSplitter.decorate(splitterElement); 4235 customSplitter.decorate(splitterElement);
4236 }; 4236 };
4237 })(); 4237 })();
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698