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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/security/SecurityPanel.js

Issue 1968843002: DevTools: update default focus element in security panel (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address patch 1 comments Created 4 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/front_end/ui/treeoutline.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 /** 5 /**
6 * @constructor 6 * @constructor
7 * @extends {WebInspector.PanelWithSidebar} 7 * @extends {WebInspector.PanelWithSidebar}
8 * @implements {WebInspector.TargetManager.Observer} 8 * @implements {WebInspector.TargetManager.Observer}
9 */ 9 */
10 WebInspector.SecurityPanel = function() 10 WebInspector.SecurityPanel = function()
11 { 11 {
12 WebInspector.PanelWithSidebar.call(this, "security"); 12 WebInspector.PanelWithSidebar.call(this, "security");
13 13
14 this._mainView = new WebInspector.SecurityMainView(this); 14 this._mainView = new WebInspector.SecurityMainView(this);
15 15
16 this._sidebarMainViewElement = new WebInspector.SecurityPanelSidebarTreeElem ent(WebInspector.UIString("Overview"), this._setVisibleView.bind(this, this._mai nView), "security-main-view-sidebar-tree-item", "lock-icon"); 16 this._sidebarMainViewElement = new WebInspector.SecurityPanelSidebarTreeElem ent(WebInspector.UIString("Overview"), this._setVisibleView.bind(this, this._mai nView), "security-main-view-sidebar-tree-item", "lock-icon");
17 this._sidebarTree = new WebInspector.SecurityPanelSidebarTree(this._sidebarM ainViewElement, this.showOrigin.bind(this)); 17 this._sidebarTree = new WebInspector.SecurityPanelSidebarTree(this._sidebarM ainViewElement, this.showOrigin.bind(this));
18 this.panelSidebarElement().appendChild(this._sidebarTree.element); 18 this.panelSidebarElement().appendChild(this._sidebarTree.element);
19 this.setDefaultFocusedElement(this._sidebarTree.element); 19 this.setDefaultFocusedElement(this._sidebarTree.contentElement);
20 20
21 /** @type {!Map<!NetworkAgent.LoaderId, !WebInspector.NetworkRequest>} */ 21 /** @type {!Map<!NetworkAgent.LoaderId, !WebInspector.NetworkRequest>} */
22 this._lastResponseReceivedForLoaderId = new Map(); 22 this._lastResponseReceivedForLoaderId = new Map();
23 23
24 /** @type {!Map<!WebInspector.SecurityPanel.Origin, !WebInspector.SecurityPa nel.OriginState>} */ 24 /** @type {!Map<!WebInspector.SecurityPanel.Origin, !WebInspector.SecurityPa nel.OriginState>} */
25 this._origins = new Map(); 25 this._origins = new Map();
26 26
27 /** @type {!Map<!WebInspector.NetworkLogView.MixedContentFilterValues, numbe r>} */ 27 /** @type {!Map<!WebInspector.NetworkLogView.MixedContentFilterValues, numbe r>} */
28 this._filterRequestCounts = new Map(); 28 this._filterRequestCounts = new Map();
29 29
(...skipping 906 matching lines...) Expand 10 before | Expand all | Expand 10 after
936 row.createChild("div").textContent = key; 936 row.createChild("div").textContent = key;
937 937
938 var valueDiv = row.createChild("div"); 938 var valueDiv = row.createChild("div");
939 if (typeof value === "string") { 939 if (typeof value === "string") {
940 valueDiv.textContent = value; 940 valueDiv.textContent = value;
941 } else { 941 } else {
942 valueDiv.appendChild(value); 942 valueDiv.appendChild(value);
943 } 943 }
944 } 944 }
945 } 945 }
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/front_end/ui/treeoutline.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698