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

Side by Side Diff: runtime/observatory/lib/src/elements/script_inset_wrapper.dart

Issue 2283263002: Converted Observatory script-view element (Closed)
Patch Set: Removed dead code Created 4 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
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 import 'dart:html'; 5 import 'dart:html';
6 import 'dart:async'; 6 import 'dart:async';
7 7
8 import 'package:observatory/app.dart'; 8 import 'package:observatory/app.dart';
9 import 'package:observatory/repositories.dart'; 9 import 'package:observatory/repositories.dart';
10 import 'package:observatory/service_html.dart' show Script; 10 import 'package:observatory/service_html.dart' show Script;
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 padding: 10px; 130 padding: 10px;
131 width: 100%; 131 width: 100%;
132 box-sizing: border-box; 132 box-sizing: border-box;
133 overflow-x: scroll; 133 overflow-x: scroll;
134 } 134 }
135 script-inset-wrapped .sourceRow { 135 script-inset-wrapped .sourceRow {
136 display: flex; 136 display: flex;
137 flex-direction: row; 137 flex-direction: row;
138 width: 100%; 138 width: 100%;
139 } 139 }
140 script-inset-wrapped .sourceItem, .sourceItemCurrent { 140 script-inset-wrapped .sourceItem,
141 script-inset-wrapped .sourceItemCurrent {
141 vertical-align: top; 142 vertical-align: top;
142 font: 400 14px consolas, courier, monospace; 143 font: 400 14px consolas, courier, monospace;
143 line-height: 125%; 144 line-height: 125%;
144 white-space: pre; 145 white-space: pre;
145 max-width: 0; 146 max-width: 0;
146 } 147 }
147 script-inset-wrapped .currentLine { 148 script-inset-wrapped .currentLine {
148 background-color: #fff; 149 background-color: #fff;
149 } 150 }
150 script-inset-wrapped .currentCol { 151 script-inset-wrapped .currentCol {
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 ObservatoryApplication.app.events, 256 ObservatoryApplication.app.events,
256 startPos: _startPos, 257 startPos: _startPos,
257 endPos: _endPos, 258 endPos: _endPos,
258 currentPos: _currentPos, 259 currentPos: _currentPos,
259 inDebuggerContext: _inDebuggerContext ?? false, 260 inDebuggerContext: _inDebuggerContext ?? false,
260 variables: _variables ?? const [], 261 variables: _variables ?? const [],
261 queue: ObservatoryApplication.app.queue) 262 queue: ObservatoryApplication.app.queue)
262 ]; 263 ];
263 } 264 }
264 } 265 }
OLDNEW
« no previous file with comments | « runtime/observatory/lib/src/elements/css/shared.css ('k') | runtime/observatory/lib/src/elements/script_view.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698