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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 Storage* storageArea() const { return m_storageArea.get(); } | 57 Storage* storageArea() const { return m_storageArea.get(); } |
58 Storage* storageArea(bool& isNull) const { isNull = !m_storageArea; return m
_storageArea.get(); } | 58 Storage* storageArea(bool& isNull) const { isNull = !m_storageArea; return m
_storageArea.get(); } |
59 | 59 |
60 void initStorageEvent(const AtomicString& type, bool canBubble, bool cancela
ble, const String& key, const String& oldValue, const String& newValue, const St
ring& url, Storage* storageArea); | 60 void initStorageEvent(const AtomicString& type, bool canBubble, bool cancela
ble, const String& key, const String& oldValue, const String& newValue, const St
ring& url, Storage* storageArea); |
61 | 61 |
62 // Needed once we support init<blank>EventNS | 62 // Needed once we support init<blank>EventNS |
63 // void initStorageEventNS(in DOMString namespaceURI, in DOMString typeArg,
in boolean canBubbleArg, in boolean cancelableArg, in DOMString keyArg, in DOMSt
ring oldValueArg, in DOMString newValueArg, in DOMString urlArg, Storage storage
AreaArg); | 63 // void initStorageEventNS(in DOMString namespaceURI, in DOMString typeArg,
in boolean canBubbleArg, in boolean cancelableArg, in DOMString keyArg, in DOMSt
ring oldValueArg, in DOMString newValueArg, in DOMString urlArg, Storage storage
AreaArg); |
64 | 64 |
65 virtual const AtomicString& interfaceName() const OVERRIDE; | 65 virtual const AtomicString& interfaceName() const OVERRIDE; |
66 | 66 |
| 67 virtual void trace(Visitor*) OVERRIDE; |
| 68 |
67 private: | 69 private: |
68 StorageEvent(); | 70 StorageEvent(); |
69 StorageEvent(const AtomicString& type, const String& key, const String& oldV
alue, const String& newValue, const String& url, Storage* storageArea); | 71 StorageEvent(const AtomicString& type, const String& key, const String& oldV
alue, const String& newValue, const String& url, Storage* storageArea); |
70 StorageEvent(const AtomicString&, const StorageEventInit&); | 72 StorageEvent(const AtomicString&, const StorageEventInit&); |
71 | 73 |
72 String m_key; | 74 String m_key; |
73 String m_oldValue; | 75 String m_oldValue; |
74 String m_newValue; | 76 String m_newValue; |
75 String m_url; | 77 String m_url; |
76 RefPtr<Storage> m_storageArea; | 78 RefPtr<Storage> m_storageArea; |
77 }; | 79 }; |
78 | 80 |
79 } // namespace WebCore | 81 } // namespace WebCore |
80 | 82 |
81 #endif // StorageEvent_h | 83 #endif // StorageEvent_h |
OLD | NEW |