OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 if (!loadTimeData.getBoolean('newContentSettings')) { |
| 6 |
5 cr.define('options', function() { | 7 cr.define('options', function() { |
6 /** @const */ var OptionsPage = options.OptionsPage; | 8 /** @const */ var OptionsPage = options.OptionsPage; |
7 | 9 |
8 ////////////////////////////////////////////////////////////////////////////// | 10 ////////////////////////////////////////////////////////////////////////////// |
9 // ContentSettings class: | 11 // ContentSettings class: |
10 | 12 |
11 /** | 13 /** |
12 * Encapsulated handling of content settings page. | 14 * Encapsulated handling of content settings page. |
13 * @constructor | 15 * @constructor |
14 */ | 16 */ |
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
167 $('pepper-flash-cameramic-section').style.display = ''; | 169 $('pepper-flash-cameramic-section').style.display = ''; |
168 $('pepper-flash-cameramic-exceptions-div').style.display = ''; | 170 $('pepper-flash-cameramic-exceptions-div').style.display = ''; |
169 } | 171 } |
170 | 172 |
171 // Export | 173 // Export |
172 return { | 174 return { |
173 ContentSettings: ContentSettings | 175 ContentSettings: ContentSettings |
174 }; | 176 }; |
175 | 177 |
176 }); | 178 }); |
| 179 |
| 180 } |
OLD | NEW |