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

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

Issue 2612713002: Move core/editing timer to frame-specific task runners. (Closed)
Patch Set: Created 3 years, 11 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 | « third_party/WebKit/Source/core/editing/spellcheck/SpellCheckRequester.cpp ('k') | no next file » | 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 8 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All
9 * rights reserved. 9 * rights reserved.
10 * Copyright (C) 2005 Alexey Proskuryakov <ap@nypop.com> 10 * Copyright (C) 2005 Alexey Proskuryakov <ap@nypop.com>
(...skipping 853 matching lines...) Expand 10 before | Expand all | Expand 10 after
864 InterfaceProvider* interfaceProvider, 864 InterfaceProvider* interfaceProvider,
865 InterfaceRegistry* interfaceRegistry) 865 InterfaceRegistry* interfaceRegistry)
866 : Frame(client, host, owner), 866 : Frame(client, host, owner),
867 m_frameScheduler(page()->chromeClient().createFrameScheduler( 867 m_frameScheduler(page()->chromeClient().createFrameScheduler(
868 client->frameBlameContext())), 868 client->frameBlameContext())),
869 m_loader(this), 869 m_loader(this),
870 m_navigationScheduler(NavigationScheduler::create(this)), 870 m_navigationScheduler(NavigationScheduler::create(this)),
871 m_script(ScriptController::create(this)), 871 m_script(ScriptController::create(this)),
872 m_editor(Editor::create(*this)), 872 m_editor(Editor::create(*this)),
873 m_spellChecker(SpellChecker::create(*this)), 873 m_spellChecker(SpellChecker::create(*this)),
874 m_selection(FrameSelection::create(this)), 874 m_selection(FrameSelection::create(*this)),
875 m_eventHandler(new EventHandler(*this)), 875 m_eventHandler(new EventHandler(*this)),
876 m_console(FrameConsole::create(*this)), 876 m_console(FrameConsole::create(*this)),
877 m_inputMethodController(InputMethodController::create(*this)), 877 m_inputMethodController(InputMethodController::create(*this)),
878 m_idleSpellCheckCallback(IdleSpellCheckCallback::create(*this)), 878 m_idleSpellCheckCallback(IdleSpellCheckCallback::create(*this)),
879 m_navigationDisableCount(0), 879 m_navigationDisableCount(0),
880 m_pageZoomFactor(parentPageZoomFactor(this)), 880 m_pageZoomFactor(parentPageZoomFactor(this)),
881 m_textZoomFactor(parentTextZoomFactor(this)), 881 m_textZoomFactor(parentTextZoomFactor(this)),
882 m_inViewSourceMode(false), 882 m_inViewSourceMode(false),
883 m_interfaceProvider(interfaceProvider), 883 m_interfaceProvider(interfaceProvider),
884 m_interfaceRegistry(interfaceRegistry) { 884 m_interfaceRegistry(interfaceRegistry) {
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
927 if (m_frame && m_frame->client() && m_frame->client()->frameBlameContext()) 927 if (m_frame && m_frame->client() && m_frame->client()->frameBlameContext())
928 m_frame->client()->frameBlameContext()->Enter(); 928 m_frame->client()->frameBlameContext()->Enter();
929 } 929 }
930 930
931 ScopedFrameBlamer::~ScopedFrameBlamer() { 931 ScopedFrameBlamer::~ScopedFrameBlamer() {
932 if (m_frame && m_frame->client() && m_frame->client()->frameBlameContext()) 932 if (m_frame && m_frame->client() && m_frame->client()->frameBlameContext())
933 m_frame->client()->frameBlameContext()->Leave(); 933 m_frame->client()->frameBlameContext()->Leave();
934 } 934 }
935 935
936 } // namespace blink 936 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/editing/spellcheck/SpellCheckRequester.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698