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/InstrumentingAgents.h" | 36 #include "core/InspectorInstrumentationAgents.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" |
(...skipping 815 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
862 m_eventHandler(new EventHandler(*this)), | 862 m_eventHandler(new EventHandler(*this)), |
863 m_console(FrameConsole::create(*this)), | 863 m_console(FrameConsole::create(*this)), |
864 m_inputMethodController(InputMethodController::create(*this)), | 864 m_inputMethodController(InputMethodController::create(*this)), |
865 m_navigationDisableCount(0), | 865 m_navigationDisableCount(0), |
866 m_pageZoomFactor(parentPageZoomFactor(this)), | 866 m_pageZoomFactor(parentPageZoomFactor(this)), |
867 m_textZoomFactor(parentTextZoomFactor(this)), | 867 m_textZoomFactor(parentTextZoomFactor(this)), |
868 m_inViewSourceMode(false), | 868 m_inViewSourceMode(false), |
869 m_interfaceProvider(interfaceProvider), | 869 m_interfaceProvider(interfaceProvider), |
870 m_interfaceRegistry(interfaceRegistry) { | 870 m_interfaceRegistry(interfaceRegistry) { |
871 if (isLocalRoot()) { | 871 if (isLocalRoot()) { |
872 m_instrumentingAgents = new InstrumentingAgents(); | 872 m_instrumentingAgents = new InspectorInstrumentationAgents(); |
873 m_performanceMonitor = new PerformanceMonitor(this); | 873 m_performanceMonitor = new PerformanceMonitor(this); |
874 } else { | 874 } else { |
875 m_instrumentingAgents = localFrameRoot()->m_instrumentingAgents; | 875 m_instrumentingAgents = localFrameRoot()->m_instrumentingAgents; |
876 m_performanceMonitor = localFrameRoot()->m_performanceMonitor; | 876 m_performanceMonitor = localFrameRoot()->m_performanceMonitor; |
877 } | 877 } |
878 } | 878 } |
879 | 879 |
880 WebFrameScheduler* LocalFrame::frameScheduler() { | 880 WebFrameScheduler* LocalFrame::frameScheduler() { |
881 return m_frameScheduler.get(); | 881 return m_frameScheduler.get(); |
882 } | 882 } |
(...skipping 30 matching lines...) Expand all Loading... |
913 if (m_frame && m_frame->client() && m_frame->client()->frameBlameContext()) | 913 if (m_frame && m_frame->client() && m_frame->client()->frameBlameContext()) |
914 m_frame->client()->frameBlameContext()->Enter(); | 914 m_frame->client()->frameBlameContext()->Enter(); |
915 } | 915 } |
916 | 916 |
917 ScopedFrameBlamer::~ScopedFrameBlamer() { | 917 ScopedFrameBlamer::~ScopedFrameBlamer() { |
918 if (m_frame && m_frame->client() && m_frame->client()->frameBlameContext()) | 918 if (m_frame && m_frame->client() && m_frame->client()->frameBlameContext()) |
919 m_frame->client()->frameBlameContext()->Leave(); | 919 m_frame->client()->frameBlameContext()->Leave(); |
920 } | 920 } |
921 | 921 |
922 } // namespace blink | 922 } // namespace blink |
OLD | NEW |