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

Side by Side Diff: chrome/browser/resources/settings/privacy_page/privacy_page.js

Issue 1661533002: Implement deletion of storage per site. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address nits Created 4 years, 10 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 6 * @fileoverview
7 * 'settings-privacy-page' is the settings page containing privacy and 7 * 'settings-privacy-page' is the settings page containing privacy and
8 * security settings. 8 * security settings.
9 * 9 *
10 * Example: 10 * Example:
(...skipping 19 matching lines...) Expand all
30 notify: true, 30 notify: true,
31 }, 31 },
32 32
33 /** 33 /**
34 * The current active route. 34 * The current active route.
35 */ 35 */
36 currentRoute: { 36 currentRoute: {
37 type: Object, 37 type: Object,
38 notify: true, 38 notify: true,
39 }, 39 },
40
41 /**
42 * The origin selected by the user.
43 */
44 originSelected: {
45 type: String,
46 observer: 'onSelectedOriginChanged_',
47 }
48 }, 40 },
49 41
50 ready: function() { 42 ready: function() {
51 this.ContentSettingsTypes = settings.ContentSettingsTypes; 43 this.ContentSettingsTypes = settings.ContentSettingsTypes;
52 }, 44 },
53 45
54 /** @private */ 46 /** @private */
55 onManageCertificatesTap_: function() { 47 onManageCertificatesTap_: function() {
56 this.$.pages.setSubpageChain(['manage-certificates']); 48 this.$.pages.setSubpageChain(['manage-certificates']);
57 }, 49 },
58 50
59 /** @private */ 51 /** @private */
60 onSiteSettingsTap_: function() { 52 onSiteSettingsTap_: function() {
61 this.$.pages.setSubpageChain(['site-settings']); 53 this.$.pages.setSubpageChain(['site-settings']);
62 }, 54 },
63 55
64 /** @private */ 56 /** @private */
65 onClearBrowsingDataTap_: function() { 57 onClearBrowsingDataTap_: function() {
66 this.$.pages.setSubpageChain(['clear-browsing-data']); 58 this.$.pages.setSubpageChain(['clear-browsing-data']);
67 }, 59 },
68
69 onSelectedOriginChanged_: function() {
70 this.$.pages.setSubpageChain(
71 ['site-settings', 'site-settings-category', 'site-details']);
72 },
73 }); 60 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698