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

Side by Side Diff: tracing/tracing/ui/timeline_track_view.html

Issue 3002533002: Switch tracing to new flexbox. (Closed)
Patch Set: Created 3 years, 4 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) 2012 The Chromium Authors. All rights reserved. 3 Copyright (c) 2012 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/event.html"> 8 <link rel="import" href="/tracing/base/event.html">
9 <link rel="import" href="/tracing/base/iteration_helpers.html"> 9 <link rel="import" href="/tracing/base/iteration_helpers.html">
10 <link rel="import" href="/tracing/base/settings.html"> 10 <link rel="import" href="/tracing/base/settings.html">
(...skipping 22 matching lines...) Expand all
33 Visually, the TimelineTrackView produces (prettier) visualizations like the 33 Visually, the TimelineTrackView produces (prettier) visualizations like the
34 following: 34 following:
35 Thread1: AAAAAAAAAA AAAAA 35 Thread1: AAAAAAAAAA AAAAA
36 BBBB BB 36 BBBB BB
37 Thread2: CCCCCC CCCCC 37 Thread2: CCCCCC CCCCC
38 --> 38 -->
39 <dom-module id='tr-ui-timeline-track-view'> 39 <dom-module id='tr-ui-timeline-track-view'>
40 <template> 40 <template>
41 <style> 41 <style>
42 :host { 42 :host {
43 -webkit-box-orient: vertical; 43 flex-direction: column;
44 display: -webkit-box; 44 display: flex;
45 position: relative; 45 position: relative;
46 } 46 }
47 47
48 :host ::content * { 48 :host ::content * {
49 -webkit-user-select: none; 49 -webkit-user-select: none;
50 cursor: default; 50 cursor: default;
51 } 51 }
52 52
53 #drag_box { 53 #drag_box {
54 background-color: rgba(0, 0, 255, 0.25); 54 background-color: rgba(0, 0, 255, 0.25);
(...skipping 1108 matching lines...) Expand 10 before | Expand all | Expand 10 after
1163 Polymer.dom(this.$.hint_text).textContent = text; 1163 Polymer.dom(this.$.hint_text).textContent = text;
1164 this.$.hint_text.style.display = ''; 1164 this.$.hint_text.style.display = '';
1165 }, 1165 },
1166 1166
1167 hideHintText_() { 1167 hideHintText_() {
1168 this.pendingHintTextClearTimeout_ = undefined; 1168 this.pendingHintTextClearTimeout_ = undefined;
1169 this.$.hint_text.style.display = 'none'; 1169 this.$.hint_text.style.display = 'none';
1170 } 1170 }
1171 }); 1171 });
1172 </script> 1172 </script>
OLDNEW
« no previous file with comments | « tracing/tracing/ui/side_panel/side_panel_container.html ('k') | tracing/tracing/ui/timeline_view_help_overlay.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698