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

Unified Diff: runtime/observatory/lib/src/elements/observatory_application.dart

Issue 897593003: Small refactor of pages (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/observatory/lib/src/app/page.dart ('k') | runtime/observatory/observatory.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/observatory/lib/src/elements/observatory_application.dart
diff --git a/runtime/observatory/lib/src/elements/observatory_application.dart b/runtime/observatory/lib/src/elements/observatory_application.dart
index a11385fefd5ea522e739b485ac404ae0dc041f1d..442f4b0791197bbfe42894f02fbe52b59b511501 100644
--- a/runtime/observatory/lib/src/elements/observatory_application.dart
+++ b/runtime/observatory/lib/src/elements/observatory_application.dart
@@ -13,7 +13,6 @@ import 'package:polymer/polymer.dart';
/// elements.
@CustomTag('observatory-application')
class ObservatoryApplicationElement extends ObservatoryElement {
- @published bool devtools = false;
@reflectable ObservatoryApplication app;
ObservatoryApplicationElement.created() : super.created();
@@ -21,10 +20,6 @@ class ObservatoryApplicationElement extends ObservatoryElement {
@override
void attached() {
super.attached();
- if (devtools) {
- app = new ObservatoryApplication.devtools(this);
- } else {
- app = new ObservatoryApplication(this);
- }
+ app = new ObservatoryApplication(this);
}
}
« no previous file with comments | « runtime/observatory/lib/src/app/page.dart ('k') | runtime/observatory/observatory.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698