| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 23 matching lines...) Expand all Loading... |
| 34 #include "core/inspector/InspectorBaseAgent.h" | 34 #include "core/inspector/InspectorBaseAgent.h" |
| 35 #include "platform/heap/Handle.h" | 35 #include "platform/heap/Handle.h" |
| 36 #include "wtf/Forward.h" | 36 #include "wtf/Forward.h" |
| 37 #include "wtf/HashMap.h" | 37 #include "wtf/HashMap.h" |
| 38 #include "wtf/Noncopyable.h" | 38 #include "wtf/Noncopyable.h" |
| 39 #include "wtf/text/WTFString.h" | 39 #include "wtf/text/WTFString.h" |
| 40 | 40 |
| 41 namespace blink { | 41 namespace blink { |
| 42 | 42 |
| 43 class AsyncCallTracker; | 43 class AsyncCallTracker; |
| 44 class ContextMenuProvider; | |
| 45 class LocalFrame; | 44 class LocalFrame; |
| 46 class GraphicsContext; | 45 class GraphicsContext; |
| 47 class GraphicsLayer; | 46 class GraphicsLayer; |
| 48 class InjectedScriptManager; | 47 class InjectedScriptManager; |
| 49 class InspectorBackendDispatcher; | 48 class InspectorBackendDispatcher; |
| 50 class InspectorAgent; | 49 class InspectorAgent; |
| 51 class InspectorAnimationAgent; | 50 class InspectorAnimationAgent; |
| 52 class InspectorClient; | 51 class InspectorClient; |
| 53 class InspectorCSSAgent; | 52 class InspectorCSSAgent; |
| 54 class InspectorDOMAgent; | 53 class InspectorDOMAgent; |
| 55 class InspectorFrontend; | 54 class InspectorFrontend; |
| 56 class InspectorFrontendChannel; | 55 class InspectorFrontendChannel; |
| 57 class InspectorFrontendClient; | |
| 58 class InspectorLayerTreeAgent; | 56 class InspectorLayerTreeAgent; |
| 59 class InspectorPageAgent; | 57 class InspectorPageAgent; |
| 60 class InspectorResourceAgent; | 58 class InspectorResourceAgent; |
| 61 class InspectorTimelineAgent; | 59 class InspectorTimelineAgent; |
| 62 class InspectorTracingAgent; | 60 class InspectorTracingAgent; |
| 63 class InspectorOverlay; | 61 class InspectorOverlay; |
| 64 class InstrumentingAgents; | 62 class InstrumentingAgents; |
| 65 class Page; | 63 class Page; |
| 66 class PlatformGestureEvent; | 64 class PlatformGestureEvent; |
| 67 class PlatformKeyboardEvent; | 65 class PlatformKeyboardEvent; |
| (...skipping 11 matching lines...) Expand all Loading... |
| 79 static PassOwnPtrWillBeRawPtr<InspectorController> create(Page*, InspectorCl
ient*); | 77 static PassOwnPtrWillBeRawPtr<InspectorController> create(Page*, InspectorCl
ient*); |
| 80 | 78 |
| 81 // Settings overrides. | 79 // Settings overrides. |
| 82 void setTextAutosizingEnabled(bool); | 80 void setTextAutosizingEnabled(bool); |
| 83 void setDeviceScaleAdjustment(float); | 81 void setDeviceScaleAdjustment(float); |
| 84 void setPreferCompositingToLCDTextEnabled(bool); | 82 void setPreferCompositingToLCDTextEnabled(bool); |
| 85 | 83 |
| 86 void willBeDestroyed(); | 84 void willBeDestroyed(); |
| 87 void registerModuleAgent(PassOwnPtrWillBeRawPtr<InspectorAgent>); | 85 void registerModuleAgent(PassOwnPtrWillBeRawPtr<InspectorAgent>); |
| 88 | 86 |
| 89 void setInspectorFrontendClient(InspectorFrontendClient*); | |
| 90 void didClearDocumentOfWindowObject(LocalFrame*); | |
| 91 void setInjectedScriptForOrigin(const String& origin, const String& source); | |
| 92 void showContextMenu(float x, float y, PassRefPtrWillBeRawPtr<ContextMenuPro
vider>); | |
| 93 | |
| 94 void dispatchMessageFromFrontend(const String& message); | 87 void dispatchMessageFromFrontend(const String& message); |
| 95 | 88 |
| 96 void connectFrontend(const String& hostId, InspectorFrontendChannel*); | 89 void connectFrontend(const String& hostId, InspectorFrontendChannel*); |
| 97 void disconnectFrontend(); | 90 void disconnectFrontend(); |
| 98 void reconnectFrontend(); | 91 void reconnectFrontend(); |
| 99 void reuseFrontend(const String& hostId, InspectorFrontendChannel*, const St
ring& inspectorStateCookie); | 92 void reuseFrontend(const String& hostId, InspectorFrontendChannel*, const St
ring& inspectorStateCookie); |
| 100 void setProcessId(long); | 93 void setProcessId(long); |
| 101 void setLayerTreeId(int); | 94 void setLayerTreeId(int); |
| 102 | 95 |
| 103 void inspect(Node*); | 96 void inspect(Node*); |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 153 RawPtrWillBeMember<InspectorDOMAgent> m_domAgent; | 146 RawPtrWillBeMember<InspectorDOMAgent> m_domAgent; |
| 154 RawPtrWillBeMember<InspectorPageAgent> m_pageAgent; | 147 RawPtrWillBeMember<InspectorPageAgent> m_pageAgent; |
| 155 RawPtrWillBeMember<InspectorTimelineAgent> m_timelineAgent; | 148 RawPtrWillBeMember<InspectorTimelineAgent> m_timelineAgent; |
| 156 RawPtrWillBeMember<InspectorCSSAgent> m_cssAgent; | 149 RawPtrWillBeMember<InspectorCSSAgent> m_cssAgent; |
| 157 RawPtrWillBeMember<InspectorResourceAgent> m_resourceAgent; | 150 RawPtrWillBeMember<InspectorResourceAgent> m_resourceAgent; |
| 158 RawPtrWillBeMember<InspectorLayerTreeAgent> m_layerTreeAgent; | 151 RawPtrWillBeMember<InspectorLayerTreeAgent> m_layerTreeAgent; |
| 159 RawPtrWillBeMember<InspectorTracingAgent> m_tracingAgent; | 152 RawPtrWillBeMember<InspectorTracingAgent> m_tracingAgent; |
| 160 RawPtrWillBeMember<InspectorAnimationAgent> m_animationAgent; | 153 RawPtrWillBeMember<InspectorAnimationAgent> m_animationAgent; |
| 161 | 154 |
| 162 RefPtrWillBeMember<InspectorBackendDispatcher> m_inspectorBackendDispatcher; | 155 RefPtrWillBeMember<InspectorBackendDispatcher> m_inspectorBackendDispatcher; |
| 163 InspectorFrontendClient* m_inspectorFrontendClient; | |
| 164 OwnPtr<InspectorFrontend> m_inspectorFrontend; | 156 OwnPtr<InspectorFrontend> m_inspectorFrontend; |
| 165 InspectorClient* m_inspectorClient; | 157 InspectorClient* m_inspectorClient; |
| 166 InspectorAgentRegistry m_agents; | 158 InspectorAgentRegistry m_agents; |
| 167 bool m_isUnderTest; | 159 bool m_isUnderTest; |
| 168 bool m_deferredAgentsInitialized; | 160 bool m_deferredAgentsInitialized; |
| 169 String m_hostId; | 161 String m_hostId; |
| 170 }; | 162 }; |
| 171 | 163 |
| 172 } | 164 } |
| 173 | 165 |
| 174 | 166 |
| 175 #endif // InspectorController_h | 167 #endif // InspectorController_h |
| OLD | NEW |