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

Side by Side Diff: Source/WebCore/inspector/front-end/ApplicationCacheItemsView.js

Issue 6368125: Merge 76517 - 2011-01-24 Pavel Podivilov <podivilov@chromium.org>... (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/648/
Patch Set: Created 9 years, 10 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 | Source/WebCore/inspector/front-end/DOMAgent.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) 2010 Apple Inc. All rights reserved. 2 * Copyright (C) 2010 Apple 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 this.connectivityMessage.textContent = WebInspector.UIString("On line"); 129 this.connectivityMessage.textContent = WebInspector.UIString("On line");
130 } else { 130 } else {
131 this.connectivityIcon.src = "Images/errorRedDot.png"; 131 this.connectivityIcon.src = "Images/errorRedDot.png";
132 this.connectivityMessage.textContent = WebInspector.UIString("Of fline"); 132 this.connectivityMessage.textContent = WebInspector.UIString("Of fline");
133 } 133 }
134 } 134 }
135 }, 135 },
136 136
137 _update: function() 137 _update: function()
138 { 138 {
139 WebInspector.ApplicationCache.getApplicationCachesAsync(this._updateCall back.bind(this)); 139 WebInspector.ApplicationCacheDispatcher.getApplicationCachesAsync(this._ updateCallback.bind(this));
140 }, 140 },
141 141
142 _updateCallback: function(applicationCaches) 142 _updateCallback: function(applicationCaches)
143 { 143 {
144 // FIXME: applicationCaches is just one cache. 144 // FIXME: applicationCaches is just one cache.
145 // FIXME: are these variables needed anywhere else? 145 // FIXME: are these variables needed anywhere else?
146 this._manifest = applicationCaches.manifest; 146 this._manifest = applicationCaches.manifest;
147 this._creationTime = applicationCaches.creationTime; 147 this._creationTime = applicationCaches.creationTime;
148 this._updateTime = applicationCaches.updateTime; 148 this._updateTime = applicationCaches.updateTime;
149 this._size = applicationCaches.size; 149 this._size = applicationCaches.size;
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
261 }, 261 },
262 262
263 _refreshButtonClicked: function(event) 263 _refreshButtonClicked: function(event)
264 { 264 {
265 // FIXME: Is this a refresh button or a re-fetch manifest button? 265 // FIXME: Is this a refresh button or a re-fetch manifest button?
266 // this._update(); 266 // this._update();
267 } 267 }
268 } 268 }
269 269
270 WebInspector.ApplicationCacheItemsView.prototype.__proto__ = WebInspector.View.p rototype; 270 WebInspector.ApplicationCacheItemsView.prototype.__proto__ = WebInspector.View.p rototype;
OLDNEW
« no previous file with comments | « no previous file | Source/WebCore/inspector/front-end/DOMAgent.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698