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

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

Issue 2009543002: Add storage manager overlay on Settings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address review comments Created 4 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
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 cr.define('options', function() {
6 var Page = cr.ui.pageManager.Page;
7 var PageManager = cr.ui.pageManager.PageManager;
8
9 function StorageManager() {
10 Page.call(this, 'storage',
11 loadTimeData.getString('storageManagerPageTabTitle'),
12 'storageManagerPage');
13 }
14
15 cr.addSingletonGetter(StorageManager);
16
17 StorageManager.prototype = {
18 __proto__: Page.prototype,
19
20 /** @override */
21 initializePage: function() {
22 Page.prototype.initializePage.call(this);
23
24 $('storage-confirm').onclick = function() {
25 PageManager.closeOverlay();
26 };
27 }
28 };
29
30 return {
31 StorageManager: StorageManager
32 };
33 });
OLDNEW
« no previous file with comments | « chrome/browser/resources/options/chromeos/storage_manager.html ('k') | chrome/browser/resources/options/options.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698