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

Side by Side Diff: tracing/tracing/ui/side_panel/side_panel_container.html

Issue 2771723003: [tracing] Move math utilities from base into their own subdirectory (attempt 2) (Closed)
Patch Set: rebase Created 3 years, 9 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
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <!-- 2 <!--
3 Copyright (c) 2014 The Chromium Authors. All rights reserved. 3 Copyright (c) 2014 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/range.html"> 8 <link rel="import" href="/tracing/base/math/range.html">
9 <link rel="import" href="/tracing/ui/side_panel/side_panel.html"> 9 <link rel="import" href="/tracing/ui/side_panel/side_panel.html">
10 <link rel="import" href="/tracing/ui/side_panel/side_panel_registry.html"> 10 <link rel="import" href="/tracing/ui/side_panel/side_panel_registry.html">
11 11
12 <dom-module id='tr-ui-side-panel-container'> 12 <dom-module id='tr-ui-side-panel-container'>
13 <template> 13 <template>
14 <style> 14 <style>
15 :host { 15 :host {
16 align-items: stretch; 16 align-items: stretch;
17 display: -webkit-flex; 17 display: -webkit-flex;
18 background-color: white; 18 background-color: white;
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 Polymer({ 83 Polymer({
84 is: 'tr-ui-side-panel-container', 84 is: 'tr-ui-side-panel-container',
85 85
86 ready: function() { 86 ready: function() {
87 this.activePanelContainer_ = this.$.active_panel_container; 87 this.activePanelContainer_ = this.$.active_panel_container;
88 this.tabStrip_ = this.$.tab_strip; 88 this.tabStrip_ = this.$.tab_strip;
89 89
90 this.dragHandle_ = this.$.side_panel_drag_handle; 90 this.dragHandle_ = this.$.side_panel_drag_handle;
91 this.dragHandle_.horizontal = false; 91 this.dragHandle_.horizontal = false;
92 this.dragHandle_.target = this.activePanelContainer_; 92 this.dragHandle_.target = this.activePanelContainer_;
93 this.rangeOfInterest_ = new tr.b.Range(); 93 this.rangeOfInterest_ = new tr.b.math.Range();
94 this.brushingStateController_ = undefined; 94 this.brushingStateController_ = undefined;
95 this.onSelectionChanged_ = this.onSelectionChanged_.bind(this); 95 this.onSelectionChanged_ = this.onSelectionChanged_.bind(this);
96 this.onModelChanged_ = this.onModelChanged_.bind(this); 96 this.onModelChanged_ = this.onModelChanged_.bind(this);
97 }, 97 },
98 98
99 get brushingStateController() { 99 get brushingStateController() {
100 return this.brushingStateController_; 100 return this.brushingStateController_;
101 }, 101 },
102 102
103 set brushingStateController(brushingStateController) { 103 set brushingStateController(brushingStateController) {
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
248 248
249 set rangeOfInterest(range) { 249 set rangeOfInterest(range) {
250 if (range === undefined) 250 if (range === undefined)
251 throw new Error('Must not be undefined'); 251 throw new Error('Must not be undefined');
252 this.rangeOfInterest_ = range; 252 this.rangeOfInterest_ = range;
253 if (this.activePanel) 253 if (this.activePanel)
254 this.activePanel.rangeOfInterest = range; 254 this.activePanel.rangeOfInterest = range;
255 } 255 }
256 }); 256 });
257 </script> 257 </script>
OLDNEW
« no previous file with comments | « tracing/tracing/ui/side_panel/metrics_side_panel.html ('k') | tracing/tracing/ui/timeline_display_transform_animations.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698