Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1631)

Unified Diff: sdk/lib/html/dartium/html_dartium.dart

Issue 1054863002: CssClassSet upgrade (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix webcomponents test, IE toggle. Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
Download patch
« no previous file with comments | « sdk/lib/html/dart2js/html_dart2js.dart ('k') | tests/html/custom/attribute_changed_callback_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/html/dartium/html_dartium.dart
diff --git a/sdk/lib/html/dartium/html_dartium.dart b/sdk/lib/html/dartium/html_dartium.dart
index 4b331b794f987eb5090446544fa3fc35b4d882dc..c8ffdd6d5dad4a1bf436fc78e8c6b3444a2ab8d9 100644
--- a/sdk/lib/html/dartium/html_dartium.dart
+++ b/sdk/lib/html/dartium/html_dartium.dart
@@ -37276,6 +37276,12 @@ abstract class CssClassSet implements Set<String> {
*
* If [shouldAdd] is true, then we always add that [value] to the element. If
* [shouldAdd] is false then we always remove [value] from the element.
+ *
+ * If this corresponds to one element, returns `true` if [value] is present
+ * after the operation, and returns `false` if [value] is absent after the
+ * operation.
+ *
+ * If this corresponds to many elements, `null` is always returned.
*/
bool toggle(String value, [bool shouldAdd]);
@@ -37302,7 +37308,7 @@ abstract class CssClassSet implements Set<String> {
* If this corresponds to one element. Returns true if [value] was added to
* the set, otherwise false.
*
- * If this corresponds to many elements, null is always returned.
+ * If this corresponds to many elements, `null` is always returned.
*/
bool add(String value);
@@ -37343,6 +37349,10 @@ abstract class CssClassSet implements Set<String> {
*/
void toggleAll(Iterable<String> iterable, [bool shouldAdd]);
}
+// Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
+
/**
* A set (union) of the CSS classes that are present in a set of elements.
« no previous file with comments | « sdk/lib/html/dart2js/html_dart2js.dart ('k') | tests/html/custom/attribute_changed_callback_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698