OLD | NEW |
1 <!-- | 1 <!-- |
2 // Copyright 2015 The Chromium Authors. All rights reserved. | 2 // Copyright 2015 The Chromium Authors. All rights reserved. |
3 // Use of this source code is governed by a BSD-style license that can be | 3 // Use of this source code is governed by a BSD-style license that can be |
4 // found in the LICENSE file. | 4 // found in the LICENSE file. |
5 --> | 5 --> |
6 <import src="sky-element.sky" /> | 6 <import src="sky-element.sky" /> |
7 | 7 |
8 <sky-element attributes="title:string"> | 8 <sky-element attributes="title:string"> |
9 <template> | 9 <template> |
10 <style> | 10 <style> |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 | 44 |
45 void titleChanged(String oldValue, String newValue) { | 45 void titleChanged(String oldValue, String newValue) { |
46 if (_title != null) | 46 if (_title != null) |
47 _title.setChild(new Text(newValue)); | 47 _title.setChild(new Text(newValue)); |
48 } | 48 } |
49 } | 49 } |
50 | 50 |
51 _init(script) => register(script, SkyBox); | 51 _init(script) => register(script, SkyBox); |
52 </script> | 52 </script> |
53 </sky-element> | 53 </sky-element> |
OLD | NEW |