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

Side by Side Diff: tools/dom/src/native_DOMImplementation.dart

Issue 265833008: Fix for bug 18596- analyzer warning in dart:html under Dartium (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 7 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 | « tools/dom/src/dartium_CustomElementSupport.dart ('k') | no next file » | 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) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 part of html; 5 part of html;
6 6
7 class _ConsoleVariables { 7 class _ConsoleVariables {
8 Map<String, Object> _data = new Map<String, Object>(); 8 Map<String, Object> _data = new Map<String, Object>();
9 9
10 /** 10 /**
(...skipping 399 matching lines...) Expand 10 before | Expand all | Expand 10 after
410 _register(document, tag, type, extendsTagName); 410 _register(document, tag, type, extendsTagName);
411 } 411 }
412 412
413 static void _register(Document document, String tag, Type customType, 413 static void _register(Document document, String tag, Type customType,
414 String extendsTagName) native "Utils_register"; 414 String extendsTagName) native "Utils_register";
415 415
416 static Element createElement(Document document, String tagName) native "Utils_ createElement"; 416 static Element createElement(Document document, String tagName) native "Utils_ createElement";
417 417
418 static void initializeCustomElement(HtmlElement element) native "Utils_initial izeCustomElement"; 418 static void initializeCustomElement(HtmlElement element) native "Utils_initial izeCustomElement";
419 419
420 static void changeElementWrapper(HtmlElement element, Type type) native "Utils _changeElementWrapper"; 420 static Element changeElementWrapper(HtmlElement element, Type type) native "Ut ils_changeElementWrapper";
421 } 421 }
422 422
423 class _DOMWindowCrossFrame extends NativeFieldWrapperClass2 implements 423 class _DOMWindowCrossFrame extends NativeFieldWrapperClass2 implements
424 WindowBase { 424 WindowBase {
425 _DOMWindowCrossFrame.internal(); 425 _DOMWindowCrossFrame.internal();
426 426
427 // Fields. 427 // Fields.
428 HistoryBase get history native "Window_history_cross_frame_Getter"; 428 HistoryBase get history native "Window_history_cross_frame_Getter";
429 LocationBase get location native "Window_location_cross_frame_Getter"; 429 LocationBase get location native "Window_location_cross_frame_Getter";
430 bool get closed native "Window_closed_Getter"; 430 bool get closed native "Window_closed_Getter";
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
596 _scheduleImmediateHelper._schedule(callback); 596 _scheduleImmediateHelper._schedule(callback);
597 }; 597 };
598 598
599 get _pureIsolateScheduleImmediateClosure => ((void callback()) => 599 get _pureIsolateScheduleImmediateClosure => ((void callback()) =>
600 throw new UnimplementedError("scheduleMicrotask in background isolates " 600 throw new UnimplementedError("scheduleMicrotask in background isolates "
601 "are not supported in the browser")); 601 "are not supported in the browser"));
602 602
603 void _initializeCustomElement(Element e) { 603 void _initializeCustomElement(Element e) {
604 _Utils.initializeCustomElement(e); 604 _Utils.initializeCustomElement(e);
605 } 605 }
OLDNEW
« no previous file with comments | « tools/dom/src/dartium_CustomElementSupport.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698