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

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: Remove stray brace Created 4 years 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 | « no previous file | third_party/WebKit/Source/core/input/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 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 854 matching lines...) Expand 10 before | Expand all | Expand 10 after
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_navigationDisableCount(0), 878 m_navigationDisableCount(0),
879 m_pageZoomFactor(parentPageZoomFactor(this)), 879 m_pageZoomFactor(parentPageZoomFactor(this)),
880 m_textZoomFactor(parentTextZoomFactor(this)), 880 m_textZoomFactor(parentTextZoomFactor(this)),
881 m_inViewSourceMode(false), 881 m_inViewSourceMode(false),
882 m_interfaceProvider(interfaceProvider), 882 m_interfaceProvider(interfaceProvider),
883 m_interfaceRegistry(interfaceRegistry) { 883 m_interfaceRegistry(interfaceRegistry) {
884 if (isLocalRoot()) { 884 if (isLocalRoot()) {
885 m_instrumentingAgents = new InstrumentingAgents(); 885 m_instrumentingAgents = new InstrumentingAgents();
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
926 if (m_frame && m_frame->client() && m_frame->client()->frameBlameContext()) 926 if (m_frame && m_frame->client() && m_frame->client()->frameBlameContext())
927 m_frame->client()->frameBlameContext()->Enter(); 927 m_frame->client()->frameBlameContext()->Enter();
928 } 928 }
929 929
930 ScopedFrameBlamer::~ScopedFrameBlamer() { 930 ScopedFrameBlamer::~ScopedFrameBlamer() {
931 if (m_frame && m_frame->client() && m_frame->client()->frameBlameContext()) 931 if (m_frame && m_frame->client() && m_frame->client()->frameBlameContext())
932 m_frame->client()->frameBlameContext()->Leave(); 932 m_frame->client()->frameBlameContext()->Leave();
933 } 933 }
934 934
935 } // namespace blink 935 } // namespace blink
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/input/EventHandler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698