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

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: Make test wrapper class finalized 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
« no previous file with comments | « Source/core/frame/LocalFrame.h ('k') | Source/core/page/Page.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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 return parent->textZoomFactor(); 88 return parent->textZoomFactor();
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_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(adoptPtr(new FrameSelection(this))) 98 , m_selection(FrameSelection::create(this))
99 , m_eventHandler(adoptPtr(new EventHandler(this))) 99 , m_eventHandler(adoptPtr(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, HTMLFrameOwnerElement* ownerElement) 108 PassRefPtr<LocalFrame> LocalFrame::create(FrameLoaderClient* client, FrameHost* host, HTMLFrameOwnerElement* ownerElement)
(...skipping 541 matching lines...) Expand 10 before | Expand all | Expand 10 after
650 LocalFrame* LocalFrame::localFrameRoot() 650 LocalFrame* LocalFrame::localFrameRoot()
651 { 651 {
652 LocalFrame* curFrame = this; 652 LocalFrame* curFrame = this;
653 while (curFrame && curFrame->tree().parent() && curFrame->tree().parent()->i sLocalFrame()) 653 while (curFrame && curFrame->tree().parent() && curFrame->tree().parent()->i sLocalFrame())
654 curFrame = curFrame->tree().parent(); 654 curFrame = curFrame->tree().parent();
655 655
656 return curFrame; 656 return curFrame;
657 } 657 }
658 658
659 } // namespace WebCore 659 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/frame/LocalFrame.h ('k') | Source/core/page/Page.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698