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

Side by Side Diff: runtime/observatory/lib/src/elements/debugger.html

Issue 1594603003: Make local variables sticky-scroll in debugger frames. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 11 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 | « runtime/observatory/lib/src/elements/debugger.dart ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <link rel="import" href="../../../../packages/polymer/polymer.html"> 1 <link rel="import" href="../../../../packages/polymer/polymer.html">
2 <link rel="import" href="function_ref.html"> 2 <link rel="import" href="function_ref.html">
3 <link rel="import" href="nav_bar.html"> 3 <link rel="import" href="nav_bar.html">
4 <link rel="import" href="eval_link.html"> 4 <link rel="import" href="eval_link.html">
5 <link rel="import" href="observatory_element.html"> 5 <link rel="import" href="observatory_element.html">
6 <link rel="import" href="script_inset.html"> 6 <link rel="import" href="script_inset.html">
7 <link rel="import" href="script_ref.html"> 7 <link rel="import" href="script_ref.html">
8 8
9 <!-- TODO(turnidge): Use core-icon once core_elements work properly in 9 <!-- TODO(turnidge): Use core-icon once core_elements work properly in
10 devtools --> 10 devtools -->
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after
231 flex-grow: 1; 231 flex-grow: 1;
232 flex-shrink: 1; 232 flex-shrink: 1;
233 flex-basis: 765px; 233 flex-basis: 765px;
234 } 234 }
235 .flex-item-vars { 235 .flex-item-vars {
236 flex-grow: 5; 236 flex-grow: 5;
237 flex-shrink: 0; 237 flex-shrink: 0;
238 flex-basis: 250px; 238 flex-basis: 250px;
239 overflow-x: hidden; 239 overflow-x: hidden;
240 } 240 }
241 #vars {
242 position: relative;
243 top: 5px;
244 padding-left:2em;
245 padding-bottom: 5px;
246 }
241 </style> 247 </style>
242 <div id="frameOuter" class="frameOuter"> 248 <div id="frameOuter" class="frameOuter">
243 <a on-click="{{ toggleExpand }}"> 249 <a on-click="{{ toggleExpand }}">
244 <div class="frameSummary"> 250 <div class="frameSummary">
245 <div class="frameSummaryText"> 251 <div class="frameSummaryText">
246 <div class="frameId"><b>frame {{ frame.index }}</b></div> 252 <div class="frameId"><b>frame {{ frame.index }}</b></div>
247 <function-ref ref="{{ frame.function }}"></function-ref> 253 <function-ref ref="{{ frame.function }}"></function-ref>
248 ( <source-link location="{{ frame.location }}"></source-link> ) 254 ( <source-link location="{{ frame.location }}"></source-link> )
249 </div> 255 </div>
250 <template if="{{ !expanded }}"> 256 <template if="{{ !expanded }}">
(...skipping 10 matching lines...) Expand all
261 <div class="flex-item-script"> 267 <div class="flex-item-script">
262 <source-inset height="{{ scriptHeight }}" 268 <source-inset height="{{ scriptHeight }}"
263 location="{{ frame.function.location }}" 269 location="{{ frame.function.location }}"
264 currentPos="{{ frame.location.tokenPos }}" 270 currentPos="{{ frame.location.tokenPos }}"
265 inDebuggerContext="{{ true }}" 271 inDebuggerContext="{{ true }}"
266 scroller="{{ scroller }}" 272 scroller="{{ scroller }}"
267 variables="{{ frame.variables }}"> 273 variables="{{ frame.variables }}">
268 </source-inset> 274 </source-inset>
269 </div> 275 </div>
270 <div class="flex-item-vars"> 276 <div class="flex-item-vars">
271 <div style="padding-left:2em;" class="memberList"> 277 <div id="vars" class="memberList">
272 <template repeat="{{ v in properLocals }}"> 278 <template repeat="{{ v in properLocals }}">
273 {{ v['name']}}&nbsp;:&nbsp; 279 {{ v['name']}}&nbsp;:&nbsp;
274 <any-service-ref ref="{{ v['value'] }}" 280 <any-service-ref ref="{{ v['value'] }}"
275 expandKey="{{ makeExpandKey(v['name']) }}" 281 expandKey="{{ makeExpandKey(v['name']) }}"
276 asValue="{{ true }}"> 282 asValue="{{ true }}">
277 </any-service-ref><br> 283 </any-service-ref><br>
278 </template> 284 </template>
279 </div> 285 </div>
280 </div> 286 </div>
281 </div> 287 </div>
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
466 <div class="container"> 472 <div class="container">
467 <template if="{{ modalPrompt != null }}"> 473 <template if="{{ modalPrompt != null }}">
468 <div class="modalPrompt">{{ modalPrompt }}</div> 474 <div class="modalPrompt">{{ modalPrompt }}</div>
469 </template> 475 </template>
470 <input id="textBox" class="textBox" type="text" value="{{ text }}" autofoc us> 476 <input id="textBox" class="textBox" type="text" value="{{ text }}" autofoc us>
471 </div> 477 </div>
472 </template> 478 </template>
473 </polymer-element> 479 </polymer-element>
474 480
475 <script type="application/dart" src="debugger.dart"></script> 481 <script type="application/dart" src="debugger.dart"></script>
OLDNEW
« no previous file with comments | « runtime/observatory/lib/src/elements/debugger.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698