| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2008, 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2008, 2009 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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 void initStorageEvent(const AtomicString& type, | 58 void initStorageEvent(const AtomicString& type, |
| 59 bool canBubble, | 59 bool canBubble, |
| 60 bool cancelable, | 60 bool cancelable, |
| 61 const String& key, | 61 const String& key, |
| 62 const String& oldValue, | 62 const String& oldValue, |
| 63 const String& newValue, | 63 const String& newValue, |
| 64 const String& url, | 64 const String& url, |
| 65 Storage* storageArea); | 65 Storage* storageArea); |
| 66 | 66 |
| 67 // Needed once we support init<blank>EventNS | 67 // Needed once we support init<blank>EventNS |
| 68 // void initStorageEventNS(in DOMString namespaceURI, in DOMString typeArg, in
boolean canBubbleArg, in boolean cancelableArg, in DOMString keyArg, in DOMStri
ng oldValueArg, in DOMString newValueArg, in DOMString urlArg, Storage storageAr
eaArg); | 68 // void initStorageEventNS(in DOMString namespaceURI, in DOMString typeArg, |
| 69 // in boolean canBubbleArg, in boolean cancelableArg, in DOMString keyArg, |
| 70 // in DOMString oldValueArg, in DOMString newValueArg, |
| 71 // in DOMString urlArg, Storage storageAreaArg); |
| 69 | 72 |
| 70 const AtomicString& interfaceName() const override; | 73 const AtomicString& interfaceName() const override; |
| 71 | 74 |
| 72 DECLARE_VIRTUAL_TRACE(); | 75 DECLARE_VIRTUAL_TRACE(); |
| 73 | 76 |
| 74 private: | 77 private: |
| 75 StorageEvent(); | 78 StorageEvent(); |
| 76 StorageEvent(const AtomicString& type, | 79 StorageEvent(const AtomicString& type, |
| 77 const String& key, | 80 const String& key, |
| 78 const String& oldValue, | 81 const String& oldValue, |
| 79 const String& newValue, | 82 const String& newValue, |
| 80 const String& url, | 83 const String& url, |
| 81 Storage* storageArea); | 84 Storage* storageArea); |
| 82 StorageEvent(const AtomicString&, const StorageEventInit&); | 85 StorageEvent(const AtomicString&, const StorageEventInit&); |
| 83 | 86 |
| 84 String m_key; | 87 String m_key; |
| 85 String m_oldValue; | 88 String m_oldValue; |
| 86 String m_newValue; | 89 String m_newValue; |
| 87 String m_url; | 90 String m_url; |
| 88 Member<Storage> m_storageArea; | 91 Member<Storage> m_storageArea; |
| 89 }; | 92 }; |
| 90 | 93 |
| 91 } // namespace blink | 94 } // namespace blink |
| 92 | 95 |
| 93 #endif // StorageEvent_h | 96 #endif // StorageEvent_h |
| OLD | NEW |