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

Unified Diff: lib/html/src/shared_FactoryProviders.dart

Issue 11191043: Third round of cleanups for new optional parameter semantics. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: lib/html/src/shared_FactoryProviders.dart
===================================================================
--- lib/html/src/shared_FactoryProviders.dart (revision 13762)
+++ lib/html/src/shared_FactoryProviders.dart (working copy)
@@ -23,9 +23,9 @@
class _MouseEventFactoryProvider {
static MouseEvent createMouseEvent(String type, Window view, int detail,
int screenX, int screenY, int clientX, int clientY, int button,
- [bool canBubble = true, bool cancelable = true, bool ctrlKey = false,
- bool altKey = false, bool shiftKey = false, bool metaKey = false,
- EventTarget relatedTarget = null]) {
+ bool canBubble, bool cancelable, bool ctrlKey,
+ bool altKey, bool shiftKey, bool metaKey,
+ EventTarget relatedTarget) {
final e = _document.$dom_createEvent("MouseEvent");
e.$dom_initMouseEvent(type, canBubble, cancelable, view, detail,
screenX, screenY, clientX, clientY, ctrlKey, altKey, shiftKey, metaKey,

Powered by Google App Engine
This is Rietveld 408576698