| 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 15 matching lines...) Expand all Loading... |
| 26 * along with this library; see the file COPYING.LIB. If not, write to | 26 * along with this library; see the file COPYING.LIB. If not, write to |
| 27 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 27 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
| 28 * Boston, MA 02110-1301, USA. | 28 * Boston, MA 02110-1301, USA. |
| 29 */ | 29 */ |
| 30 | 30 |
| 31 #include "core/frame/LocalFrame.h" | 31 #include "core/frame/LocalFrame.h" |
| 32 | 32 |
| 33 #include <memory> | 33 #include <memory> |
| 34 | 34 |
| 35 #include "bindings/core/v8/ScriptController.h" | 35 #include "bindings/core/v8/ScriptController.h" |
| 36 #include "core/InspectorInstrumentationAgents.h" | 36 #include "core/CoreProbeSink.h" |
| 37 #include "core/dom/ChildFrameDisconnector.h" | 37 #include "core/dom/ChildFrameDisconnector.h" |
| 38 #include "core/dom/DocumentType.h" | 38 #include "core/dom/DocumentType.h" |
| 39 #include "core/dom/StyleChangeReason.h" | 39 #include "core/dom/StyleChangeReason.h" |
| 40 #include "core/editing/EditingUtilities.h" | 40 #include "core/editing/EditingUtilities.h" |
| 41 #include "core/editing/Editor.h" | 41 #include "core/editing/Editor.h" |
| 42 #include "core/editing/FrameSelection.h" | 42 #include "core/editing/FrameSelection.h" |
| 43 #include "core/editing/InputMethodController.h" | 43 #include "core/editing/InputMethodController.h" |
| 44 #include "core/editing/serializers/Serialization.h" | 44 #include "core/editing/serializers/Serialization.h" |
| 45 #include "core/editing/spellcheck/SpellChecker.h" | 45 #include "core/editing/spellcheck/SpellChecker.h" |
| 46 #include "core/events/Event.h" | 46 #include "core/events/Event.h" |
| 47 #include "core/frame/EventHandlerRegistry.h" | 47 #include "core/frame/EventHandlerRegistry.h" |
| 48 #include "core/frame/FrameConsole.h" | 48 #include "core/frame/FrameConsole.h" |
| 49 #include "core/frame/FrameHost.h" | 49 #include "core/frame/FrameHost.h" |
| 50 #include "core/frame/FrameView.h" | 50 #include "core/frame/FrameView.h" |
| 51 #include "core/frame/LocalDOMWindow.h" | 51 #include "core/frame/LocalDOMWindow.h" |
| 52 #include "core/frame/LocalFrameClient.h" | 52 #include "core/frame/LocalFrameClient.h" |
| 53 #include "core/frame/PerformanceMonitor.h" | 53 #include "core/frame/PerformanceMonitor.h" |
| 54 #include "core/frame/Settings.h" | 54 #include "core/frame/Settings.h" |
| 55 #include "core/frame/VisualViewport.h" | 55 #include "core/frame/VisualViewport.h" |
| 56 #include "core/html/HTMLFrameElementBase.h" | 56 #include "core/html/HTMLFrameElementBase.h" |
| 57 #include "core/html/HTMLPlugInElement.h" | 57 #include "core/html/HTMLPlugInElement.h" |
| 58 #include "core/input/EventHandler.h" | 58 #include "core/input/EventHandler.h" |
| 59 #include "core/inspector/ConsoleMessage.h" | 59 #include "core/inspector/ConsoleMessage.h" |
| 60 #include "core/inspector/InspectorInstrumentation.h" | |
| 61 #include "core/layout/HitTestResult.h" | 60 #include "core/layout/HitTestResult.h" |
| 62 #include "core/layout/LayoutView.h" | 61 #include "core/layout/LayoutView.h" |
| 63 #include "core/layout/api/LayoutPartItem.h" | 62 #include "core/layout/api/LayoutPartItem.h" |
| 64 #include "core/layout/api/LayoutViewItem.h" | 63 #include "core/layout/api/LayoutViewItem.h" |
| 65 #include "core/layout/compositing/PaintLayerCompositor.h" | 64 #include "core/layout/compositing/PaintLayerCompositor.h" |
| 66 #include "core/loader/FrameLoadRequest.h" | 65 #include "core/loader/FrameLoadRequest.h" |
| 67 #include "core/loader/NavigationScheduler.h" | 66 #include "core/loader/NavigationScheduler.h" |
| 68 #include "core/page/ChromeClient.h" | 67 #include "core/page/ChromeClient.h" |
| 69 #include "core/page/FocusController.h" | 68 #include "core/page/FocusController.h" |
| 70 #include "core/page/Page.h" | 69 #include "core/page/Page.h" |
| 71 #include "core/page/scrolling/ScrollingCoordinator.h" | 70 #include "core/page/scrolling/ScrollingCoordinator.h" |
| 72 #include "core/paint/ObjectPainter.h" | 71 #include "core/paint/ObjectPainter.h" |
| 73 #include "core/paint/PaintInfo.h" | 72 #include "core/paint/PaintInfo.h" |
| 74 #include "core/paint/PaintLayer.h" | 73 #include "core/paint/PaintLayer.h" |
| 75 #include "core/paint/PaintLayerPainter.h" | 74 #include "core/paint/PaintLayerPainter.h" |
| 76 #include "core/paint/TransformRecorder.h" | 75 #include "core/paint/TransformRecorder.h" |
| 76 #include "core/probe/CoreProbes.h" |
| 77 #include "core/svg/SVGDocumentExtensions.h" | 77 #include "core/svg/SVGDocumentExtensions.h" |
| 78 #include "core/timing/Performance.h" | 78 #include "core/timing/Performance.h" |
| 79 #include "platform/DragImage.h" | 79 #include "platform/DragImage.h" |
| 80 #include "platform/PluginScriptForbiddenScope.h" | 80 #include "platform/PluginScriptForbiddenScope.h" |
| 81 #include "platform/RuntimeEnabledFeatures.h" | 81 #include "platform/RuntimeEnabledFeatures.h" |
| 82 #include "platform/ScriptForbiddenScope.h" | 82 #include "platform/ScriptForbiddenScope.h" |
| 83 #include "platform/WebFrameScheduler.h" | 83 #include "platform/WebFrameScheduler.h" |
| 84 #include "platform/graphics/GraphicsContext.h" | 84 #include "platform/graphics/GraphicsContext.h" |
| 85 #include "platform/graphics/StaticBitmapImage.h" | 85 #include "platform/graphics/StaticBitmapImage.h" |
| 86 #include "platform/graphics/paint/ClipRecorder.h" | 86 #include "platform/graphics/paint/ClipRecorder.h" |
| (...skipping 776 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 863 m_eventHandler(new EventHandler(*this)), | 863 m_eventHandler(new EventHandler(*this)), |
| 864 m_console(FrameConsole::create(*this)), | 864 m_console(FrameConsole::create(*this)), |
| 865 m_inputMethodController(InputMethodController::create(*this)), | 865 m_inputMethodController(InputMethodController::create(*this)), |
| 866 m_navigationDisableCount(0), | 866 m_navigationDisableCount(0), |
| 867 m_pageZoomFactor(parentPageZoomFactor(this)), | 867 m_pageZoomFactor(parentPageZoomFactor(this)), |
| 868 m_textZoomFactor(parentTextZoomFactor(this)), | 868 m_textZoomFactor(parentTextZoomFactor(this)), |
| 869 m_inViewSourceMode(false), | 869 m_inViewSourceMode(false), |
| 870 m_interfaceProvider(interfaceProvider), | 870 m_interfaceProvider(interfaceProvider), |
| 871 m_interfaceRegistry(interfaceRegistry) { | 871 m_interfaceRegistry(interfaceRegistry) { |
| 872 if (isLocalRoot()) { | 872 if (isLocalRoot()) { |
| 873 m_instrumentingAgents = new InspectorInstrumentationAgents(); | 873 m_instrumentingAgents = new CoreProbeSink(); |
| 874 m_performanceMonitor = new PerformanceMonitor(this); | 874 m_performanceMonitor = new PerformanceMonitor(this); |
| 875 } else { | 875 } else { |
| 876 m_instrumentingAgents = localFrameRoot()->m_instrumentingAgents; | 876 m_instrumentingAgents = localFrameRoot()->m_instrumentingAgents; |
| 877 m_performanceMonitor = localFrameRoot()->m_performanceMonitor; | 877 m_performanceMonitor = localFrameRoot()->m_performanceMonitor; |
| 878 } | 878 } |
| 879 } | 879 } |
| 880 | 880 |
| 881 WebFrameScheduler* LocalFrame::frameScheduler() { | 881 WebFrameScheduler* LocalFrame::frameScheduler() { |
| 882 return m_frameScheduler.get(); | 882 return m_frameScheduler.get(); |
| 883 } | 883 } |
| (...skipping 30 matching lines...) Expand all Loading... |
| 914 if (m_frame && m_frame->client() && m_frame->client()->frameBlameContext()) | 914 if (m_frame && m_frame->client() && m_frame->client()->frameBlameContext()) |
| 915 m_frame->client()->frameBlameContext()->Enter(); | 915 m_frame->client()->frameBlameContext()->Enter(); |
| 916 } | 916 } |
| 917 | 917 |
| 918 ScopedFrameBlamer::~ScopedFrameBlamer() { | 918 ScopedFrameBlamer::~ScopedFrameBlamer() { |
| 919 if (m_frame && m_frame->client() && m_frame->client()->frameBlameContext()) | 919 if (m_frame && m_frame->client() && m_frame->client()->frameBlameContext()) |
| 920 m_frame->client()->frameBlameContext()->Leave(); | 920 m_frame->client()->frameBlameContext()->Leave(); |
| 921 } | 921 } |
| 922 | 922 |
| 923 } // namespace blink | 923 } // namespace blink |
| OLD | NEW |