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

Side by Side Diff: client/dom/templates/html/impl/impl_DocumentFragment.darttemplate

Issue 9838081: Regenerate HTML bindings. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 9 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 | « client/dom/frog/dom_frog.dart ('k') | client/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 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 class FilteredElementList implements ElementList { 5 class FilteredElementList implements ElementList {
6 final Node _node; 6 final Node _node;
7 final NodeList _childNodes; 7 final NodeList _childNodes;
8 8
9 FilteredElementList(Node node): _childNodes = node.nodes, _node = node; 9 FilteredElementList(Node node): _childNodes = node.nodes, _node = node;
10 10
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 234
235 // Imperative Element methods are made into no-ops, as they are on parentless 235 // Imperative Element methods are made into no-ops, as they are on parentless
236 // elements. 236 // elements.
237 void blur() {} 237 void blur() {}
238 void focus() {} 238 void focus() {}
239 void click() {} 239 void click() {}
240 void scrollByLines(int lines) {} 240 void scrollByLines(int lines) {}
241 void scrollByPages(int pages) {} 241 void scrollByPages(int pages) {}
242 void scrollIntoView([bool centerIfNeeded]) {} 242 void scrollIntoView([bool centerIfNeeded]) {}
243 void webkitRequestFullScreen(int flags) {} 243 void webkitRequestFullScreen(int flags) {}
244 void webkitRequestFullscreen() {}
244 245
245 // Setters throw errors rather than being no-ops because we aren't going to 246 // Setters throw errors rather than being no-ops because we aren't going to
246 // retain the values that were set, and erroring out seems clearer. 247 // retain the values that were set, and erroring out seems clearer.
247 void set attributes(Map<String, String> value) { 248 void set attributes(Map<String, String> value) {
248 throw new UnsupportedOperationException( 249 throw new UnsupportedOperationException(
249 "Attributes can't be set for document fragments."); 250 "Attributes can't be set for document fragments.");
250 } 251 }
251 252
252 void set classes(Collection<String> value) { 253 void set classes(Collection<String> value) {
253 throw new UnsupportedOperationException( 254 throw new UnsupportedOperationException(
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
334 "WebKit drop zone can't be set for document fragments."); 335 "WebKit drop zone can't be set for document fragments.");
335 } 336 }
336 337
337 void set webkitRegionOverflow(String value) { 338 void set webkitRegionOverflow(String value) {
338 throw new UnsupportedOperationException( 339 throw new UnsupportedOperationException(
339 "WebKit region overflow can't be set for document fragments."); 340 "WebKit region overflow can't be set for document fragments.");
340 } 341 }
341 342
342 $!MEMBERS 343 $!MEMBERS
343 } 344 }
OLDNEW
« no previous file with comments | « client/dom/frog/dom_frog.dart ('k') | client/html/dartium/html_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698