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

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

Issue 1133733005: Use words please. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: also rename service rpc Created 5 years, 7 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 nav_bar_element; 5 library nav_bar_element;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 import 'dart:html'; 8 import 'dart:html' hide Notification;
9 import 'observatory_element.dart'; 9 import 'observatory_element.dart';
10 import 'package:observatory/service.dart'; 10 import 'package:observatory/service.dart';
11 import 'package:observatory/app.dart' show Notification;
11 import 'package:polymer/polymer.dart'; 12 import 'package:polymer/polymer.dart';
12 13
13 14
14 @CustomTag('nav-bar') 15 @CustomTag('nav-bar')
15 class NavBarElement extends ObservatoryElement { 16 class NavBarElement extends ObservatoryElement {
16 @published bool notifyOnPause = true; 17 @published bool notifyOnPause = true;
17 @published bool pad = true; 18 @published bool pad = true;
18 19
19 NavBarElement.created() : super.created(); 20 NavBarElement.created() : super.created();
20 } 21 }
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 @observable get isUnexpectedError { 144 @observable get isUnexpectedError {
144 return (exception is! NetworkRpcException); 145 return (exception is! NetworkRpcException);
145 } 146 }
146 147
147 void closeItem(MouseEvent e, var detail, Element target) { 148 void closeItem(MouseEvent e, var detail, Element target) {
148 notifications.remove(notification); 149 notifications.remove(notification);
149 } 150 }
150 151
151 NavNotifyExceptionElement.created() : super.created(); 152 NavNotifyExceptionElement.created() : super.created();
152 } 153 }
OLDNEW
« no previous file with comments | « runtime/observatory/lib/src/elements/library_view.html ('k') | runtime/observatory/lib/src/service/object.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698