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

Side by Side Diff: chrome/browser/resources/net_internals/source_row.js

Issue 21944004: Enable the accessibility audit for chrome://net-internals (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years, 4 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 var SourceRow = (function() { 5 var SourceRow = (function() {
6 'use strict'; 6 'use strict';
7 7
8 /** 8 /**
9 * A SourceRow represents the row corresponding to a single SourceEntry 9 * A SourceRow represents the row corresponding to a single SourceEntry
10 * displayed by the EventsView. 10 * displayed by the EventsView.
(...skipping 24 matching lines...) Expand all
35 SourceRow.prototype = { 35 SourceRow.prototype = {
36 createRow_: function() { 36 createRow_: function() {
37 // Create a row. 37 // Create a row.
38 var tr = addNode(this.parentView_.tableBody_, 'tr'); 38 var tr = addNode(this.parentView_.tableBody_, 'tr');
39 tr._id = this.getSourceId(); 39 tr._id = this.getSourceId();
40 tr.style.display = 'none'; 40 tr.style.display = 'none';
41 this.row_ = tr; 41 this.row_ = tr;
42 42
43 var selectionCol = addNode(tr, 'td'); 43 var selectionCol = addNode(tr, 'td');
44 var checkbox = addNode(selectionCol, 'input'); 44 var checkbox = addNode(selectionCol, 'input');
45 checkbox.title = this.getSourceId();
45 selectionCol.style.borderLeft = '0'; 46 selectionCol.style.borderLeft = '0';
46 checkbox.type = 'checkbox'; 47 checkbox.type = 'checkbox';
47 48
48 var idCell = addNode(tr, 'td'); 49 var idCell = addNode(tr, 'td');
49 idCell.style.textAlign = 'right'; 50 idCell.style.textAlign = 'right';
50 51
51 var typeCell = addNode(tr, 'td'); 52 var typeCell = addNode(tr, 'td');
52 var descriptionCell = addNode(tr, 'td'); 53 var descriptionCell = addNode(tr, 'td');
53 this.descriptionCell_ = descriptionCell; 54 this.descriptionCell_ = descriptionCell;
54 55
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
258 /** 259 /**
259 * Moves current object's row after |entry|'s row. 260 * Moves current object's row after |entry|'s row.
260 */ 261 */
261 moveAfter: function(entry) { 262 moveAfter: function(entry) {
262 this.row_.parentNode.insertBefore(this.row_, entry.row_.nextSibling); 263 this.row_.parentNode.insertBefore(this.row_, entry.row_.nextSibling);
263 } 264 }
264 }; 265 };
265 266
266 return SourceRow; 267 return SourceRow;
267 })(); 268 })();
OLDNEW
« no previous file with comments | « chrome/browser/resources/net_internals/main.css ('k') | chrome/browser/resources/net_internals/status_view.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698