OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2007, 2008, 2010 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2008, 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 459 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
470 if (!frame()) | 470 if (!frame()) |
471 return; | 471 return; |
472 | 472 |
473 // (Prefinalizing actions run to completion before the Oilpan GC start to la
zily sweep, | 473 // (Prefinalizing actions run to completion before the Oilpan GC start to la
zily sweep, |
474 // so keeping them short is worthwhile. Something that's worth keeping in mi
nd when | 474 // so keeping them short is worthwhile. Something that's worth keeping in mi
nd when |
475 // working out where to best place some actions that have to be performed ve
ry late | 475 // working out where to best place some actions that have to be performed ve
ry late |
476 // on in LocalDOMWindow's lifetime.) | 476 // on in LocalDOMWindow's lifetime.) |
477 removeAllEventListeners(); | 477 removeAllEventListeners(); |
478 } | 478 } |
479 | 479 |
| 480 const AtomicString& LocalDOMWindow::interfaceName() const |
| 481 { |
| 482 return EventTargetNames::LocalDOMWindow; |
| 483 } |
| 484 |
480 ExecutionContext* LocalDOMWindow::executionContext() const | 485 ExecutionContext* LocalDOMWindow::executionContext() const |
481 { | 486 { |
482 return m_document.get(); | 487 return m_document.get(); |
483 } | 488 } |
484 | 489 |
485 LocalDOMWindow* LocalDOMWindow::toDOMWindow() | 490 LocalDOMWindow* LocalDOMWindow::toDOMWindow() |
486 { | 491 { |
487 return this; | 492 return this; |
488 } | 493 } |
489 | 494 |
(...skipping 1171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1661 return m_frameObserver->frame(); | 1666 return m_frameObserver->frame(); |
1662 } | 1667 } |
1663 | 1668 |
1664 v8::Handle<v8::Object> LocalDOMWindow::wrap(v8::Handle<v8::Object> creationConte
xt, v8::Isolate* isolate) | 1669 v8::Handle<v8::Object> LocalDOMWindow::wrap(v8::Handle<v8::Object> creationConte
xt, v8::Isolate* isolate) |
1665 { | 1670 { |
1666 ASSERT_NOT_REACHED(); // LocalDOMWindow has [Custom=ToV8]. | 1671 ASSERT_NOT_REACHED(); // LocalDOMWindow has [Custom=ToV8]. |
1667 return v8::Handle<v8::Object>(); | 1672 return v8::Handle<v8::Object>(); |
1668 } | 1673 } |
1669 | 1674 |
1670 } // namespace blink | 1675 } // namespace blink |
OLD | NEW |