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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 | 47 |
48 // RefCountedWillBeGarbageCollectedFinalized overrides: | 48 // RefCountedWillBeGarbageCollectedFinalized overrides: |
49 DECLARE_VIRTUAL_TRACE(); | 49 DECLARE_VIRTUAL_TRACE(); |
50 | 50 |
51 virtual bool isLocalDOMWindow() const { return false; } | 51 virtual bool isLocalDOMWindow() const { return false; } |
52 virtual bool isRemoteDOMWindow() const { return false; } | 52 virtual bool isRemoteDOMWindow() const { return false; } |
53 | 53 |
54 virtual Frame* frame() const = 0; | 54 virtual Frame* frame() const = 0; |
55 | 55 |
56 // ScriptWrappable overrides: | 56 // ScriptWrappable overrides: |
57 v8::Local<v8::Object> wrap(v8::Local<v8::Object> creationContext, v8::Isolat
e*) override final; | 57 v8::Local<v8::Object> wrap(v8::Isolate*, v8::Local<v8::Object> creationConte
xt) override final; |
58 v8::Local<v8::Object> associateWithWrapper(v8::Isolate*, const WrapperTypeIn
fo*, v8::Local<v8::Object> wrapper) override final; | 58 v8::Local<v8::Object> associateWithWrapper(v8::Isolate*, const WrapperTypeIn
fo*, v8::Local<v8::Object> wrapper) override final; |
59 | 59 |
60 // EventTarget overrides: | 60 // EventTarget overrides: |
61 const AtomicString& interfaceName() const override; | 61 const AtomicString& interfaceName() const override; |
62 | 62 |
63 // DOM Level 0 | 63 // DOM Level 0 |
64 virtual Screen* screen() const = 0; | 64 virtual Screen* screen() const = 0; |
65 virtual History* history() const = 0; | 65 virtual History* history() const = 0; |
66 virtual BarProp* locationbar() const = 0; | 66 virtual BarProp* locationbar() const = 0; |
67 virtual BarProp* menubar() const = 0; | 67 virtual BarProp* menubar() const = 0; |
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
229 // implementation details to scripts. | 229 // implementation details to scripts. |
230 bool m_windowIsClosing; | 230 bool m_windowIsClosing; |
231 | 231 |
232 private: | 232 private: |
233 mutable RefPtrWillBeMember<Location> m_location; | 233 mutable RefPtrWillBeMember<Location> m_location; |
234 }; | 234 }; |
235 | 235 |
236 } // namespace blink | 236 } // namespace blink |
237 | 237 |
238 #endif // DOMWindow_h | 238 #endif // DOMWindow_h |
OLD | NEW |