| 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 DOMWindow_h | 5 #ifndef DOMWindow_h |
| 6 #define DOMWindow_h | 6 #define DOMWindow_h |
| 7 | 7 |
| 8 #include "core/CoreExport.h" | 8 #include "core/CoreExport.h" |
| 9 #include "core/events/EventTarget.h" | 9 #include "core/events/EventTarget.h" |
| 10 #include "core/frame/DOMWindowBase64.h" | 10 #include "core/frame/DOMWindowBase64.h" |
| (...skipping 23 matching lines...) Expand all Loading... |
| 34 class MediaQueryList; | 34 class MediaQueryList; |
| 35 class Navigator; | 35 class Navigator; |
| 36 class Screen; | 36 class Screen; |
| 37 class ScrollToOptions; | 37 class ScrollToOptions; |
| 38 class SerializedScriptValue; | 38 class SerializedScriptValue; |
| 39 class Storage; | 39 class Storage; |
| 40 class StyleMedia; | 40 class StyleMedia; |
| 41 | 41 |
| 42 typedef HeapVector<Member<MessagePort>, 1> MessagePortArray; | 42 typedef HeapVector<Member<MessagePort>, 1> MessagePortArray; |
| 43 | 43 |
| 44 class CORE_EXPORT DOMWindow : public EventTargetWithInlineData, public DOMWindow
Base64 { | 44 class CORE_EXPORT DOMWindow : public EventTargetWithInlineData<DOMWindow>, publi
c DOMWindowBase64 { |
| 45 DEFINE_WRAPPERTYPEINFO(); | 45 DEFINE_WRAPPERTYPEINFO(); |
| 46 REFCOUNTED_EVENT_TARGET(DOMWindow); | 46 REFCOUNTED_EVENT_TARGET(DOMWindow); |
| 47 public: | 47 public: |
| 48 ~DOMWindow() override; | 48 ~DOMWindow() override; |
| 49 | 49 |
| 50 // GarbageCollectedFinalized overrides: | 50 // GarbageCollectedFinalized overrides: |
| 51 DECLARE_VIRTUAL_TRACE(); | 51 DECLARE_VIRTUAL_TRACE(); |
| 52 | 52 |
| 53 virtual bool isLocalDOMWindow() const { return false; } | 53 virtual bool isLocalDOMWindow() const { return false; } |
| 54 virtual bool isRemoteDOMWindow() const { return false; } | 54 virtual bool isRemoteDOMWindow() const { return false; } |
| (...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 223 // implementation details to scripts. | 223 // implementation details to scripts. |
| 224 bool m_windowIsClosing; | 224 bool m_windowIsClosing; |
| 225 | 225 |
| 226 private: | 226 private: |
| 227 mutable Member<Location> m_location; | 227 mutable Member<Location> m_location; |
| 228 }; | 228 }; |
| 229 | 229 |
| 230 } // namespace blink | 230 } // namespace blink |
| 231 | 231 |
| 232 #endif // DOMWindow_h | 232 #endif // DOMWindow_h |
| OLD | NEW |