blob: db292916b7a415130a15aa7c5e2293b8c86611e6 [file] [log] [blame]
Deepanjan Roye33add62018-08-09 10:13:16 -04001// Copyright (C) 2018 The Android Open Source Project
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7// http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
Deepanjan Roy1f658fe2018-09-11 08:38:17 -040015import * as m from 'mithril';
16
Deepanjan Roye33add62018-08-09 10:13:16 -040017import {Panel} from './panel';
18
Deepanjan Royabd79aa2018-08-28 07:29:15 -040019export class FlameGraphPanel extends Panel {
Deepanjan Roye33add62018-08-09 10:13:16 -040020 renderCanvas() {}
Deepanjan Roy1f658fe2018-09-11 08:38:17 -040021 view() {
22 return [
23 m('header', 'Flame Graph'),
24 m('embed.flame-graph-panel',
Deepanjan Roy6e4fe9d2018-09-12 14:03:27 -040025 {type: 'image/svg+xml', src: 'assets/flamegraph.svg'})
Deepanjan Roy1f658fe2018-09-11 08:38:17 -040026 ];
Primiano Tucci9b5f13e2018-08-10 00:36:19 +010027 }
Hector Dearman7cf6b102018-08-09 17:30:57 +010028}