| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <!-- | 2 <!-- |
| 3 Copyright 2015 The Chromium Authors. All rights reserved. | 3 Copyright 2015 The Chromium Authors. All rights reserved. |
| 4 Use of this source code is governed by a BSD-style license that can be | 4 Use of this source code is governed by a BSD-style license that can be |
| 5 found in the LICENSE file. | 5 found in the LICENSE file. |
| 6 --> | 6 --> |
| 7 | 7 |
| 8 <link rel="import" href="/tracing/base/statistics.html"> | 8 <link rel="import" href="/tracing/base/math/statistics.html"> |
| 9 <link rel="import" href="/tracing/model/event_set.html"> | 9 <link rel="import" href="/tracing/model/event_set.html"> |
| 10 <link rel="import" href="/tracing/ui/base/dom_helpers.html"> | 10 <link rel="import" href="/tracing/ui/base/dom_helpers.html"> |
| 11 <link rel="import" href="/tracing/ui/base/line_chart.html"> | 11 <link rel="import" href="/tracing/ui/base/line_chart.html"> |
| 12 <link rel="import" href="/tracing/ui/base/table.html"> | 12 <link rel="import" href="/tracing/ui/base/table.html"> |
| 13 <link rel="import" href="/tracing/ui/side_panel/side_panel.html"> | 13 <link rel="import" href="/tracing/ui/side_panel/side_panel.html"> |
| 14 <link rel="import" href="/tracing/ui/side_panel/side_panel_registry.html"> | 14 <link rel="import" href="/tracing/ui/side_panel/side_panel_registry.html"> |
| 15 | 15 |
| 16 <dom-module id='tr-ui-e-s-alerts-side-panel'> | 16 <dom-module id='tr-ui-e-s-alerts-side-panel'> |
| 17 <template> | 17 <template> |
| 18 <style> | 18 <style> |
| (...skipping 18 matching lines...) Expand all Loading... |
| 37 </dom-module> | 37 </dom-module> |
| 38 <script> | 38 <script> |
| 39 'use strict'; | 39 'use strict'; |
| 40 | 40 |
| 41 Polymer({ | 41 Polymer({ |
| 42 is: 'tr-ui-e-s-alerts-side-panel', | 42 is: 'tr-ui-e-s-alerts-side-panel', |
| 43 behaviors: [tr.ui.behaviors.SidePanel], | 43 behaviors: [tr.ui.behaviors.SidePanel], |
| 44 | 44 |
| 45 | 45 |
| 46 ready: function() { | 46 ready: function() { |
| 47 this.rangeOfInterest_ = new tr.b.Range(); | 47 this.rangeOfInterest_ = new tr.b.math.Range(); |
| 48 this.selection_ = undefined; | 48 this.selection_ = undefined; |
| 49 }, | 49 }, |
| 50 | 50 |
| 51 get model() { | 51 get model() { |
| 52 return this.model_; | 52 return this.model_; |
| 53 }, | 53 }, |
| 54 | 54 |
| 55 set model(model) { | 55 set model(model) { |
| 56 this.model_ = model; | 56 this.model_ = model; |
| 57 this.updateContents_(); | 57 this.updateContents_(); |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 162 | 162 |
| 163 get textLabel() { | 163 get textLabel() { |
| 164 return 'Alerts'; | 164 return 'Alerts'; |
| 165 } | 165 } |
| 166 }); | 166 }); |
| 167 | 167 |
| 168 tr.ui.side_panel.SidePanelRegistry.register(function() { | 168 tr.ui.side_panel.SidePanelRegistry.register(function() { |
| 169 return document.createElement('tr-ui-e-s-alerts-side-panel'); | 169 return document.createElement('tr-ui-e-s-alerts-side-panel'); |
| 170 }); | 170 }); |
| 171 </script> | 171 </script> |
| OLD | NEW |