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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/timeline/TimelinePanel.js

Issue 2615533004: DevTools: Allow timeline details scrolling with keyboard. (Closed)
Patch Set: Created 3 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 | « no previous file | 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 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google Inc. All rights reserved.
3 * Copyright (C) 2012 Intel Inc. All rights reserved. 3 * Copyright (C) 2012 Intel Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 1265 matching lines...) Expand 10 before | Expand all | Expand 10 after
1276 */ 1276 */
1277 constructor(timelineModel, filters, delegate) { 1277 constructor(timelineModel, filters, delegate) {
1278 super(); 1278 super();
1279 this.element.classList.add('timeline-details'); 1279 this.element.classList.add('timeline-details');
1280 1280
1281 var tabIds = Timeline.TimelinePanel.DetailsTab; 1281 var tabIds = Timeline.TimelinePanel.DetailsTab;
1282 this._defaultDetailsWidget = new UI.VBox(); 1282 this._defaultDetailsWidget = new UI.VBox();
1283 this._defaultDetailsWidget.element.classList.add('timeline-details-view'); 1283 this._defaultDetailsWidget.element.classList.add('timeline-details-view');
1284 this._defaultDetailsContentElement = 1284 this._defaultDetailsContentElement =
1285 this._defaultDetailsWidget.element.createChild('div', 'timeline-details- view-body vbox'); 1285 this._defaultDetailsWidget.element.createChild('div', 'timeline-details- view-body vbox');
1286 this._defaultDetailsContentElement.tabIndex = 0;
1286 this.appendTab(tabIds.Details, Common.UIString('Summary'), this._defaultDeta ilsWidget); 1287 this.appendTab(tabIds.Details, Common.UIString('Summary'), this._defaultDeta ilsWidget);
1287 this.setPreferredTab(tabIds.Details); 1288 this.setPreferredTab(tabIds.Details);
1288 1289
1289 /** @type Map<string, Timeline.TimelineTreeView> */ 1290 /** @type Map<string, Timeline.TimelineTreeView> */
1290 this._rangeDetailViews = new Map(); 1291 this._rangeDetailViews = new Map();
1291 1292
1292 var bottomUpView = new Timeline.BottomUpTimelineTreeView(timelineModel, filt ers); 1293 var bottomUpView = new Timeline.BottomUpTimelineTreeView(timelineModel, filt ers);
1293 this.appendTab(tabIds.BottomUp, Common.UIString('Bottom-Up'), bottomUpView); 1294 this.appendTab(tabIds.BottomUp, Common.UIString('Bottom-Up'), bottomUpView);
1294 this._rangeDetailViews.set(tabIds.BottomUp, bottomUpView); 1295 this._rangeDetailViews.set(tabIds.BottomUp, bottomUpView);
1295 1296
(...skipping 623 matching lines...) Expand 10 before | Expand all | Expand 10 after
1919 } 1920 }
1920 1921
1921 /** 1922 /**
1922 * @override 1923 * @override
1923 * @param {!SDK.Target} target 1924 * @param {!SDK.Target} target
1924 */ 1925 */
1925 targetRemoved(target) { 1926 targetRemoved(target) {
1926 this._targets.remove(target, true); 1927 this._targets.remove(target, true);
1927 } 1928 }
1928 }; 1929 };
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698