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

Unified Diff: Source/devtools/front_end/network/NetworkPanel.js

Issue 1327593005: Link to the mixed content filter from security panel (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: Source/devtools/front_end/network/NetworkPanel.js
diff --git a/Source/devtools/front_end/network/NetworkPanel.js b/Source/devtools/front_end/network/NetworkPanel.js
index dfa0c597444b17460bde9c6cb9a746847e8db65a..a36ffbe08fff231b2a5834549f51175462cffe60 100644
--- a/Source/devtools/front_end/network/NetworkPanel.js
+++ b/Source/devtools/front_end/network/NetworkPanel.js
@@ -639,6 +639,16 @@ WebInspector.NetworkPanel.show = function()
}
/**
+ * @param {!WebInspector.NetworkLogView.FilterType} filterType
+ * @param {string} filterValue
+ */
+WebInspector.NetworkPanel.revealAndFilter = function(filterType, filterValue) {
pfeldman 2015/09/03 23:48:48 { goes next line.
estark 2015/09/04 02:45:30 Done.
+ var panel = WebInspector.NetworkPanel._instance();
+ panel._networkLogView._textFilterUI.setValue(filterType + ":" + filterValue);
pfeldman 2015/09/03 23:48:48 You should not access private member of logview fr
estark 2015/09/04 02:45:30 Done.
+ WebInspector.inspectorView.setCurrentPanel(panel);
+}
+
+/**
* @return {!WebInspector.NetworkPanel}
*/
WebInspector.NetworkPanel._instance = function()

Powered by Google App Engine
This is Rietveld 408576698