| 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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 42 | 42 | 
| 43     String key; | 43     String key; | 
| 44     String oldValue; | 44     String oldValue; | 
| 45     String newValue; | 45     String newValue; | 
| 46     String url; | 46     String url; | 
| 47     RefPtrWillBeRawPtr<Storage> storageArea; | 47     RefPtrWillBeRawPtr<Storage> storageArea; | 
| 48 }; | 48 }; | 
| 49 | 49 | 
| 50 class StorageEvent FINAL : public Event { | 50 class StorageEvent FINAL : public Event { | 
| 51 public: | 51 public: | 
| 52     static PassRefPtr<StorageEvent> create(); | 52     static PassRefPtrWillBeRawPtr<StorageEvent> create(); | 
| 53     static PassRefPtr<StorageEvent> create(const AtomicString& type, const Strin
    g& key, const String& oldValue, const String& newValue, const String& url, Stora
    ge* storageArea); | 53     static PassRefPtrWillBeRawPtr<StorageEvent> create(const AtomicString& type,
     const String& key, const String& oldValue, const String& newValue, const String
    & url, Storage* storageArea); | 
| 54     static PassRefPtr<StorageEvent> create(const AtomicString&, const StorageEve
    ntInit&); | 54     static PassRefPtrWillBeRawPtr<StorageEvent> create(const AtomicString&, cons
    t StorageEventInit&); | 
| 55     virtual ~StorageEvent(); | 55     virtual ~StorageEvent(); | 
| 56 | 56 | 
| 57     const String& key() const { return m_key; } | 57     const String& key() const { return m_key; } | 
| 58     const String& oldValue() const { return m_oldValue; } | 58     const String& oldValue() const { return m_oldValue; } | 
| 59     const String& newValue() const { return m_newValue; } | 59     const String& newValue() const { return m_newValue; } | 
| 60     const String& url() const { return m_url; } | 60     const String& url() const { return m_url; } | 
| 61     Storage* storageArea() const { return m_storageArea.get(); } | 61     Storage* storageArea() const { return m_storageArea.get(); } | 
| 62     Storage* storageArea(bool& isNull) const { isNull = !m_storageArea; return m
    _storageArea.get(); } | 62     Storage* storageArea(bool& isNull) const { isNull = !m_storageArea; return m
    _storageArea.get(); } | 
| 63 | 63 | 
| 64     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); | 64     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); | 
| (...skipping 13 matching lines...) Expand all  Loading... | 
| 78     String m_key; | 78     String m_key; | 
| 79     String m_oldValue; | 79     String m_oldValue; | 
| 80     String m_newValue; | 80     String m_newValue; | 
| 81     String m_url; | 81     String m_url; | 
| 82     RefPtrWillBePersistent<Storage> m_storageArea; | 82     RefPtrWillBePersistent<Storage> m_storageArea; | 
| 83 }; | 83 }; | 
| 84 | 84 | 
| 85 } // namespace WebCore | 85 } // namespace WebCore | 
| 86 | 86 | 
| 87 #endif // StorageEvent_h | 87 #endif // StorageEvent_h | 
| OLD | NEW | 
|---|