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

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

Issue 2817903004: MD Settings: Focus cookies search field when exiting cookie details subpage. (Closed)
Patch Set: Simulate pop state in test. Created 3 years, 8 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-site-settings-page' is the settings page containing privacy and 7 * 'settings-site-settings-page' is the settings page containing privacy and
8 * security site settings. 8 * security site settings.
9 */ 9 */
10 10
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 }, 42 },
43 43
44 /** @private */ 44 /** @private */
45 enableSafeBrowsingSubresourceFilter_: { 45 enableSafeBrowsingSubresourceFilter_: {
46 type: Boolean, 46 type: Boolean,
47 value: function() { 47 value: function() {
48 return loadTimeData.getBoolean('enableSafeBrowsingSubresourceFilter'); 48 return loadTimeData.getBoolean('enableSafeBrowsingSubresourceFilter');
49 } 49 }
50 }, 50 },
51 51
52
53 /** @type {!Map<string, string>} */ 52 /** @type {!Map<string, string>} */
54 focusConfig: { 53 focusConfig: {
55 type: Object, 54 type: Object,
56 observer: 'focusConfigChanged_', 55 observer: 'focusConfigChanged_',
57 }, 56 },
58 }, 57 },
59 58
60 /** 59 /**
61 * @param {!Map<string, string>} newConfig 60 * @param {!Map<string, string>} newConfig
62 * @param {?Map<string, string>} oldConfig 61 * @param {?Map<string, string>} oldConfig
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 /** 174 /**
176 * Navigate to the route specified in the event dataset. 175 * Navigate to the route specified in the event dataset.
177 * @param {!Event} event The tap event. 176 * @param {!Event} event The tap event.
178 * @private 177 * @private
179 */ 178 */
180 onTapNavigate_: function(event) { 179 onTapNavigate_: function(event) {
181 var dataSet = /** @type {{route: string}} */(event.currentTarget.dataset); 180 var dataSet = /** @type {{route: string}} */(event.currentTarget.dataset);
182 settings.navigateTo(settings.Route[dataSet.route]); 181 settings.navigateTo(settings.Route[dataSet.route]);
183 }, 182 },
184 }); 183 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698