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 cr.define('options', function() { | 5 cr.define('options', function() { |
6 /** @const */ var OptionsPage = options.OptionsPage; | 6 /** @const */ var OptionsPage = options.OptionsPage; |
7 | 7 |
8 ///////////////////////////////////////////////////////////////////////////// | 8 ///////////////////////////////////////////////////////////////////////////// |
9 // HandlerOptions class: | 9 // HandlerOptions class: |
10 | 10 |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 */ | 71 */ |
72 HandlerOptions.setIgnoredHandlers = function(handlers) { | 72 HandlerOptions.setIgnoredHandlers = function(handlers) { |
73 $('ignored-handlers-section').hidden = handlers.length == 0; | 73 $('ignored-handlers-section').hidden = handlers.length == 0; |
74 $('ignored-handlers-list').setHandlers(handlers); | 74 $('ignored-handlers-list').setHandlers(handlers); |
75 }; | 75 }; |
76 | 76 |
77 return { | 77 return { |
78 HandlerOptions: HandlerOptions | 78 HandlerOptions: HandlerOptions |
79 }; | 79 }; |
80 }); | 80 }); |
OLD | NEW |