OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef DOMWindowStorageController_h | 5 #ifndef DOMWindowStorageController_h |
6 #define DOMWindowStorageController_h | 6 #define DOMWindowStorageController_h |
7 | 7 |
8 #include "core/dom/Document.h" | 8 #include "core/dom/Document.h" |
9 #include "core/frame/LocalDOMWindow.h" | 9 #include "core/frame/LocalDOMWindow.h" |
10 #include "modules/ModulesExport.h" | 10 #include "modules/ModulesExport.h" |
11 #include "platform/Supplementable.h" | 11 #include "platform/Supplementable.h" |
12 #include "platform/heap/Handle.h" | 12 #include "platform/heap/Handle.h" |
13 | 13 |
14 namespace blink { | 14 namespace blink { |
15 | 15 |
16 class Document; | 16 class Document; |
17 class Event; | |
18 | 17 |
19 class MODULES_EXPORT DOMWindowStorageController final | 18 class MODULES_EXPORT DOMWindowStorageController final |
20 : public GarbageCollected<DOMWindowStorageController>, | 19 : public GarbageCollected<DOMWindowStorageController>, |
21 public Supplement<Document>, | 20 public Supplement<Document>, |
22 public LocalDOMWindow::EventListenerObserver { | 21 public LocalDOMWindow::EventListenerObserver { |
23 USING_GARBAGE_COLLECTED_MIXIN(DOMWindowStorageController); | 22 USING_GARBAGE_COLLECTED_MIXIN(DOMWindowStorageController); |
24 | 23 |
25 public: | 24 public: |
26 DECLARE_VIRTUAL_TRACE(); | 25 DECLARE_VIRTUAL_TRACE(); |
27 | 26 |
(...skipping 10 matching lines...) Expand all Loading... |
38 | 37 |
39 private: | 38 private: |
40 Document& document() const { return *m_document; } | 39 Document& document() const { return *m_document; } |
41 | 40 |
42 Member<Document> m_document; | 41 Member<Document> m_document; |
43 }; | 42 }; |
44 | 43 |
45 } // namespace blink | 44 } // namespace blink |
46 | 45 |
47 #endif // DOMWindowStorageController_h | 46 #endif // DOMWindowStorageController_h |
OLD | NEW |