| OLD | NEW |
| 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, 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 library debugger_page_element; | 5 library debugger_page_element; |
| 6 | 6 |
| 7 import 'dart:async'; | 7 import 'dart:async'; |
| 8 import 'dart:svg'; | 8 import 'dart:svg'; |
| 9 import 'dart:html'; | 9 import 'dart:html'; |
| 10 import 'dart:math'; | 10 import 'dart:math'; |
| (...skipping 1951 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1962 | 1962 |
| 1963 factory DebuggerPageElement(S.Isolate isolate, M.InstanceRepository instances, | 1963 factory DebuggerPageElement(S.Isolate isolate, M.InstanceRepository instances, |
| 1964 M.ScriptRepository scripts, M.EventRepository events) { | 1964 M.ScriptRepository scripts, M.EventRepository events) { |
| 1965 assert(isolate != null); | 1965 assert(isolate != null); |
| 1966 assert(instances != null); | 1966 assert(instances != null); |
| 1967 assert(scripts != null); | 1967 assert(scripts != null); |
| 1968 assert(events != null); | 1968 assert(events != null); |
| 1969 final e = document.createElement(tag.name); | 1969 final e = document.createElement(tag.name); |
| 1970 final debugger = new ObservatoryDebugger(isolate); | 1970 final debugger = new ObservatoryDebugger(isolate); |
| 1971 debugger.page = e; | 1971 debugger.page = e; |
| 1972 debugger.instances = instances; |
| 1972 e._isolate = isolate; | 1973 e._isolate = isolate; |
| 1973 e._debugger = debugger; | 1974 e._debugger = debugger; |
| 1974 e._instances = instances; | 1975 e._instances = instances; |
| 1975 e._scripts = scripts; | 1976 e._scripts = scripts; |
| 1976 e._events = events; | 1977 e._events = events; |
| 1977 return e; | 1978 return e; |
| 1978 } | 1979 } |
| 1979 | 1980 |
| 1980 DebuggerPageElement.created() : super.created(); | 1981 DebuggerPageElement.created() : super.created(); |
| 1981 | 1982 |
| (...skipping 1274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3256 ..setAttribute('height', '24') | 3257 ..setAttribute('height', '24') |
| 3257 ..children = [ | 3258 ..children = [ |
| 3258 new PathElement() | 3259 new PathElement() |
| 3259 ..setAttribute( | 3260 ..setAttribute( |
| 3260 'd', | 3261 'd', |
| 3261 'M11 17h2v-6h-2v6zm1-15C6.48 2 2 6.48 2 12s4.48 10 ' | 3262 'M11 17h2v-6h-2v6zm1-15C6.48 2 2 6.48 2 12s4.48 10 ' |
| 3262 '10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 ' | 3263 '10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 ' |
| 3263 '0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zM11 ' | 3264 '0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zM11 ' |
| 3264 '9h2V7h-2v2z') | 3265 '9h2V7h-2v2z') |
| 3265 ]; | 3266 ]; |
| OLD | NEW |