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

Side by Side Diff: chrome/browser/resources/settings/clear_browsing_data_dialog/history_deletion_dialog.js

Issue 2946563002: Run clang-format on .js files in c/b/r/settings (Closed)
Patch Set: dschuyler@ review Created 3 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 2016 The Chromium Authors. All rights reserved. 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 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 * @fileoverview 'settings-history-deletion-dialog' is a dialog that is 6 * @fileoverview 'settings-history-deletion-dialog' is a dialog that is
7 * optionally shown inside settings-clear-browsing-data-dialog after deleting 7 * optionally shown inside settings-clear-browsing-data-dialog after deleting
8 * browsing history. It informs the user about the existence of other forms 8 * browsing history. It informs the user about the existence of other forms
9 * of browsing history in their account. 9 * of browsing history in their account.
10 */ 10 */
11 Polymer({ 11 Polymer({
12 is: 'settings-history-deletion-dialog', 12 is: 'settings-history-deletion-dialog',
13 13
14 /** @override */ 14 /** @override */
15 attached: function() { 15 attached: function() {
16 this.$.dialog.showModal(); 16 this.$.dialog.showModal();
17 }, 17 },
18 18
19 /** 19 /**
20 * Tap handler for the "OK" buton. 20 * Tap handler for the "OK" buton.
21 * @private 21 * @private
22 */ 22 */
23 onOkTap_: function() { 23 onOkTap_: function() {
24 this.$.dialog.close(); 24 this.$.dialog.close();
25 }, 25 },
26 }); 26 });
27
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698