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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/resources/ClearStorageView.js

Issue 1963803002: DevTools: rename Resources panel into Application. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/resources/clearStorageView.css » ('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 (c) 2016 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2016 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.VBox} 7 * @extends {WebInspector.VBox}
8 * @implements {WebInspector.TargetManager.Observer} 8 * @implements {WebInspector.TargetManager.Observer}
9 * @param {!WebInspector.ResourcesPanel} resourcesPanel 9 * @param {!WebInspector.ResourcesPanel} resourcesPanel
10 */ 10 */
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 } 137 }
138 } 138 }
139 139
140 if (set.has(StorageAgent.StorageType.Appcache) || hasAll) { 140 if (set.has(StorageAgent.StorageType.Appcache) || hasAll) {
141 var appcacheModel = WebInspector.ApplicationCacheModel.fromTarget(th is._target); 141 var appcacheModel = WebInspector.ApplicationCacheModel.fromTarget(th is._target);
142 if (appcacheModel) 142 if (appcacheModel)
143 appcacheModel.reset(); 143 appcacheModel.reset();
144 } 144 }
145 145
146 this._clearButton.disabled = true; 146 this._clearButton.disabled = true;
147 this._clearButton.textContent = WebInspector.UIString("Clearing...");
147 setTimeout(() => { 148 setTimeout(() => {
148 this._clearButton.disabled = false; 149 this._clearButton.disabled = false;
150 this._clearButton.textContent = WebInspector.UIString("Clear selecte d");
149 }, 500); 151 }, 500);
150 }, 152 },
151 153
152 /** 154 /**
153 * @override 155 * @override
154 * @param {!WebInspector.Target} target 156 * @param {!WebInspector.Target} target
155 */ 157 */
156 targetRemoved: function(target) 158 targetRemoved: function(target)
157 { 159 {
158 }, 160 },
159 161
160 __proto__: WebInspector.VBox.prototype 162 __proto__: WebInspector.VBox.prototype
161 } 163 }
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/front_end/resources/clearStorageView.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698