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

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

Issue 299353004: Oilpan: move editing objects to the heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 7 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
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, 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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698