| OLD | NEW |
| 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 22 matching lines...) Expand all Loading... |
| 33 #include "bindings/core/v8/ScriptController.h" | 33 #include "bindings/core/v8/ScriptController.h" |
| 34 #include "core/InstrumentingAgents.h" | 34 #include "core/InstrumentingAgents.h" |
| 35 #include "core/dom/ChildFrameDisconnector.h" | 35 #include "core/dom/ChildFrameDisconnector.h" |
| 36 #include "core/dom/DocumentType.h" | 36 #include "core/dom/DocumentType.h" |
| 37 #include "core/dom/StyleChangeReason.h" | 37 #include "core/dom/StyleChangeReason.h" |
| 38 #include "core/editing/EditingUtilities.h" | 38 #include "core/editing/EditingUtilities.h" |
| 39 #include "core/editing/Editor.h" | 39 #include "core/editing/Editor.h" |
| 40 #include "core/editing/FrameSelection.h" | 40 #include "core/editing/FrameSelection.h" |
| 41 #include "core/editing/InputMethodController.h" | 41 #include "core/editing/InputMethodController.h" |
| 42 #include "core/editing/serializers/Serialization.h" | 42 #include "core/editing/serializers/Serialization.h" |
| 43 #include "core/editing/spellcheck/IdleSpellCheckCallback.h" |
| 43 #include "core/editing/spellcheck/SpellChecker.h" | 44 #include "core/editing/spellcheck/SpellChecker.h" |
| 44 #include "core/events/Event.h" | 45 #include "core/events/Event.h" |
| 45 #include "core/fetch/ResourceFetcher.h" | 46 #include "core/fetch/ResourceFetcher.h" |
| 46 #include "core/frame/EventHandlerRegistry.h" | 47 #include "core/frame/EventHandlerRegistry.h" |
| 47 #include "core/frame/FrameConsole.h" | 48 #include "core/frame/FrameConsole.h" |
| 48 #include "core/frame/FrameHost.h" | 49 #include "core/frame/FrameHost.h" |
| 49 #include "core/frame/FrameView.h" | 50 #include "core/frame/FrameView.h" |
| 50 #include "core/frame/LocalDOMWindow.h" | 51 #include "core/frame/LocalDOMWindow.h" |
| 51 #include "core/frame/PerformanceMonitor.h" | 52 #include "core/frame/PerformanceMonitor.h" |
| 52 #include "core/frame/Settings.h" | 53 #include "core/frame/Settings.h" |
| (...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 338 visitor->trace(m_view); | 339 visitor->trace(m_view); |
| 339 visitor->trace(m_domWindow); | 340 visitor->trace(m_domWindow); |
| 340 visitor->trace(m_pagePopupOwner); | 341 visitor->trace(m_pagePopupOwner); |
| 341 visitor->trace(m_script); | 342 visitor->trace(m_script); |
| 342 visitor->trace(m_editor); | 343 visitor->trace(m_editor); |
| 343 visitor->trace(m_spellChecker); | 344 visitor->trace(m_spellChecker); |
| 344 visitor->trace(m_selection); | 345 visitor->trace(m_selection); |
| 345 visitor->trace(m_eventHandler); | 346 visitor->trace(m_eventHandler); |
| 346 visitor->trace(m_console); | 347 visitor->trace(m_console); |
| 347 visitor->trace(m_inputMethodController); | 348 visitor->trace(m_inputMethodController); |
| 349 visitor->trace(m_idleSpellCheckCallback); |
| 348 Frame::trace(visitor); | 350 Frame::trace(visitor); |
| 349 Supplementable<LocalFrame>::trace(visitor); | 351 Supplementable<LocalFrame>::trace(visitor); |
| 350 } | 352 } |
| 351 | 353 |
| 352 WindowProxy* LocalFrame::windowProxy(DOMWrapperWorld& world) { | 354 WindowProxy* LocalFrame::windowProxy(DOMWrapperWorld& world) { |
| 353 return m_script->windowProxy(world); | 355 return m_script->windowProxy(world); |
| 354 } | 356 } |
| 355 | 357 |
| 356 void LocalFrame::navigate(Document& originDocument, | 358 void LocalFrame::navigate(Document& originDocument, |
| 357 const KURL& url, | 359 const KURL& url, |
| (...skipping 520 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 878 client->frameBlameContext())), | 880 client->frameBlameContext())), |
| 879 m_loader(this), | 881 m_loader(this), |
| 880 m_navigationScheduler(NavigationScheduler::create(this)), | 882 m_navigationScheduler(NavigationScheduler::create(this)), |
| 881 m_script(ScriptController::create(this)), | 883 m_script(ScriptController::create(this)), |
| 882 m_editor(Editor::create(*this)), | 884 m_editor(Editor::create(*this)), |
| 883 m_spellChecker(SpellChecker::create(*this)), | 885 m_spellChecker(SpellChecker::create(*this)), |
| 884 m_selection(FrameSelection::create(this)), | 886 m_selection(FrameSelection::create(this)), |
| 885 m_eventHandler(new EventHandler(*this)), | 887 m_eventHandler(new EventHandler(*this)), |
| 886 m_console(FrameConsole::create(*this)), | 888 m_console(FrameConsole::create(*this)), |
| 887 m_inputMethodController(InputMethodController::create(*this)), | 889 m_inputMethodController(InputMethodController::create(*this)), |
| 890 m_idleSpellCheckCallback(IdleSpellCheckCallback::create(*this)), |
| 888 m_navigationDisableCount(0), | 891 m_navigationDisableCount(0), |
| 889 m_pageZoomFactor(parentPageZoomFactor(this)), | 892 m_pageZoomFactor(parentPageZoomFactor(this)), |
| 890 m_textZoomFactor(parentTextZoomFactor(this)), | 893 m_textZoomFactor(parentTextZoomFactor(this)), |
| 891 m_inViewSourceMode(false), | 894 m_inViewSourceMode(false), |
| 892 m_interfaceProvider(interfaceProvider), | 895 m_interfaceProvider(interfaceProvider), |
| 893 m_interfaceRegistry(interfaceRegistry) { | 896 m_interfaceRegistry(interfaceRegistry) { |
| 894 if (isLocalRoot()) { | 897 if (isLocalRoot()) { |
| 895 m_instrumentingAgents = new InstrumentingAgents(); | 898 m_instrumentingAgents = new InstrumentingAgents(); |
| 896 m_performanceMonitor = new PerformanceMonitor(this); | 899 m_performanceMonitor = new PerformanceMonitor(this); |
| 897 } else { | 900 } else { |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 936 if (m_frame && m_frame->client() && m_frame->client()->frameBlameContext()) | 939 if (m_frame && m_frame->client() && m_frame->client()->frameBlameContext()) |
| 937 m_frame->client()->frameBlameContext()->Enter(); | 940 m_frame->client()->frameBlameContext()->Enter(); |
| 938 } | 941 } |
| 939 | 942 |
| 940 ScopedFrameBlamer::~ScopedFrameBlamer() { | 943 ScopedFrameBlamer::~ScopedFrameBlamer() { |
| 941 if (m_frame && m_frame->client() && m_frame->client()->frameBlameContext()) | 944 if (m_frame && m_frame->client() && m_frame->client()->frameBlameContext()) |
| 942 m_frame->client()->frameBlameContext()->Leave(); | 945 m_frame->client()->frameBlameContext()->Leave(); |
| 943 } | 946 } |
| 944 | 947 |
| 945 } // namespace blink | 948 } // namespace blink |
| OLD | NEW |