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

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

Issue 2070893003: Storage manager: Show Google Drive offline files. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Correct string and indentation. Created 4 years, 6 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 var AddLanguageOverlay = options.AddLanguageOverlay; 5 var AddLanguageOverlay = options.AddLanguageOverlay;
6 var AlertOverlay = options.AlertOverlay; 6 var AlertOverlay = options.AlertOverlay;
7 var AutofillEditAddressOverlay = options.AutofillEditAddressOverlay; 7 var AutofillEditAddressOverlay = options.AutofillEditAddressOverlay;
8 var AutofillEditCreditCardOverlay = options.AutofillEditCreditCardOverlay; 8 var AutofillEditCreditCardOverlay = options.AutofillEditCreditCardOverlay;
9 var AutofillOptions = options.AutofillOptions; 9 var AutofillOptions = options.AutofillOptions;
10 var AutomaticSettingsResetBanner = options.AutomaticSettingsResetBanner; 10 var AutomaticSettingsResetBanner = options.AutomaticSettingsResetBanner;
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 BrowserOptions.getInstance(), 196 BrowserOptions.getInstance(),
197 [$('bluetooth-add-device')]); 197 [$('bluetooth-add-device')]);
198 PageManager.registerOverlay(BluetoothPairing.getInstance(), 198 PageManager.registerOverlay(BluetoothPairing.getInstance(),
199 BrowserOptions.getInstance()); 199 BrowserOptions.getInstance());
200 PageManager.registerOverlay(FactoryResetOverlay.getInstance(), 200 PageManager.registerOverlay(FactoryResetOverlay.getInstance(),
201 BrowserOptions.getInstance(), 201 BrowserOptions.getInstance(),
202 [$('factory-reset-restart')]); 202 [$('factory-reset-restart')]);
203 PageManager.registerOverlay(ChangePictureOptions.getInstance(), 203 PageManager.registerOverlay(ChangePictureOptions.getInstance(),
204 BrowserOptions.getInstance(), 204 BrowserOptions.getInstance(),
205 [$('account-picture')]); 205 [$('account-picture')]);
206 PageManager.registerOverlay(StorageClearDriveCacheOverlay.getInstance(),
207 StorageManager.getInstance());
206 PageManager.registerOverlay(ConsumerManagementOverlay.getInstance(), 208 PageManager.registerOverlay(ConsumerManagementOverlay.getInstance(),
207 BrowserOptions.getInstance()); 209 BrowserOptions.getInstance());
208 PageManager.registerOverlay(DetailsInternetPage.getInstance(), 210 PageManager.registerOverlay(DetailsInternetPage.getInstance(),
209 BrowserOptions.getInstance()); 211 BrowserOptions.getInstance());
210 PageManager.registerOverlay(DisplayOptions.getInstance(), 212 PageManager.registerOverlay(DisplayOptions.getInstance(),
211 BrowserOptions.getInstance(), 213 BrowserOptions.getInstance(),
212 [$('display-options')]); 214 [$('display-options')]);
213 PageManager.registerOverlay(DisplayOverscan.getInstance(), 215 PageManager.registerOverlay(DisplayOverscan.getInstance(),
214 DisplayOptions.getInstance()); 216 DisplayOptions.getInstance());
215 PageManager.registerOverlay(KeyboardOverlay.getInstance(), 217 PageManager.registerOverlay(KeyboardOverlay.getInstance(),
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
296 }; 298 };
297 299
298 /** 300 /**
299 * Listener for the |popstate| event. 301 * Listener for the |popstate| event.
300 * @param {Event} e The |popstate| event. 302 * @param {Event} e The |popstate| event.
301 */ 303 */
302 window.onpopstate = function(e) { 304 window.onpopstate = function(e) {
303 var pageName = PageManager.getPageNameFromPath(); 305 var pageName = PageManager.getPageNameFromPath();
304 PageManager.setState(pageName, location.hash, e.state); 306 PageManager.setState(pageName, location.hash, e.state);
305 }; 307 };
OLDNEW
« no previous file with comments | « chrome/browser/resources/options/options.html ('k') | chrome/browser/resources/options/options_bundle.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698