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

Unified Diff: third_party/WebKit/Source/core/inspector/InspectorDOMDebuggerAgent.h

Issue 1924913002: [DevTools] Move API methods from V8DebuggerAgent to V8InspectorSession. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/inspector/InspectorDOMDebuggerAgent.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/inspector/InspectorDOMDebuggerAgent.h
diff --git a/third_party/WebKit/Source/core/inspector/InspectorDOMDebuggerAgent.h b/third_party/WebKit/Source/core/inspector/InspectorDOMDebuggerAgent.h
index 427c0ab409429e06f49f92255cb7886ab86642d5..82ff766b7a7e37f7f3e78661195fff959c42a6d5 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorDOMDebuggerAgent.h
+++ b/third_party/WebKit/Source/core/inspector/InspectorDOMDebuggerAgent.h
@@ -47,7 +47,7 @@ class Event;
class EventTarget;
class InspectorDOMAgent;
class Node;
-class V8DebuggerAgent;
+class V8InspectorSession;
class V8RuntimeAgent;
namespace protocol {
@@ -59,10 +59,9 @@ class CORE_EXPORT InspectorDOMDebuggerAgent final
, public protocol::Backend::DOMDebugger {
WTF_MAKE_NONCOPYABLE(InspectorDOMDebuggerAgent);
public:
- static InspectorDOMDebuggerAgent* create(v8::Isolate*, InspectorDOMAgent*, V8RuntimeAgent*, V8DebuggerAgent*);
-
static void eventListenersInfoForTarget(v8::Isolate*, v8::Local<v8::Value>, V8EventListenerInfoList& listeners);
+ InspectorDOMDebuggerAgent(v8::Isolate*, InspectorDOMAgent*, V8RuntimeAgent*, V8InspectorSession*);
~InspectorDOMDebuggerAgent() override;
DECLARE_VIRTUAL_TRACE();
@@ -96,8 +95,6 @@ public:
void didCommitLoadForLocalFrame(LocalFrame*) override;
private:
- InspectorDOMDebuggerAgent(v8::Isolate*, InspectorDOMAgent*, V8RuntimeAgent*, V8DebuggerAgent*);
-
void pauseOnNativeEventIfNeeded(PassOwnPtr<protocol::DictionaryValue> eventData, bool synchronous);
PassOwnPtr<protocol::DictionaryValue> preparePauseOnNativeEventData(const String& eventName, const String* targetName);
@@ -120,7 +117,7 @@ private:
v8::Isolate* m_isolate;
Member<InspectorDOMAgent> m_domAgent;
V8RuntimeAgent* m_runtimeAgent;
- V8DebuggerAgent* m_debuggerAgent;
+ V8InspectorSession* m_v8Session;
HeapHashMap<Member<Node>, uint32_t> m_domBreakpoints;
};
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/inspector/InspectorDOMDebuggerAgent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698