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

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

Issue 37563003: Fix inspector break from Dartium roll (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: ready to review Created 7 years, 1 month 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 | 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 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 } 158 }
159 159
160 static _ConsoleVariables _consoleTempVariables = new _ConsoleVariables(); 160 static _ConsoleVariables _consoleTempVariables = new _ConsoleVariables();
161 161
162 /** 162 /**
163 * Header passed in from the Dartium Developer Tools when an expression is 163 * Header passed in from the Dartium Developer Tools when an expression is
164 * evaluated in the console as opposed to the watch window or another context 164 * evaluated in the console as opposed to the watch window or another context
165 * that does not expect REPL support. 165 * that does not expect REPL support.
166 */ 166 */
167 static const _CONSOLE_API_SUPPORT_HEADER = 167 static const _CONSOLE_API_SUPPORT_HEADER =
168 'with ((this && this.console && this.console._commandLineAPI) || {}) {\n'; 168 'with ((console && console._commandLineAPI) || {}) {\n';
169 169
170 /** 170 /**
171 * Takes an [expression] and a list of [local] variable and returns an 171 * Takes an [expression] and a list of [local] variable and returns an
172 * expression for a closure with a body matching the original expression 172 * expression for a closure with a body matching the original expression
173 * where locals are passed in as arguments. Returns a list containing the 173 * where locals are passed in as arguments. Returns a list containing the
174 * String expression for the closure and the list of arguments that should 174 * String expression for the closure and the list of arguments that should
175 * be passed to it. The expression should then be evaluated using 175 * be passed to it. The expression should then be evaluated using
176 * Dart_EvaluateExpr which will generate a closure that should be invoked 176 * Dart_EvaluateExpr which will generate a closure that should be invoked
177 * with the list of arguments passed to this method. 177 * with the list of arguments passed to this method.
178 * 178 *
(...skipping 431 matching lines...) Expand 10 before | Expand all | Expand 10 after
610 _scheduleImmediateHelper._schedule(callback); 610 _scheduleImmediateHelper._schedule(callback);
611 }; 611 };
612 612
613 get _pureIsolateScheduleImmediateClosure => ((void callback()) => 613 get _pureIsolateScheduleImmediateClosure => ((void callback()) =>
614 throw new UnimplementedError("scheduleMicrotask in background isolates " 614 throw new UnimplementedError("scheduleMicrotask in background isolates "
615 "are not supported in the browser")); 615 "are not supported in the browser"));
616 616
617 void _initializeCustomElement(Element e) { 617 void _initializeCustomElement(Element e) {
618 _Utils.initializeCustomElement(e); 618 _Utils.initializeCustomElement(e);
619 } 619 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698