Changeset 61856 in webkit
- Timestamp:
- Jun 25, 2010 5:59:43 AM (14 years ago)
- Location:
- trunk/WebKit/chromium
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebKit/chromium/ChangeLog
r61849 r61856 1 2010-06-25 Michael Nordman <michaeln@google.com> 2 3 Reviewed by Dumitru Daniliuc. 4 5 Additional API to pass additional info needed for AppCache progress events. 6 https://bugs.webkit.org/show_bug.cgi?id=37602 7 8 Also, delete an obsolete method from the worker API. 9 10 * public/WebApplicationCacheHostClient.h: define a new method 11 * public/WebSharedWorker.h: remove an obsolte method 12 * src/ApplicationCacheHostInternal.h: implement the new method 13 (WebCore::ApplicationCacheHostInternal::notifyProgressEventListener): 14 1 15 2010-06-25 John Gregg <johnnyg@google.com> 2 16 -
trunk/WebKit/chromium/public/WebApplicationCacheHostClient.h
r50667 r61856 40 40 class WebApplicationCacheHostClient { 41 41 public: 42 // Called to fire the eventin the scriptable interface.42 // Called to fire events in the scriptable interface. 43 43 virtual void notifyEventListener(WebApplicationCacheHost::EventID) = 0; 44 virtual void notifyProgressEventListener(const WebURL&, int num_total, int num_complete) = 0; 44 45 45 46 protected: -
trunk/WebKit/chromium/public/WebSharedWorker.h
r59022 r61856 64 64 long long scriptResourceAppCacheID) = 0; 65 65 66 // FIXME(michaeln): Remove this after the roll and adjusting to it.67 virtual void startWorkerContext(const WebURL& scriptURL,68 const WebString& name,69 const WebString& userAgent,70 const WebString& sourceCode)71 {72 startWorkerContext(scriptURL, name, userAgent, sourceCode, 0);73 }74 75 66 class ConnectListener { 76 67 public: -
trunk/WebKit/chromium/src/ApplicationCacheHostInternal.h
r57341 r61856 40 40 #include "WebKit.h" 41 41 #include "WebKitClient.h" 42 #include "WebURL.h" 42 43 43 44 namespace WebCore { … … 58 59 } 59 60 61 virtual void notifyProgressEventListener(const WebKit::WebURL&, int num_total, int num_complete) 62 { 63 // FIXME: Modify webcore's progress event handling to carry the extra info and alter the 64 // layout tests to not fail when the more recently specified 'final' event is raised. 65 // For now, we're eating the extra info and that last event. 66 // See https://bugs.webkit.org/show_bug.cgi?id=37602 67 if (num_complete == num_total) 68 return; 69 notifyEventListener(WebKit::WebApplicationCacheHost::ProgressEvent); 70 } 71 60 72 static WebKit::WebApplicationCacheHost* toWebApplicationCacheHost(ApplicationCacheHost* innerHost) 61 73 {
Note: See TracChangeset
for help on using the changeset viewer.