Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(604)

Side by Side Diff: Source/core/frame/LocalFrame.cpp

Issue 317073007: Oilpan: Prepare to move EventHandler to Oilpan heap. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/core/frame/LocalFrame.h ('k') | Source/core/page/EventHandler.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « Source/core/frame/LocalFrame.h ('k') | Source/core/page/EventHandler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698