| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 part of html; | 5 part of html; |
| 6 | 6 |
| 7 abstract class CssClassSet implements Set<String> { | 7 abstract class CssClassSet implements Set<String> { |
| 8 | 8 |
| 9 String toString() { | 9 String toString() { |
| 10 return Strings.join(new List.from(readClasses()), ' '); | 10 return Strings.join(new List.from(readClasses()), ' '); |
| (...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 121 */ | 121 */ |
| 122 Set<String> readClasses(); | 122 Set<String> readClasses(); |
| 123 | 123 |
| 124 /** | 124 /** |
| 125 * Join all the elements of a set into one string and write | 125 * Join all the elements of a set into one string and write |
| 126 * back to the element. | 126 * back to the element. |
| 127 * This is intended to be overridden by specific implementations. | 127 * This is intended to be overridden by specific implementations. |
| 128 */ | 128 */ |
| 129 void writeClasses(Set<String> s); | 129 void writeClasses(Set<String> s); |
| 130 } | 130 } |
| OLD | NEW |