| 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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 virtual ~DOMWindow(); | 46 virtual ~DOMWindow(); |
| 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: | |
| 57 v8::Handle<v8::Object> wrap(v8::Handle<v8::Object> creationContext, v8::Isol
ate*) override; | |
| 58 v8::Handle<v8::Object> associateWithWrapper(v8::Isolate*, const WrapperTypeI
nfo*, v8::Handle<v8::Object> wrapper) override; | |
| 59 | |
| 60 // EventTarget overrides: | |
| 61 const AtomicString& interfaceName() const override; | |
| 62 | |
| 63 // DOM Level 0 | 56 // DOM Level 0 |
| 64 virtual Screen* screen() const = 0; | 57 virtual Screen* screen() const = 0; |
| 65 virtual History* history() const = 0; | 58 virtual History* history() const = 0; |
| 66 virtual BarProp* locationbar() const = 0; | 59 virtual BarProp* locationbar() const = 0; |
| 67 virtual BarProp* menubar() const = 0; | 60 virtual BarProp* menubar() const = 0; |
| 68 virtual BarProp* personalbar() const = 0; | 61 virtual BarProp* personalbar() const = 0; |
| 69 virtual BarProp* scrollbars() const = 0; | 62 virtual BarProp* scrollbars() const = 0; |
| 70 virtual BarProp* statusbar() const = 0; | 63 virtual BarProp* statusbar() const = 0; |
| 71 virtual BarProp* toolbar() const = 0; | 64 virtual BarProp* toolbar() const = 0; |
| 72 virtual Navigator* navigator() const = 0; | 65 virtual Navigator* navigator() const = 0; |
| (...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 231 // implementation details to scripts. | 224 // implementation details to scripts. |
| 232 bool m_windowIsClosing; | 225 bool m_windowIsClosing; |
| 233 | 226 |
| 234 private: | 227 private: |
| 235 mutable RefPtrWillBeMember<Location> m_location; | 228 mutable RefPtrWillBeMember<Location> m_location; |
| 236 }; | 229 }; |
| 237 | 230 |
| 238 } // namespace blink | 231 } // namespace blink |
| 239 | 232 |
| 240 #endif // DOMWindow_h | 233 #endif // DOMWindow_h |
| OLD | NEW |