OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2007, 2009, 2010 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2009, 2010 Apple Inc. All rights reserved. |
3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) | 3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
7 * are met: | 7 * are met: |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 static PassRefPtrWillBeRawPtr<LocalDOMWindow> create(LocalFrame& frame) | 72 static PassRefPtrWillBeRawPtr<LocalDOMWindow> create(LocalFrame& frame) |
73 { | 73 { |
74 return adoptRefWillBeNoop(new LocalDOMWindow(frame)); | 74 return adoptRefWillBeNoop(new LocalDOMWindow(frame)); |
75 } | 75 } |
76 virtual ~LocalDOMWindow(); | 76 virtual ~LocalDOMWindow(); |
77 void dispose(); | 77 void dispose(); |
78 | 78 |
79 PassRefPtrWillBeRawPtr<Document> installNewDocument(const String& mimeType,
const DocumentInit&, bool forceXHTML = false); | 79 PassRefPtrWillBeRawPtr<Document> installNewDocument(const String& mimeType,
const DocumentInit&, bool forceXHTML = false); |
80 | 80 |
81 // EventTarget overrides: | 81 // EventTarget overrides: |
| 82 virtual const AtomicString& interfaceName() const override; |
82 virtual ExecutionContext* executionContext() const override; | 83 virtual ExecutionContext* executionContext() const override; |
83 virtual LocalDOMWindow* toDOMWindow() override; | 84 virtual LocalDOMWindow* toDOMWindow() override; |
84 | 85 |
85 // DOMWindow overrides: | 86 // DOMWindow overrides: |
86 DECLARE_VIRTUAL_TRACE(); | 87 DECLARE_VIRTUAL_TRACE(); |
87 bool isLocalDOMWindow() const override { return true; } | 88 bool isLocalDOMWindow() const override { return true; } |
88 virtual LocalFrame* frame() const override; | 89 virtual LocalFrame* frame() const override; |
89 Screen* screen() const override; | 90 Screen* screen() const override; |
90 History* history() const override; | 91 History* history() const override; |
91 BarProp* locationbar() const override; | 92 BarProp* locationbar() const override; |
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
293 } | 294 } |
294 | 295 |
295 inline String LocalDOMWindow::defaultStatus() const | 296 inline String LocalDOMWindow::defaultStatus() const |
296 { | 297 { |
297 return m_defaultStatus; | 298 return m_defaultStatus; |
298 } | 299 } |
299 | 300 |
300 } // namespace blink | 301 } // namespace blink |
301 | 302 |
302 #endif // LocalDOMWindow_h | 303 #endif // LocalDOMWindow_h |
OLD | NEW |