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

Side by Side Diff: runtime/observatory/lib/src/app/location_manager.dart

Issue 2310003004: Removed polymer & mirror from Observatory (Closed)
Patch Set: Fixed crash in heap-map page Created 4 years, 3 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 part of app; 5 part of app;
6 6
7 class LocationManager extends Observable { 7 class LocationManager {
8 final _defaultPath = '/vm'; 8 final _defaultPath = '/vm';
9 9
10 final ObservatoryApplication _app; 10 final ObservatoryApplication _app;
11 11
12 /// [internalArguments] are parameters specified after a '---' in the 12 /// [internalArguments] are parameters specified after a '---' in the
13 /// application URL. 13 /// application URL.
14 final Map<String, String> internalArguments = new Map<String, String>(); 14 final Map<String, String> internalArguments = new Map<String, String>();
15 15
16 Uri _uri; 16 Uri _uri;
17 /// [uri] is the application uri. Application uris consist of a path and 17 /// [uri] is the application uri. Application uris consist of a path and
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 // let browser handle. 167 // let browser handle.
168 return; 168 return;
169 } 169 }
170 event.preventDefault(); 170 event.preventDefault();
171 // 'currentTarget' is the dom element that would process the event. 171 // 'currentTarget' is the dom element that would process the event.
172 // If we use 'target' we might get an <em> element or somesuch. 172 // If we use 'target' we might get an <em> element or somesuch.
173 var target = event.currentTarget; 173 var target = event.currentTarget;
174 go(target.attributes['href']); 174 go(target.attributes['href']);
175 } 175 }
176 } 176 }
OLDNEW
« no previous file with comments | « runtime/observatory/lib/src/app/application.dart ('k') | runtime/observatory/lib/src/app/page.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698