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

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

Issue 1722373002: Add ability to save and load timelines from Observatory (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 10 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 | « no previous file | runtime/observatory/lib/src/elements/timeline_page.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/observatory/lib/src/elements/timeline_page.dart
diff --git a/runtime/observatory/lib/src/elements/timeline_page.dart b/runtime/observatory/lib/src/elements/timeline_page.dart
index fbecb109fc8b53fc0bd31cf9501d2007af773359..7a70c1102dc387189ecf4492f6b2bd3f43e9ab25 100644
--- a/runtime/observatory/lib/src/elements/timeline_page.dart
+++ b/runtime/observatory/lib/src/elements/timeline_page.dart
@@ -67,6 +67,14 @@ class TimelinePageElement extends ObservatoryElement {
});
}
+ Future saveTimeline() async {
+ return postMessage('save');
+ }
+
+ Future loadTimeline() async {
+ return postMessage('load');
+ }
+
_updateSize() {
IFrameElement e = $['root'];
final totalHeight = window.innerHeight;
« no previous file with comments | « no previous file | runtime/observatory/lib/src/elements/timeline_page.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698