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

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

Issue 2514733003: Move EventHandler timers to per-frame task queues. (Closed)
Patch Set: Created 4 years, 1 month 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 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 InterfaceRegistry* interfaceRegistry) 864 InterfaceRegistry* interfaceRegistry)
865 : Frame(client, host, owner), 865 : Frame(client, host, owner),
866 m_frameScheduler(page()->chromeClient().createFrameScheduler( 866 m_frameScheduler(page()->chromeClient().createFrameScheduler(
867 client->frameBlameContext())), 867 client->frameBlameContext())),
868 m_loader(this), 868 m_loader(this),
869 m_navigationScheduler(NavigationScheduler::create(this)), 869 m_navigationScheduler(NavigationScheduler::create(this)),
870 m_script(ScriptController::create(this)), 870 m_script(ScriptController::create(this)),
871 m_editor(Editor::create(*this)), 871 m_editor(Editor::create(*this)),
872 m_spellChecker(SpellChecker::create(*this)), 872 m_spellChecker(SpellChecker::create(*this)),
873 m_selection(FrameSelection::create(this)), 873 m_selection(FrameSelection::create(this)),
874 m_eventHandler(new EventHandler(this)), 874 m_eventHandler(new EventHandler(*this)),
875 m_console(FrameConsole::create(*this)), 875 m_console(FrameConsole::create(*this)),
876 m_inputMethodController(InputMethodController::create(*this)), 876 m_inputMethodController(InputMethodController::create(*this)),
877 m_navigationDisableCount(0), 877 m_navigationDisableCount(0),
878 m_pageZoomFactor(parentPageZoomFactor(this)), 878 m_pageZoomFactor(parentPageZoomFactor(this)),
879 m_textZoomFactor(parentTextZoomFactor(this)), 879 m_textZoomFactor(parentTextZoomFactor(this)),
880 m_inViewSourceMode(false), 880 m_inViewSourceMode(false),
881 m_interfaceProvider(interfaceProvider), 881 m_interfaceProvider(interfaceProvider),
882 m_interfaceRegistry(interfaceRegistry) { 882 m_interfaceRegistry(interfaceRegistry) {
883 if (isLocalRoot()) { 883 if (isLocalRoot()) {
884 m_instrumentingAgents = new InstrumentingAgents(); 884 m_instrumentingAgents = new InstrumentingAgents();
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
925 if (m_frame && m_frame->client() && m_frame->client()->frameBlameContext()) 925 if (m_frame && m_frame->client() && m_frame->client()->frameBlameContext())
926 m_frame->client()->frameBlameContext()->Enter(); 926 m_frame->client()->frameBlameContext()->Enter();
927 } 927 }
928 928
929 ScopedFrameBlamer::~ScopedFrameBlamer() { 929 ScopedFrameBlamer::~ScopedFrameBlamer() {
930 if (m_frame && m_frame->client() && m_frame->client()->frameBlameContext()) 930 if (m_frame && m_frame->client() && m_frame->client()->frameBlameContext())
931 m_frame->client()->frameBlameContext()->Leave(); 931 m_frame->client()->frameBlameContext()->Leave();
932 } 932 }
933 933
934 } // namespace blink 934 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698