class InspectorLayerTreeAgent;
class InspectorPageAgent;
class InspectorTimelineAgent;
+class InspectorTracingAgent;
class InspectorOverlay;
class InspectorState;
class InstrumentingAgents;
class PlatformTouchEvent;
class Node;
-struct Highlight;
-
class InspectorController {
WTF_MAKE_NONCOPYABLE(InspectorController);
WTF_MAKE_FAST_ALLOCATED;
void setTextAutosizingEnabled(bool);
void setDeviceScaleAdjustment(float);
- void inspectedPageDestroyed();
+ void willBeDestroyed();
void registerModuleAgent(PassOwnPtr<InspectorAgent>);
void setInspectorFrontendClient(PassOwnPtr<InspectorFrontendClient>);
- void didClearWindowObjectInMainWorld(LocalFrame*);
+ void didClearDocumentOfWindowObject(LocalFrame*);
void setInjectedScriptForOrigin(const String& origin, const String& source);
void dispatchMessageFromFrontend(const String& message);
void inspect(Node*);
void drawHighlight(GraphicsContext&) const;
- void getHighlight(Highlight*) const;
- void hideHighlight();
- Node* highlightedNode() const;
bool handleGestureEvent(LocalFrame*, const PlatformGestureEvent&);
bool handleMouseEvent(LocalFrame*, const PlatformMouseEvent&);
void willComposite();
void didComposite();
- void processGPUEvent(double timestamp, int phase, bool foreign, size_t usedGPUMemoryBytes);
+ void processGPUEvent(double timestamp, int phase, bool foreign, uint64_t usedGPUMemoryBytes, uint64_t limitGPUMemoryBytes);
void scriptsEnabled(bool);
InspectorPageAgent* m_pageAgent;
InspectorTimelineAgent* m_timelineAgent;
InspectorLayerTreeAgent* m_layerTreeAgent;
+ InspectorTracingAgent* m_tracingAgent;
RefPtr<InspectorBackendDispatcher> m_inspectorBackendDispatcher;
OwnPtr<InspectorFrontendClient> m_inspectorFrontendClient;