| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1998, 1999 Torben Weis <weis@kde.org> | 2 * Copyright (C) 1998, 1999 Torben Weis <weis@kde.org> |
| 3 * 1999 Lars Knoll <knoll@kde.org> | 3 * 1999 Lars Knoll <knoll@kde.org> |
| 4 * 1999 Antti Koivisto <koivisto@kde.org> | 4 * 1999 Antti Koivisto <koivisto@kde.org> |
| 5 * 2000 Simon Hausmann <hausmann@kde.org> | 5 * 2000 Simon Hausmann <hausmann@kde.org> |
| 6 * 2000 Stefan Schimanski <1Stein@gmx.de> | 6 * 2000 Stefan Schimanski <1Stein@gmx.de> |
| 7 * 2001 George Staikos <staikos@kde.org> | 7 * 2001 George Staikos <staikos@kde.org> |
| 8 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All | 8 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All |
| 9 * rights reserved. | 9 * rights reserved. |
| 10 * Copyright (C) 2005 Alexey Proskuryakov <ap@nypop.com> | 10 * Copyright (C) 2005 Alexey Proskuryakov <ap@nypop.com> |
| (...skipping 496 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 507 DCHECK(m_loader.stateMachine()->creatingInitialEmptyDocument() || document()); | 507 DCHECK(m_loader.stateMachine()->creatingInitialEmptyDocument() || document()); |
| 508 | 508 |
| 509 if (Document* document = this->document()) | 509 if (Document* document = this->document()) |
| 510 ChildFrameDisconnector(*document).disconnect(); | 510 ChildFrameDisconnector(*document).disconnect(); |
| 511 } | 511 } |
| 512 | 512 |
| 513 void LocalFrame::documentAttached() { | 513 void LocalFrame::documentAttached() { |
| 514 DCHECK(document()); | 514 DCHECK(document()); |
| 515 selection().documentAttached(document()); | 515 selection().documentAttached(document()); |
| 516 inputMethodController().documentAttached(document()); | 516 inputMethodController().documentAttached(document()); |
| 517 spellChecker().documentAttached(document()); |
| 517 } | 518 } |
| 518 | 519 |
| 519 LocalDOMWindow* LocalFrame::domWindow() const { | 520 LocalDOMWindow* LocalFrame::domWindow() const { |
| 520 return toLocalDOMWindow(m_domWindow); | 521 return toLocalDOMWindow(m_domWindow); |
| 521 } | 522 } |
| 522 | 523 |
| 523 void LocalFrame::setDOMWindow(LocalDOMWindow* domWindow) { | 524 void LocalFrame::setDOMWindow(LocalDOMWindow* domWindow) { |
| 524 if (domWindow) | 525 if (domWindow) |
| 525 script().clearWindowProxy(); | 526 script().clearWindowProxy(); |
| 526 | 527 |
| (...skipping 388 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 915 if (m_frame && m_frame->client() && m_frame->client()->frameBlameContext()) | 916 if (m_frame && m_frame->client() && m_frame->client()->frameBlameContext()) |
| 916 m_frame->client()->frameBlameContext()->Enter(); | 917 m_frame->client()->frameBlameContext()->Enter(); |
| 917 } | 918 } |
| 918 | 919 |
| 919 ScopedFrameBlamer::~ScopedFrameBlamer() { | 920 ScopedFrameBlamer::~ScopedFrameBlamer() { |
| 920 if (m_frame && m_frame->client() && m_frame->client()->frameBlameContext()) | 921 if (m_frame && m_frame->client() && m_frame->client()->frameBlameContext()) |
| 921 m_frame->client()->frameBlameContext()->Leave(); | 922 m_frame->client()->frameBlameContext()->Leave(); |
| 922 } | 923 } |
| 923 | 924 |
| 924 } // namespace blink | 925 } // namespace blink |
| OLD | NEW |