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

Side by Side Diff: runtime/observatory/lib/src/elements/source_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 SourceLocation; 10 import 'package:observatory/service_html.dart' show SourceLocation;
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 padding: 10px; 111 padding: 10px;
112 width: 100%; 112 width: 100%;
113 box-sizing: border-box; 113 box-sizing: border-box;
114 overflow-x: scroll; 114 overflow-x: scroll;
115 } 115 }
116 script-inset-wrapped .sourceRow { 116 script-inset-wrapped .sourceRow {
117 display: flex; 117 display: flex;
118 flex-direction: row; 118 flex-direction: row;
119 width: 100%; 119 width: 100%;
120 } 120 }
121 script-inset-wrapped .sourceItem, .sourceItemCurrent { 121 script-inset-wrapped .sourceItem,
122 script-inset-wrapped .sourceItemCurrent {
122 vertical-align: top; 123 vertical-align: top;
123 font: 400 14px consolas, courier, monospace; 124 font: 400 14px consolas, courier, monospace;
124 line-height: 125%; 125 line-height: 125%;
125 white-space: pre; 126 white-space: pre;
126 max-width: 0; 127 max-width: 0;
127 } 128 }
128 script-inset-wrapped .currentLine { 129 script-inset-wrapped .currentLine {
129 background-color: #fff; 130 background-color: #fff;
130 } 131 }
131 script-inset-wrapped .currentCol { 132 script-inset-wrapped .currentCol {
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 ObservatoryApplication.app.events, 237 ObservatoryApplication.app.events,
237 startPos: _location.tokenPos, 238 startPos: _location.tokenPos,
238 endPos: _location.endTokenPos, 239 endPos: _location.endTokenPos,
239 currentPos: _currentPos, 240 currentPos: _currentPos,
240 inDebuggerContext: _inDebuggerContext ?? false, 241 inDebuggerContext: _inDebuggerContext ?? false,
241 variables: _variables ?? const [], 242 variables: _variables ?? const [],
242 queue: ObservatoryApplication.app.queue) 243 queue: ObservatoryApplication.app.queue)
243 ]; 244 ];
244 } 245 }
245 } 246 }
OLDNEW
« no previous file with comments | « runtime/observatory/lib/src/elements/service_view.html ('k') | runtime/observatory/observatory_sources.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698