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

Side by Side Diff: client/html/src/BodyElementWrappingImplementation.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 class BodyElementEventsImplementation
6 extends ElementEventsImplementation implements BodyElementEvents {
7
8 BodyElementEventsImplementation._wrap(_ptr) : super._wrap(_ptr);
9
10 EventListenerList get beforeUnload() => _get('beforeunload');
11 EventListenerList get hashChange() => _get('hashchange');
12 EventListenerList get message() => _get('message');
13 EventListenerList get offline() => _get('offline');
14 EventListenerList get online() => _get('online');
15 EventListenerList get orientationChange() => _get('orientationchange');
16 EventListenerList get popState() => _get('popstate');
17 EventListenerList get resize() => _get('resize');
18 EventListenerList get storage() => _get('storage');
19 EventListenerList get unLoad() => _get('unload');
20 }
21
22 class BodyElementWrappingImplementation
23 extends ElementWrappingImplementation implements BodyElement {
24
25 BodyElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {}
26
27 BodyElementEvents get on() {
28 if (_on === null) {
29 _on = new BodyElementEventsImplementation._wrap(_ptr);
30 }
31 return _on;
32 }
33 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698