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

Side by Side 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 const WebURL& pageUrl, WebStorageArea* sourceAreaInstance, 48 const WebURL& pageUrl, WebStorageArea* sourceAreaInstance,
49 bool originatedInProcess); 49 bool originatedInProcess);
50 50
51 // Dispatch a session storage event to appropiate documents. 51 // Dispatch a session storage event to appropiate documents.
52 WEBKIT_EXPORT static void dispatchSessionStorageEvent( 52 WEBKIT_EXPORT static void dispatchSessionStorageEvent(
53 const WebString& key, const WebString& oldValue, 53 const WebString& key, const WebString& oldValue,
54 const WebString& newValue, const WebURL& origin, 54 const WebString& newValue, const WebURL& origin,
55 const WebURL& pageUrl, const WebStorageNamespace&, 55 const WebURL& pageUrl, const WebStorageNamespace&,
56 WebStorageArea* sourceAreaInstance, bool originatedInProcess); 56 WebStorageArea* sourceAreaInstance, bool originatedInProcess);
57 57
58 private: 58 // DEPRECATED - The instance methods are going away soon in favor
59 WebStorageEventDispatcher() { } 59 // of the two static dispatch methods above.
60 WEBKIT_EXPORT static WebStorageEventDispatcher* create();
61 virtual ~WebStorageEventDispatcher() { }
62 virtual void dispatchStorageEvent(const WebString& key, const WebString& old Value,
63 const WebString& newValue, const WebString & origin,
64 const WebURL& url, bool isLocalStorage) = 0;
60 }; 65 };
61 66
62 } // namespace WebKit 67 } // namespace WebKit
63 68
64 #endif // WebStorageEventDispatcher_h 69 #endif // WebStorageEventDispatcher_h
OLDNEW
« 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