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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/audits/AuditsPanel.js

Issue 2805593002: DevTools: Navigate TabbedPane with arrow keys (Closed)
Patch Set: Fix stray space in test Created 3 years, 7 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 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 if (x) 158 if (x)
159 this.splitWidget().setMainWidget(x); 159 this.splitWidget().setMainWidget(x);
160 } 160 }
161 161
162 /** 162 /**
163 * @override 163 * @override
164 */ 164 */
165 wasShown() { 165 wasShown() {
166 super.wasShown(); 166 super.wasShown();
167 if (!this._visibleView) 167 if (!this._visibleView)
168 this._auditsItemTreeElement.select(); 168 this._auditsItemTreeElement.select(true);
169 } 169 }
170 170
171 /** 171 /**
172 * @override 172 * @override
173 */ 173 */
174 focus() { 174 focus() {
175 this._sidebarTree.focus(); 175 this._sidebarTree.focus();
176 } 176 }
177 177
178 clearResults() { 178 clearResults() {
(...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after
506 506
507 507
508 // Contributed audit rules should go into this namespace. 508 // Contributed audit rules should go into this namespace.
509 Audits.AuditRules = {}; 509 Audits.AuditRules = {};
510 510
511 /** 511 /**
512 * Contributed audit categories should go into this namespace. 512 * Contributed audit categories should go into this namespace.
513 * @type {!Object.<string, function(new:Audits.AuditCategory)>} 513 * @type {!Object.<string, function(new:Audits.AuditCategory)>}
514 */ 514 */
515 Audits.AuditCategories = {}; 515 Audits.AuditCategories = {};
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698