Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(483)

Unified Diff: third_party/WebKit/Source/web/InspectorOverlay.h

Issue 1967933002: [DevTools] Dispatch messages to V8InspectorSession directly. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@1936593002
Patch Set: rebased Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/web/InspectorOverlay.h
diff --git a/third_party/WebKit/Source/web/InspectorOverlay.h b/third_party/WebKit/Source/web/InspectorOverlay.h
index 391ed8d84800ddb5c9cff3d5e192dfa9f580f649..6cabc376fcaa8a4f1a42ce39f2820498e3415f6a 100644
--- a/third_party/WebKit/Source/web/InspectorOverlay.h
+++ b/third_party/WebKit/Source/web/InspectorOverlay.h
@@ -31,7 +31,6 @@
#include "core/inspector/InspectorDOMAgent.h"
#include "core/inspector/InspectorOverlayHost.h"
-#include "core/inspector/InspectorProfilerAgent.h"
#include "platform/Timer.h"
#include "platform/geometry/FloatQuad.h"
#include "platform/geometry/LayoutRect.h"
@@ -52,11 +51,11 @@ class LocalFrame;
class GraphicsContext;
class GraphicsLayer;
class InspectorCSSAgent;
-class InspectorDebuggerAgent;
class LayoutEditor;
class Node;
class Page;
class PageOverlay;
+class V8InspectorSession;
class WebViewImpl;
namespace protocol {
@@ -77,7 +76,7 @@ public:
~InspectorOverlay() override;
DECLARE_TRACE();
- void init(InspectorCSSAgent*, InspectorDebuggerAgent*, InspectorDOMAgent*);
+ void init(InspectorCSSAgent*, V8InspectorSession*, InspectorDOMAgent*);
void clear();
void suspend();
@@ -158,7 +157,7 @@ private:
int m_suspendCount;
bool m_inLayout;
bool m_needsUpdate;
- Member<InspectorDebuggerAgent> m_debuggerAgent;
+ V8InspectorSession* m_v8Session;
Member<InspectorDOMAgent> m_domAgent;
Member<InspectorCSSAgent> m_cssAgent;
Member<LayoutEditor> m_layoutEditor;

Powered by Google App Engine
This is Rietveld 408576698