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

Side by Side Diff: client/html/src/OverflowEventWrappingImplementation.dart

Issue 8404013: Add constructors to all the event classes. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 9 years, 1 month 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
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 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 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 // WARNING: Do not edit - generated code.
6
7 class OverflowEventWrappingImplementation extends EventWrappingImplementation im plements OverflowEvent { 5 class OverflowEventWrappingImplementation extends EventWrappingImplementation im plements OverflowEvent {
8 OverflowEventWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} 6 OverflowEventWrappingImplementation._wrap(ptr) : super._wrap(ptr) {}
9 7
8 factory OverflowEventWrappingImplementation(int orient,
9 bool horizontalOverflow, bool verticalOverflow) {
10 var e = dom.document.createEvent("OverflowEvent");
11 e.initOverflowEvent(orient, horizontalOverflow, verticalOverflow);
12 return LevelDom.wrapOverflowEvent(e);
13 }
14
10 bool get horizontalOverflow() { return _ptr.horizontalOverflow; } 15 bool get horizontalOverflow() { return _ptr.horizontalOverflow; }
11 16
12 int get orient() { return _ptr.orient; } 17 int get orient() { return _ptr.orient; }
13 18
14 bool get verticalOverflow() { return _ptr.verticalOverflow; } 19 bool get verticalOverflow() { return _ptr.verticalOverflow; }
15
16 void initOverflowEvent(int orient, bool horizontalOverflow, bool verticalOverf low) {
17 _ptr.initOverflowEvent(orient, horizontalOverflow, verticalOverflow);
18 return;
19 }
20 } 20 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698