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

Unified Diff: modules/storage/StorageEvent.idl

Issue 1660113002: Updated to Chrome 45 (2454) moved from SVN to git. Base URL: https://github.com/dart-lang/webcore.git@roll_45
Patch Set: Created 4 years, 11 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 | « modules/storage/Storage.idl ('k') | modules/storage/StorageEventInit.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/storage/StorageEvent.idl
diff --git a/core/storage/StorageEvent.idl b/modules/storage/StorageEvent.idl
similarity index 60%
rename from core/storage/StorageEvent.idl
rename to modules/storage/StorageEvent.idl
index 39801af564ea78c6e0bee029877bdd9931e4a468..af603e4ed5ab9b407e1553379683c4f7ae4b059c 100644
--- a/core/storage/StorageEvent.idl
+++ b/modules/storage/StorageEvent.idl
@@ -23,25 +23,26 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+// http://dev.w3.org/html5/webstorage/#the-storage-event
+
[
- EventConstructor,
+ Constructor(DOMString type, optional StorageEventInit eventInitDict),
] interface StorageEvent : Event {
- [InitializedByEventConstructor] readonly attribute DOMString key;
- [InitializedByEventConstructor, TreatReturnedNullStringAs=Null] readonly attribute DOMString oldValue;
- [InitializedByEventConstructor, TreatReturnedNullStringAs=Null] readonly attribute DOMString newValue;
- [InitializedByEventConstructor] readonly attribute DOMString url;
- [InitializedByEventConstructor] readonly attribute Storage? storageArea;
+ readonly attribute DOMString? key;
+ readonly attribute DOMString? oldValue;
+ readonly attribute DOMString? newValue;
+ readonly attribute DOMString url;
+ readonly attribute Storage? storageArea;
- void initStorageEvent([Default=Undefined] optional DOMString typeArg,
- [Default=Undefined] optional boolean canBubbleArg,
- [Default=Undefined] optional boolean cancelableArg,
- [Default=Undefined] optional DOMString keyArg,
- [Default=Undefined] optional DOMString? oldValueArg,
- [Default=Undefined] optional DOMString? newValueArg,
- [Default=Undefined] optional DOMString urlArg,
- [Default=Undefined] optional Storage storageAreaArg);
+ [Measure] void initStorageEvent([Default=Undefined] optional DOMString typeArg,
+ [Default=Undefined] optional boolean canBubbleArg,
+ [Default=Undefined] optional boolean cancelableArg,
+ [Default=Undefined] optional DOMString keyArg,
+ [Default=Undefined] optional DOMString? oldValueArg,
+ [Default=Undefined] optional DOMString? newValueArg,
+ [Default=Undefined] optional DOMString urlArg,
+ [Default=Undefined] optional Storage storageAreaArg);
// Needed once we support init<blank>EventNS
// void initStorageEventNS(DOMString namespaceURI, DOMString typeArg, boolean canBubbleArg, boolean cancelableArg, DOMString keyArg, DOMString oldValueArg, DOMString newValueArg, DOMString urlArg, Storage storageAreaArg);
};
-
« no previous file with comments | « modules/storage/Storage.idl ('k') | modules/storage/StorageEventInit.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698