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 r
ights reserved. | 8 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r
ights reserved. |
9 * Copyright (C) 2005 Alexey Proskuryakov <ap@nypop.com> | 9 * Copyright (C) 2005 Alexey Proskuryakov <ap@nypop.com> |
10 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) | 10 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 } | 89 } |
90 | 90 |
91 inline LocalFrame::LocalFrame(FrameLoaderClient* client, FrameHost* host, HTMLFr
ameOwnerElement* ownerElement) | 91 inline LocalFrame::LocalFrame(FrameLoaderClient* client, FrameHost* host, HTMLFr
ameOwnerElement* ownerElement) |
92 : Frame(client, host, ownerElement) | 92 : Frame(client, host, ownerElement) |
93 , m_treeNode(this) | 93 , m_treeNode(this) |
94 , m_loader(this) | 94 , m_loader(this) |
95 , m_navigationScheduler(this) | 95 , m_navigationScheduler(this) |
96 , m_script(adoptPtr(new ScriptController(this))) | 96 , m_script(adoptPtr(new ScriptController(this))) |
97 , m_editor(Editor::create(*this)) | 97 , m_editor(Editor::create(*this)) |
98 , m_spellChecker(SpellChecker::create(*this)) | 98 , m_spellChecker(SpellChecker::create(*this)) |
99 , m_selection(adoptPtr(new FrameSelection(this))) | 99 , m_selection(FrameSelection::create(this)) |
100 , m_eventHandler(adoptPtr(new EventHandler(this))) | 100 , m_eventHandler(adoptPtr(new EventHandler(this))) |
101 , m_console(FrameConsole::create(*this)) | 101 , m_console(FrameConsole::create(*this)) |
102 , m_inputMethodController(InputMethodController::create(*this)) | 102 , m_inputMethodController(InputMethodController::create(*this)) |
103 , m_pageZoomFactor(parentPageZoomFactor(this)) | 103 , m_pageZoomFactor(parentPageZoomFactor(this)) |
104 , m_textZoomFactor(parentTextZoomFactor(this)) | 104 , m_textZoomFactor(parentTextZoomFactor(this)) |
105 , m_inViewSourceMode(false) | 105 , m_inViewSourceMode(false) |
106 { | 106 { |
107 } | 107 } |
108 | 108 |
109 PassRefPtr<LocalFrame> LocalFrame::create(FrameLoaderClient* client, FrameHost*
host, HTMLFrameOwnerElement* ownerElement) | 109 PassRefPtr<LocalFrame> LocalFrame::create(FrameLoaderClient* client, FrameHost*
host, HTMLFrameOwnerElement* ownerElement) |
(...skipping 531 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
641 LocalFrame* LocalFrame::localFrameRoot() | 641 LocalFrame* LocalFrame::localFrameRoot() |
642 { | 642 { |
643 LocalFrame* curFrame = this; | 643 LocalFrame* curFrame = this; |
644 while (curFrame && curFrame->tree().parent() && curFrame->tree().parent()->i
sLocalFrame()) | 644 while (curFrame && curFrame->tree().parent() && curFrame->tree().parent()->i
sLocalFrame()) |
645 curFrame = curFrame->tree().parent(); | 645 curFrame = curFrame->tree().parent(); |
646 | 646 |
647 return curFrame; | 647 return curFrame; |
648 } | 648 } |
649 | 649 |
650 } // namespace WebCore | 650 } // namespace WebCore |
OLD | NEW |