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

Side by Side Diff: sdk/lib/html/dart2js/html_dart2js.dart

Issue 11956030: Fixing dartc error about not using ~/ operator and FF test error. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 11 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
« no previous file with comments | « no previous file | sdk/lib/html/dartium/html_dartium.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:async'; 3 import 'dart:async';
4 import 'dart:collection'; 4 import 'dart:collection';
5 import 'dart:html_common'; 5 import 'dart:html_common';
6 import 'dart:indexed_db'; 6 import 'dart:indexed_db';
7 import 'dart:isolate'; 7 import 'dart:isolate';
8 import 'dart:json' as json; 8 import 'dart:json' as json;
9 import 'dart:math'; 9 import 'dart:math';
10 import 'dart:svg' as svg; 10 import 'dart:svg' as svg;
(...skipping 22413 matching lines...) Expand 10 before | Expand all | Expand 10 after
22424 } 22424 }
22425 event._initMouseScrollEvent(type, canBubble, cancelable, view, detail, 22425 event._initMouseScrollEvent(type, canBubble, cancelable, view, detail,
22426 screenX, screenY, clientX, clientY, ctrlKey, altKey, shiftKey, 22426 screenX, screenY, clientX, clientY, ctrlKey, altKey, shiftKey,
22427 metaKey, button, relatedTarget, axis); 22427 metaKey, button, relatedTarget, axis);
22428 } else { 22428 } else {
22429 // Fallthrough for Dartium. 22429 // Fallthrough for Dartium.
22430 event.$dom_initMouseEvent(type, canBubble, cancelable, view, detail, 22430 event.$dom_initMouseEvent(type, canBubble, cancelable, view, detail,
22431 screenX, screenY, clientX, clientY, ctrlKey, altKey, shiftKey, 22431 screenX, screenY, clientX, clientY, ctrlKey, altKey, shiftKey,
22432 metaKey, button, relatedTarget); 22432 metaKey, button, relatedTarget);
22433 event.$dom_initWebKitWheelEvent(wheelDeltaX, 22433 event.$dom_initWebKitWheelEvent(wheelDeltaX,
22434 (wheelDeltaY / 120).toInt(), // Chrome does an auto-convert to pixels. 22434 wheelDeltaY ~/ 120, // Chrome does an auto-convert to pixels.
22435 view, screenX, screenY, clientX, clientY, ctrlKey, altKey, shiftKey, 22435 view, screenX, screenY, clientX, clientY, ctrlKey, altKey, shiftKey,
22436 metaKey); 22436 metaKey);
22437 } 22437 }
22438 22438
22439 return event; 22439 return event;
22440 } 22440 }
22441 22441
22442 22442
22443 @DocsEditable @DomName('WheelEvent.webkitDirectionInvertedFromDevice') 22443 @DocsEditable @DomName('WheelEvent.webkitDirectionInvertedFromDevice')
22444 final bool webkitDirectionInvertedFromDevice; 22444 final bool webkitDirectionInvertedFromDevice;
(...skipping 6393 matching lines...) Expand 10 before | Expand all | Expand 10 after
28838 _position = nextPosition; 28838 _position = nextPosition;
28839 return true; 28839 return true;
28840 } 28840 }
28841 _current = null; 28841 _current = null;
28842 _position = _array.length; 28842 _position = _array.length;
28843 return false; 28843 return false;
28844 } 28844 }
28845 28845
28846 T get current => _current; 28846 T get current => _current;
28847 } 28847 }
OLDNEW
« no previous file with comments | « no previous file | sdk/lib/html/dartium/html_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698