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

Side by Side Diff: client/html/release/html.dart

Issue 8581002: Mirgate dart:html to initWebKitWheelEvent. (Closed) Base URL: http://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
« no previous file with comments | « no previous file | client/html/src/WheelEventWrappingImplementation.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #library('html'); 1 #library('html');
2 2
3 #import('dart:dom', prefix:'dom'); 3 #import('dart:dom', prefix:'dom');
4 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 4 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
5 // for details. All rights reserved. Use of this source code is governed by a 5 // for details. All rights reserved. Use of this source code is governed by a
6 // BSD-style license that can be found in the LICENSE file. 6 // BSD-style license that can be found in the LICENSE file.
7 7
8 // DO NOT EDIT 8 // DO NOT EDIT
9 // Auto-generated Dart HTML library. 9 // Auto-generated Dart HTML library.
10 10
(...skipping 26091 matching lines...) Expand 10 before | Expand all | Expand 10 after
26102 // for details. All rights reserved. Use of this source code is governed by a 26102 // for details. All rights reserved. Use of this source code is governed by a
26103 // BSD-style license that can be found in the LICENSE file. 26103 // BSD-style license that can be found in the LICENSE file.
26104 26104
26105 class WheelEventWrappingImplementation extends UIEventWrappingImplementation imp lements WheelEvent { 26105 class WheelEventWrappingImplementation extends UIEventWrappingImplementation imp lements WheelEvent {
26106 WheelEventWrappingImplementation._wrap(ptr) : super._wrap(ptr); 26106 WheelEventWrappingImplementation._wrap(ptr) : super._wrap(ptr);
26107 26107
26108 factory WheelEventWrappingImplementation(int deltaX, int deltaY, Window view, 26108 factory WheelEventWrappingImplementation(int deltaX, int deltaY, Window view,
26109 int screenX, int screenY, int clientX, int clientY, [bool ctrlKey = false, 26109 int screenX, int screenY, int clientX, int clientY, [bool ctrlKey = false,
26110 bool altKey = false, bool shiftKey = false, bool metaKey = false]) { 26110 bool altKey = false, bool shiftKey = false, bool metaKey = false]) {
26111 final e = dom.document.createEvent("WheelEvent"); 26111 final e = dom.document.createEvent("WheelEvent");
26112 e.initWheelEvent(deltaX, deltaY, LevelDom.unwrap(view), screenX, screenY, 26112 e.initWebKitWheelEvent(deltaX, deltaY, LevelDom.unwrap(view), screenX, scree nY,
26113 clientX, clientY, ctrlKey, altKey, shiftKey, metaKey); 26113 clientX, clientY, ctrlKey, altKey, shiftKey, metaKey);
26114 return LevelDom.wrapWheelEvent(e); 26114 return LevelDom.wrapWheelEvent(e);
26115 } 26115 }
26116 26116
26117 bool get altKey() => _ptr.altKey; 26117 bool get altKey() => _ptr.altKey;
26118 26118
26119 int get clientX() => _ptr.clientX; 26119 int get clientX() => _ptr.clientX;
26120 26120
26121 int get clientY() => _ptr.clientY; 26121 int get clientY() => _ptr.clientY;
26122 26122
(...skipping 1510 matching lines...) Expand 10 before | Expand all | Expand 10 after
27633 _ptr.setRequestHeader(header, value); 27633 _ptr.setRequestHeader(header, value);
27634 } 27634 }
27635 27635
27636 XMLHttpRequestEvents get on() { 27636 XMLHttpRequestEvents get on() {
27637 if (_on === null) { 27637 if (_on === null) {
27638 _on = new XMLHttpRequestEventsImplementation._wrap(_ptr); 27638 _on = new XMLHttpRequestEventsImplementation._wrap(_ptr);
27639 } 27639 }
27640 return _on; 27640 return _on;
27641 } 27641 }
27642 } 27642 }
OLDNEW
« no previous file with comments | « no previous file | client/html/src/WheelEventWrappingImplementation.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698