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

Unified Diff: Source/WebKit/chromium/public/WebStorageEventDispatcher.h

Issue 10377148: Revert 116712 - Source/WebCore: [chromium] DomStorage events handling needs TLC (2) (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1137/
Patch Set: Created 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/WebKit/chromium/public/WebStorageArea.h ('k') | Source/WebKit/chromium/public/WebStorageNamespace.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebKit/chromium/public/WebStorageEventDispatcher.h
===================================================================
--- Source/WebKit/chromium/public/WebStorageEventDispatcher.h (revision 117067)
+++ Source/WebKit/chromium/public/WebStorageEventDispatcher.h (working copy)
@@ -55,8 +55,13 @@
const WebURL& pageUrl, const WebStorageNamespace&,
WebStorageArea* sourceAreaInstance, bool originatedInProcess);
- private:
- WebStorageEventDispatcher() { }
+ // DEPRECATED - The instance methods are going away soon in favor
+ // of the two static dispatch methods above.
+ WEBKIT_EXPORT static WebStorageEventDispatcher* create();
+ virtual ~WebStorageEventDispatcher() { }
+ virtual void dispatchStorageEvent(const WebString& key, const WebString& oldValue,
+ const WebString& newValue, const WebString& origin,
+ const WebURL& url, bool isLocalStorage) = 0;
};
} // namespace WebKit
« no previous file with comments | « Source/WebKit/chromium/public/WebStorageArea.h ('k') | Source/WebKit/chromium/public/WebStorageNamespace.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698