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

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

Issue 25405002: Remove NPObject from generated dart:html for Dartium. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « sdk/lib/html/dartium/html_dartium.dart ('k') | tools/dom/src/native_DOMPublic.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) 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 280 matching lines...) Expand 10 before | Expand all | Expand 10 after
291 } 291 }
292 _register(document, tag, type, extendsTagName); 292 _register(document, tag, type, extendsTagName);
293 } 293 }
294 294
295 static void _register(Document document, String tag, Type customType, 295 static void _register(Document document, String tag, Type customType,
296 String extendsTagName) native "Utils_register"; 296 String extendsTagName) native "Utils_register";
297 297
298 static Element createElement(Document document, String tagName) native "Utils_ createElement"; 298 static Element createElement(Document document, String tagName) native "Utils_ createElement";
299 } 299 }
300 300
301 class _NPObject extends NativeFieldWrapperClass1 {
302 _NPObject.internal();
303 static _NPObject retrieve(String key) native "NPObject_retrieve";
304 property(String propertyName) native "NPObject_property";
305 invoke(String methodName, [List args = null]) native "NPObject_invoke";
306 }
307
308 class _DOMWindowCrossFrame extends NativeFieldWrapperClass1 implements 301 class _DOMWindowCrossFrame extends NativeFieldWrapperClass1 implements
309 WindowBase { 302 WindowBase {
310 _DOMWindowCrossFrame.internal(); 303 _DOMWindowCrossFrame.internal();
311 304
312 // Fields. 305 // Fields.
313 HistoryBase get history native "Window_history_cross_frame_Getter"; 306 HistoryBase get history native "Window_history_cross_frame_Getter";
314 LocationBase get location native "Window_location_cross_frame_Getter"; 307 LocationBase get location native "Window_location_cross_frame_Getter";
315 bool get closed native "Window_closed_Getter"; 308 bool get closed native "Window_closed_Getter";
316 int get length native "Window_length_Getter"; 309 int get length native "Window_length_Getter";
317 WindowBase get opener native "Window_opener_Getter"; 310 WindowBase get opener native "Window_opener_Getter";
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
510 _send(msg) { 503 _send(msg) {
511 _sendToHelperIsolate(msg, _sendPort); 504 _sendToHelperIsolate(msg, _sendPort);
512 } 505 }
513 506
514 bool get isActive => _isActive; 507 bool get isActive => _isActive;
515 } 508 }
516 509
517 get _pureIsolateTimerFactoryClosure => 510 get _pureIsolateTimerFactoryClosure =>
518 ((int milliSeconds, void callback(Timer time), bool repeating) => 511 ((int milliSeconds, void callback(Timer time), bool repeating) =>
519 new _PureIsolateTimer(milliSeconds, callback, repeating)); 512 new _PureIsolateTimer(milliSeconds, callback, repeating));
OLDNEW
« no previous file with comments | « sdk/lib/html/dartium/html_dartium.dart ('k') | tools/dom/src/native_DOMPublic.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698