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

Side by Side Diff: chrome/browser/resources/settings/device_page/drive_cache_dialog.js

Issue 2348913002: Port storage manager to MD settings. (Closed)
Patch Set: Address review comments 2. Created 4 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 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 /**
6 * @fileoverview
7 * 'settings-drive-cache-dialog' is the dialog to delete Google Drive temporary
8 * offline files.
9 */
10 Polymer({
11 is: 'settings-drive-cache-dialog',
12
13 behaviors: [
14 I18nBehavior,
15 ],
16
17 open: function() {
18 this.$.dialog.showModal();
19 },
20
21 /** @private */
22 onCancelTap_: function() {
23 this.$.dialog.cancel();
24 },
25
26 /** @private */
27 onDeleteTap_: function() {
28 chrome.send('clearDriveCache');
29 this.$.dialog.close();
30 },
31 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698