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

Side by Side Diff: lib/dom/dom.dart

Issue 10035039: Update fremontcut with current chrome feature defines (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Add battery APIs Created 8 years, 8 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 | lib/dom/frog/dom_frog.dart » ('j') | lib/dom/scripts/fremontcutbuilder.py » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #library('dom'); 1 #library('dom');
2 2
3 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 3 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
4 // for details. All rights reserved. Use of this source code is governed by a 4 // for details. All rights reserved. Use of this source code is governed by a
5 // BSD-style license that can be found in the LICENSE file. 5 // BSD-style license that can be found in the LICENSE file.
6 6
7 // DO NOT EDIT 7 // DO NOT EDIT
8 // Auto-generated Dart DOM library with no implementation. 8 // Auto-generated Dart DOM library with no implementation.
9 9
10 10
(...skipping 552 matching lines...) Expand 10 before | Expand all | Expand 10 after
563 } 563 }
564 564
565 interface BarInfo extends BarProp { 565 interface BarInfo extends BarProp {
566 } 566 }
567 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 567 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
568 // for details. All rights reserved. Use of this source code is governed by a 568 // for details. All rights reserved. Use of this source code is governed by a
569 // BSD-style license that can be found in the LICENSE file. 569 // BSD-style license that can be found in the LICENSE file.
570 570
571 // WARNING: Do not edit - generated code. 571 // WARNING: Do not edit - generated code.
572 572
573 interface BatteryManager extends EventTarget {
574
575 final bool charging;
576
577 final num chargingTime;
578
579 final num dischargingTime;
580
581 final num level;
582
583 void addEventListener(String type, EventListener listener, [bool useCapture]);
584
585 bool dispatchEvent(Event evt);
586
587 void removeEventListener(String type, EventListener listener, [bool useCapture ]);
588 }
589 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
590 // for details. All rights reserved. Use of this source code is governed by a
591 // BSD-style license that can be found in the LICENSE file.
592
593 // WARNING: Do not edit - generated code.
594
573 interface BeforeLoadEvent extends Event { 595 interface BeforeLoadEvent extends Event {
574 596
575 final String url; 597 final String url;
576 } 598 }
577 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 599 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
578 // for details. All rights reserved. Use of this source code is governed by a 600 // for details. All rights reserved. Use of this source code is governed by a
579 // BSD-style license that can be found in the LICENSE file. 601 // BSD-style license that can be found in the LICENSE file.
580 602
581 // WARNING: Do not edit - generated code. 603 // WARNING: Do not edit - generated code.
582 604
(...skipping 3610 matching lines...) Expand 10 before | Expand all | Expand 10 after
4193 final String webkitMediaSourceURL; 4215 final String webkitMediaSourceURL;
4194 4216
4195 bool webkitPreservesPitch; 4217 bool webkitPreservesPitch;
4196 4218
4197 final int webkitSourceState; 4219 final int webkitSourceState;
4198 4220
4199 final int webkitVideoDecodedByteCount; 4221 final int webkitVideoDecodedByteCount;
4200 4222
4201 TextTrack addTextTrack(String kind, [String label, String language]); 4223 TextTrack addTextTrack(String kind, [String label, String language]);
4202 4224
4203 String canPlayType(String type); 4225 String canPlayType(String type, String keySystem);
4204 4226
4205 void load(); 4227 void load();
4206 4228
4207 void pause(); 4229 void pause();
4208 4230
4209 void play(); 4231 void play();
4210 4232
4233 void webkitAddKey(String keySystem, Uint8Array key, [Uint8Array initData, Stri ng sessionId]);
4234
4235 void webkitCancelKeyRequest(String keySystem, String sessionId);
4236
4237 void webkitGenerateKeyRequest(String keySystem, [Uint8Array initData]);
4238
4211 void webkitSourceAddId(String id, String type); 4239 void webkitSourceAddId(String id, String type);
4212 4240
4213 void webkitSourceAppend(Uint8Array data); 4241 void webkitSourceAppend(Uint8Array data);
4214 4242
4215 void webkitSourceEndOfStream(int status); 4243 void webkitSourceEndOfStream(int status);
4216 4244
4217 void webkitSourceRemoveId(String id); 4245 void webkitSourceRemoveId(String id);
4218 } 4246 }
4219 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 4247 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
4220 // for details. All rights reserved. Use of this source code is governed by a 4248 // for details. All rights reserved. Use of this source code is governed by a
(...skipping 1347 matching lines...) Expand 10 before | Expand all | Expand 10 after
5568 // BSD-style license that can be found in the LICENSE file. 5596 // BSD-style license that can be found in the LICENSE file.
5569 5597
5570 // WARNING: Do not edit - generated code. 5598 // WARNING: Do not edit - generated code.
5571 5599
5572 interface MediaError { 5600 interface MediaError {
5573 5601
5574 static final int MEDIA_ERR_ABORTED = 1; 5602 static final int MEDIA_ERR_ABORTED = 1;
5575 5603
5576 static final int MEDIA_ERR_DECODE = 3; 5604 static final int MEDIA_ERR_DECODE = 3;
5577 5605
5606 static final int MEDIA_ERR_ENCRYPTED = 5;
5607
5578 static final int MEDIA_ERR_NETWORK = 2; 5608 static final int MEDIA_ERR_NETWORK = 2;
5579 5609
5580 static final int MEDIA_ERR_SRC_NOT_SUPPORTED = 4; 5610 static final int MEDIA_ERR_SRC_NOT_SUPPORTED = 4;
5581 5611
5582 final int code; 5612 final int code;
5583 } 5613 }
5584 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 5614 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5585 // for details. All rights reserved. Use of this source code is governed by a 5615 // for details. All rights reserved. Use of this source code is governed by a
5586 // BSD-style license that can be found in the LICENSE file. 5616 // BSD-style license that can be found in the LICENSE file.
5587 5617
5588 // WARNING: Do not edit - generated code. 5618 // WARNING: Do not edit - generated code.
5589 5619
5620 interface MediaKeyError {
5621
5622 static final int MEDIA_KEYERR_CLIENT = 2;
5623
5624 static final int MEDIA_KEYERR_DOMAIN = 6;
5625
5626 static final int MEDIA_KEYERR_HARDWARECHANGE = 5;
5627
5628 static final int MEDIA_KEYERR_OUTPUT = 4;
5629
5630 static final int MEDIA_KEYERR_SERVICE = 3;
5631
5632 static final int MEDIA_KEYERR_UNKNOWN = 1;
5633
5634 final int code;
5635 }
5636 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5637 // for details. All rights reserved. Use of this source code is governed by a
5638 // BSD-style license that can be found in the LICENSE file.
5639
5640 // WARNING: Do not edit - generated code.
5641
5642 interface MediaKeyEvent extends Event {
5643
5644 final String defaultURL;
5645
5646 final MediaKeyError errorCode;
5647
5648 final Uint8Array initData;
5649
5650 final String keySystem;
5651
5652 final Uint8Array message;
5653
5654 final String sessionId;
5655
5656 final int systemCode;
5657 }
5658 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5659 // for details. All rights reserved. Use of this source code is governed by a
5660 // BSD-style license that can be found in the LICENSE file.
5661
5662 // WARNING: Do not edit - generated code.
5663
5590 interface MediaList extends List<String> { 5664 interface MediaList extends List<String> {
5591 5665
5592 final int length; 5666 final int length;
5593 5667
5594 String mediaText; 5668 String mediaText;
5595 5669
5596 void appendMedium(String newMedium); 5670 void appendMedium(String newMedium);
5597 5671
5598 void deleteMedium(String oldMedium); 5672 void deleteMedium(String oldMedium);
5599 5673
(...skipping 355 matching lines...) Expand 10 before | Expand all | Expand 10 after
5955 final String product; 6029 final String product;
5956 6030
5957 final String productSub; 6031 final String productSub;
5958 6032
5959 final String userAgent; 6033 final String userAgent;
5960 6034
5961 final String vendor; 6035 final String vendor;
5962 6036
5963 final String vendorSub; 6037 final String vendorSub;
5964 6038
6039 final BatteryManager webkitBattery;
6040
5965 final PointerLock webkitPointer; 6041 final PointerLock webkitPointer;
5966 6042
5967 void getStorageUpdates(); 6043 void getStorageUpdates();
5968 6044
5969 bool javaEnabled(); 6045 bool javaEnabled();
5970 6046
5971 void registerProtocolHandler(String scheme, String url, String title); 6047 void registerProtocolHandler(String scheme, String url, String title);
5972 6048
5973 void webkitGetUserMedia(String options, NavigatorUserMediaSuccessCallback succ essCallback, [NavigatorUserMediaErrorCallback errorCallback]); 6049 void webkitGetUserMedia(String options, NavigatorUserMediaSuccessCallback succ essCallback, [NavigatorUserMediaErrorCallback errorCallback]);
5974 } 6050 }
(...skipping 6858 matching lines...) Expand 10 before | Expand all | Expand 10 after
12833 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 12909 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
12834 // for details. All rights reserved. Use of this source code is governed by a 12910 // for details. All rights reserved. Use of this source code is governed by a
12835 // BSD-style license that can be found in the LICENSE file. 12911 // BSD-style license that can be found in the LICENSE file.
12836 12912
12837 Window get window() => _dummy(); 12913 Window get window() => _dummy();
12838 12914
12839 // TODO(vsm): Remove when prefixes are supported. 12915 // TODO(vsm): Remove when prefixes are supported.
12840 Window get dom_window() => _dummy(); 12916 Window get dom_window() => _dummy();
12841 12917
12842 Document get document() => _dummy(); 12918 Document get document() => _dummy();
OLDNEW
« no previous file with comments | « no previous file | lib/dom/frog/dom_frog.dart » ('j') | lib/dom/scripts/fremontcutbuilder.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698