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

Side by Side Diff: sky/engine/bindings/builtin_natives.dart

Issue 1200953007: Move internals.dart out of Sky SDK (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: _____ Created 5 years, 6 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 library sky_builtin; 5 library builtin_natives;
6 6
7 import "dart:async"; 7 import "dart:async";
8 8
9 // Corelib 'print' implementation. 9 // Corelib 'print' implementation.
10 void _print(arg) { 10 void _print(arg) {
11 _Logger._printString(arg.toString()); 11 _Logger._printString(arg.toString());
12 } 12 }
13 13
14 class _Logger { 14 class _Logger {
15 static void _printString(String s) native "Logger_PrintString"; 15 static void _printString(String s) native "Logger_PrintString";
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 return new _Timer(milliseconds, callback, repeating); 48 return new _Timer(milliseconds, callback, repeating);
49 } 49 }
50 50
51 String _getBaseURLString() native "GetBaseURLString"; 51 String _getBaseURLString() native "GetBaseURLString";
52 Uri _getBaseURL() => Uri.parse(_getBaseURLString()); 52 Uri _getBaseURL() => Uri.parse(_getBaseURLString());
53 53
54 _getPrintClosure() => _print; 54 _getPrintClosure() => _print;
55 _getScheduleMicrotaskClosure() => _scheduleMicrotask; 55 _getScheduleMicrotaskClosure() => _scheduleMicrotask;
56 _getGetBaseURLClosure() =>_getBaseURL; 56 _getGetBaseURLClosure() =>_getBaseURL;
57 _getCreateTimerClosure() => _createTimer; 57 _getCreateTimerClosure() => _createTimer;
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698