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

Side by Side Diff: tracing/tracing/base/base.html

Issue 3002533002: Switch tracing to new flexbox. (Closed)
Patch Set: Created 3 years, 3 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
« no previous file with comments | « no previous file | tracing/tracing/ui/base/heading.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 <script> 8 <script>
9 'use strict'; 9 'use strict';
10 10
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 let panicElement = undefined; 72 let panicElement = undefined;
73 const rawPanicMessages = []; 73 const rawPanicMessages = [];
74 function showPanicElementIfNeeded() { 74 function showPanicElementIfNeeded() {
75 if (panicElement) return; 75 if (panicElement) return;
76 76
77 const panicOverlay = document.createElement('div'); 77 const panicOverlay = document.createElement('div');
78 panicOverlay.style.backgroundColor = 'white'; 78 panicOverlay.style.backgroundColor = 'white';
79 panicOverlay.style.border = '3px solid red'; 79 panicOverlay.style.border = '3px solid red';
80 panicOverlay.style.boxSizing = 'border-box'; 80 panicOverlay.style.boxSizing = 'border-box';
81 panicOverlay.style.color = 'black'; 81 panicOverlay.style.color = 'black';
82 panicOverlay.style.display = '-webkit-flex'; 82 panicOverlay.style.display = 'flex';
83 panicOverlay.style.height = '100%'; 83 panicOverlay.style.height = '100%';
84 panicOverlay.style.left = 0; 84 panicOverlay.style.left = 0;
85 panicOverlay.style.padding = '8px'; 85 panicOverlay.style.padding = '8px';
86 panicOverlay.style.position = 'fixed'; 86 panicOverlay.style.position = 'fixed';
87 panicOverlay.style.top = 0; 87 panicOverlay.style.top = 0;
88 panicOverlay.style.webkitFlexDirection = 'column'; 88 panicOverlay.style.webkitFlexDirection = 'column';
89 panicOverlay.style.width = '100%'; 89 panicOverlay.style.width = '100%';
90 90
91 panicElement = document.createElement('div'); 91 panicElement = document.createElement('div');
92 panicElement.style.webkitFlex = '1 1 auto'; 92 panicElement.style.webkitFlex = '1 1 auto';
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 isDefined, 181 isDefined,
182 182
183 showPanic, 183 showPanic,
184 hasPanic, 184 hasPanic,
185 getPanicText, 185 getPanicText,
186 }; 186 };
187 })(); 187 })();
188 188
189 tr.initialize(); 189 tr.initialize();
190 </script> 190 </script>
OLDNEW
« no previous file with comments | « no previous file | tracing/tracing/ui/base/heading.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698