OLD | NEW |
---|---|
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 Polymer({ | 10 Polymer({ |
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
158 /** | 158 /** |
159 * The sub-page title for the site or content settings. | 159 * The sub-page title for the site or content settings. |
160 * @return {string} | 160 * @return {string} |
161 * @private | 161 * @private |
162 */ | 162 */ |
163 siteSettingsPageTitle_: function() { | 163 siteSettingsPageTitle_: function() { |
164 return loadTimeData.getBoolean('enableSiteSettings') ? | 164 return loadTimeData.getBoolean('enableSiteSettings') ? |
165 loadTimeData.getString('siteSettings') : | 165 loadTimeData.getString('siteSettings') : |
166 loadTimeData.getString('contentSettings'); | 166 loadTimeData.getString('contentSettings'); |
167 }, | 167 }, |
168 | |
169 <if expr="chromeos"> | |
170 /** @private */ | |
171 onAdobeFlashStorageClicked_: function() { | |
172 window.open('https://www.macromedia.com/support/' + | |
173 'documentation/en/flashplayer/help/settings_manager07.html'); | |
tommycli
2016/12/09 00:13:19
Interesting -- in other places, I've seen URLs be
dschuyler
2016/12/13 23:57:38
This code is moved. I didn't look into the details
| |
174 }, | |
175 </if> | |
168 }); | 176 }); |
OLD | NEW |