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

Side by Side Diff: dart/runtime/bin/vmservice/client/lib/src/observatory_elements/observatory_element.dart

Issue 119673004: Version 1.1.0-dev.5.2 (Closed) Base URL: http://dart.googlecode.com/svn/trunk/
Patch Set: Created 6 years, 11 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 | Annotate | Revision Log
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 observatory_element; 5 library observatory_element;
6 6
7 import 'package:polymer/polymer.dart'; 7 import 'package:polymer/polymer.dart';
8 import 'package:observatory/observatory.dart'; 8 import 'package:observatory/observatory.dart';
9 export 'package:observatory/observatory.dart'; 9 export 'package:observatory/observatory.dart';
10 10
11 /// Base class for all custom elements. Holds an observable 11 /// Base class for all custom elements. Holds an observable
12 /// [ObservableApplication] and applies author styles. 12 /// [ObservableApplication] and applies author styles.
13 @CustomTag('observatory-element') 13 @CustomTag('observatory-element')
14 class ObservatoryElement extends PolymerElement { 14 class ObservatoryElement extends PolymerElement {
15 ObservatoryElement.created() : super.created(); 15 ObservatoryElement.created() : super.created();
16 16
17 void enteredView() { 17 void enteredView() {
18 super.enteredView(); 18 super.enteredView();
19 } 19 }
20 20
21 void leftView() { 21 void leftView() {
22 super.leftView(); 22 super.leftView();
23 } 23 }
24 24
25 void attributeChanged(String name, String oldValue, String newValue) {
26 super.attributeChanged(name, oldValue, newValue);
27 }
28
25 @published ObservatoryApplication app; 29 @published ObservatoryApplication app;
26 bool get applyAuthorStyles => true; 30 bool get applyAuthorStyles => true;
27 } 31 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698