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

Side by Side Diff: runtime/observatory/lib/src/elements/script_ref.dart

Issue 1150303004: Switch to using SourceLocation universally in service protocol. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: post merge 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 (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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 script_ref_element; 5 library script_ref_element;
6 6
7 import 'package:polymer/polymer.dart'; 7 import 'package:polymer/polymer.dart';
8 import 'package:observatory/service.dart'; 8 import 'package:observatory/service.dart';
9 import 'service_ref.dart'; 9 import 'service_ref.dart';
10 10
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 return '${super.url}---pos=${pos}'; 56 return '${super.url}---pos=${pos}';
57 } else { 57 } else {
58 ref.load().then(_updateProperties); 58 ref.load().then(_updateProperties);
59 } 59 }
60 } 60 }
61 return super.url; 61 return super.url;
62 } 62 }
63 63
64 ScriptRefElement.created() : super.created(); 64 ScriptRefElement.created() : super.created();
65 } 65 }
66
67 @CustomTag('source-link')
68 class SourceLinkElement extends PolymerElement {
69 SourceLinkElement.created() : super.created();
70
71 @published SourceLocation location;
72 }
OLDNEW
« no previous file with comments | « runtime/observatory/lib/src/elements/script_inset.html ('k') | runtime/observatory/lib/src/elements/script_ref.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698