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

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

Issue 15810007: Updating Clipboard.setDragImage to accept elements. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 6 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 /// The Dart HTML library. 1 /// The Dart HTML library.
2 library dart.dom.html; 2 library dart.dom.html;
3 3
4 import 'dart:async'; 4 import 'dart:async';
5 import 'dart:collection'; 5 import 'dart:collection';
6 import 'dart:_collection-dev' hide Symbol; 6 import 'dart:_collection-dev' hide Symbol;
7 import 'dart:html_common'; 7 import 'dart:html_common';
8 import 'dart:indexed_db'; 8 import 'dart:indexed_db';
9 import 'dart:isolate'; 9 import 'dart:isolate';
10 import 'dart:json' as json; 10 import 'dart:json' as json;
(...skipping 5675 matching lines...) Expand 10 before | Expand all | Expand 10 after
5686 @DomName('Clipboard.getData') 5686 @DomName('Clipboard.getData')
5687 @DocsEditable 5687 @DocsEditable
5688 String getData(String type) native; 5688 String getData(String type) native;
5689 5689
5690 @DomName('Clipboard.setData') 5690 @DomName('Clipboard.setData')
5691 @DocsEditable 5691 @DocsEditable
5692 bool setData(String type, String data) native; 5692 bool setData(String type, String data) native;
5693 5693
5694 @DomName('Clipboard.setDragImage') 5694 @DomName('Clipboard.setDragImage')
5695 @DocsEditable 5695 @DocsEditable
5696 void setDragImage(ImageElement image, int x, int y) native; 5696 void setDragImage(Element element, int x, int y) native;
5697 } 5697 }
5698 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 5698 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5699 // for details. All rights reserved. Use of this source code is governed by a 5699 // for details. All rights reserved. Use of this source code is governed by a
5700 // BSD-style license that can be found in the LICENSE file. 5700 // BSD-style license that can be found in the LICENSE file.
5701 5701
5702 5702
5703 @DocsEditable 5703 @DocsEditable
5704 @DomName('DataTransferItem') 5704 @DomName('DataTransferItem')
5705 // http://www.w3.org/TR/2011/WD-html5-20110113/dnd.html#the-datatransferitem-int erface 5705 // http://www.w3.org/TR/2011/WD-html5-20110113/dnd.html#the-datatransferitem-int erface
5706 @Experimental 5706 @Experimental
(...skipping 23639 matching lines...) Expand 10 before | Expand all | Expand 10 after
29346 _position = nextPosition; 29346 _position = nextPosition;
29347 return true; 29347 return true;
29348 } 29348 }
29349 _current = null; 29349 _current = null;
29350 _position = _array.length; 29350 _position = _array.length;
29351 return false; 29351 return false;
29352 } 29352 }
29353 29353
29354 T get current => _current; 29354 T get current => _current;
29355 } 29355 }
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