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, FrameO
wner* owner) | 91 inline LocalFrame::LocalFrame(FrameLoaderClient* client, FrameHost* host, FrameO
wner* owner) |
92 : Frame(client, host, owner) | 92 : Frame(client, host, owner) |
93 , m_loader(this) | 93 , m_loader(this) |
94 , m_navigationScheduler(this) | 94 , m_navigationScheduler(this) |
95 , m_script(adoptPtr(new ScriptController(this))) | 95 , m_script(adoptPtr(new ScriptController(this))) |
96 , m_editor(Editor::create(*this)) | 96 , m_editor(Editor::create(*this)) |
97 , m_spellChecker(SpellChecker::create(*this)) | 97 , m_spellChecker(SpellChecker::create(*this)) |
98 , m_selection(FrameSelection::create(this)) | 98 , m_selection(FrameSelection::create(this)) |
99 , m_eventHandler(adoptPtr(new EventHandler(this))) | 99 , m_eventHandler(adoptPtrWillBeNoop(new EventHandler(this))) |
100 , m_console(FrameConsole::create(*this)) | 100 , m_console(FrameConsole::create(*this)) |
101 , m_inputMethodController(InputMethodController::create(*this)) | 101 , m_inputMethodController(InputMethodController::create(*this)) |
102 , m_pageZoomFactor(parentPageZoomFactor(this)) | 102 , m_pageZoomFactor(parentPageZoomFactor(this)) |
103 , m_textZoomFactor(parentTextZoomFactor(this)) | 103 , m_textZoomFactor(parentTextZoomFactor(this)) |
104 , m_inViewSourceMode(false) | 104 , m_inViewSourceMode(false) |
105 { | 105 { |
106 } | 106 } |
107 | 107 |
108 PassRefPtr<LocalFrame> LocalFrame::create(FrameLoaderClient* client, FrameHost*
host, FrameOwner* owner) | 108 PassRefPtr<LocalFrame> LocalFrame::create(FrameLoaderClient* client, FrameHost*
host, FrameOwner* owner) |
109 { | 109 { |
(...skipping 548 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
658 LocalFrame* LocalFrame::localFrameRoot() | 658 LocalFrame* LocalFrame::localFrameRoot() |
659 { | 659 { |
660 LocalFrame* curFrame = this; | 660 LocalFrame* curFrame = this; |
661 while (curFrame && curFrame->tree().parent() && curFrame->tree().parent()->i
sLocalFrame()) | 661 while (curFrame && curFrame->tree().parent() && curFrame->tree().parent()->i
sLocalFrame()) |
662 curFrame = curFrame->tree().parent(); | 662 curFrame = curFrame->tree().parent(); |
663 | 663 |
664 return curFrame; | 664 return curFrame; |
665 } | 665 } |
666 | 666 |
667 } // namespace WebCore | 667 } // namespace WebCore |
OLD | NEW |