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

Side by Side Diff: Source/devtools/front_end/network/RequestCookiesView.js

Issue 422293002: DevTools: NetworkPanel: split networkPanel.css (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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
« no previous file with comments | « Source/devtools/devtools.gypi ('k') | Source/devtools/front_end/network/RequestHeadersView.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 /* 1 /*
2 * Copyright (C) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 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 18 matching lines...) Expand all
29 */ 29 */
30 30
31 /** 31 /**
32 * @constructor 32 * @constructor
33 * @extends {WebInspector.VBox} 33 * @extends {WebInspector.VBox}
34 * @param {!WebInspector.NetworkRequest} request 34 * @param {!WebInspector.NetworkRequest} request
35 */ 35 */
36 WebInspector.RequestCookiesView = function(request) 36 WebInspector.RequestCookiesView = function(request)
37 { 37 {
38 WebInspector.VBox.call(this); 38 WebInspector.VBox.call(this);
39 this.element.classList.add("resource-cookies-view"); 39 this.registerRequiredCSS("requestCookiesView.css");
40 this.element.classList.add("request-cookies-view");
40 41
41 this._request = request; 42 this._request = request;
42 } 43 }
43 44
44 WebInspector.RequestCookiesView.prototype = { 45 WebInspector.RequestCookiesView.prototype = {
45 wasShown: function() 46 wasShown: function()
46 { 47 {
47 this._request.addEventListener(WebInspector.NetworkRequest.Events.Reques tHeadersChanged, this._refreshCookies, this); 48 this._request.addEventListener(WebInspector.NetworkRequest.Events.Reques tHeadersChanged, this._refreshCookies, this);
48 this._request.addEventListener(WebInspector.NetworkRequest.Events.Respon seHeadersChanged, this._refreshCookies, this); 49 this._request.addEventListener(WebInspector.NetworkRequest.Events.Respon seHeadersChanged, this._refreshCookies, this);
49 50
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 _refreshCookies: function() 86 _refreshCookies: function()
86 { 87 {
87 delete this._cookiesTable; 88 delete this._cookiesTable;
88 if (!this._gotCookies || !this.isShowing()) 89 if (!this._gotCookies || !this.isShowing())
89 return; 90 return;
90 this._buildCookiesTable(); 91 this._buildCookiesTable();
91 }, 92 },
92 93
93 __proto__: WebInspector.VBox.prototype 94 __proto__: WebInspector.VBox.prototype
94 } 95 }
OLDNEW
« no previous file with comments | « Source/devtools/devtools.gypi ('k') | Source/devtools/front_end/network/RequestHeadersView.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698