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

Side by Side Diff: client/html/generated/src/wrapping/_CSSStyleSheetWrappingImplementation.dart

Issue 9537001: Generate dart:html bindings for Dartium as well as Frog. All unittests now pass (or are disabled fo… (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 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:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
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.
4
5 // WARNING: Do not edit - generated code.
6
7 class CSSStyleSheetWrappingImplementation extends StyleSheetWrappingImplementati on implements CSSStyleSheet {
8 CSSStyleSheetWrappingImplementation._wrap(ptr) : super._wrap(ptr) {}
9
10 CSSRuleList get cssRules() { return LevelDom.wrapCSSRuleList(_ptr.cssRules); }
11
12 CSSRule get ownerRule() { return LevelDom.wrapCSSRule(_ptr.ownerRule); }
13
14 CSSRuleList get rules() { return LevelDom.wrapCSSRuleList(_ptr.rules); }
15
16 int addRule(String selector, String style, [int index]) {
17 if (index === null) {
18 return _ptr.addRule(selector, style);
19 } else {
20 return _ptr.addRule(selector, style, index);
21 }
22 }
23
24 void deleteRule(int index) {
25 _ptr.deleteRule(index);
26 return;
27 }
28
29 int insertRule(String rule, int index) {
30 return _ptr.insertRule(rule, index);
31 }
32
33 void removeRule(int index) {
34 _ptr.removeRule(index);
35 return;
36 }
37 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698