| OLD | NEW |
| (Empty) |
| 1 <!-- | |
| 2 Copyright 2014 The Chromium Authors. All rights reserved. | |
| 3 Use of this source code is governed by a BSD-style license that can be | |
| 4 found in the LICENSE file. | |
| 5 --> | |
| 6 | |
| 7 <link rel='import' href='ct-tree.html'> | |
| 8 | |
| 9 <script> | |
| 10 function CTTreeList() { | |
| 11 this.trees = [ | |
| 12 new CTTree('chromium', 'Chromium'), // First entry is the default. | |
| 13 new CTTree('blink', 'Blink'), | |
| 14 new CTTree('trooper', 'Trooper'), | |
| 15 ]; | |
| 16 } | |
| 17 | |
| 18 CTTreeList.prototype.defaultValue = function() { | |
| 19 return this.trees[0].name; | |
| 20 }; | |
| 21 </script> | |
| OLD | NEW |