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

Unified Diff: third_party/WebKit/Source/platform/v8_inspector/InjectedScriptHost.h

Issue 1921413002: [DevTools] Move inspect and copy to native (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
Index: third_party/WebKit/Source/platform/v8_inspector/InjectedScriptHost.h
diff --git a/third_party/WebKit/Source/platform/v8_inspector/InjectedScriptHost.h b/third_party/WebKit/Source/platform/v8_inspector/InjectedScriptHost.h
index 2f4ccd2a98d4415494fca289758417ba9d018c1f..1f1b820cad3e9d679cc5fa1ef492dd55354db253 100644
--- a/third_party/WebKit/Source/platform/v8_inspector/InjectedScriptHost.h
+++ b/third_party/WebKit/Source/platform/v8_inspector/InjectedScriptHost.h
@@ -30,13 +30,11 @@
#ifndef InjectedScriptHost_h
#define InjectedScriptHost_h
-#include "platform/inspector_protocol/Collections.h"
#include "wtf/PassOwnPtr.h"
#include <v8.h>
namespace blink {
-class V8InspectorSessionImpl;
class V8DebuggerImpl;
namespace protocol {
@@ -50,11 +48,9 @@ class Value;
class InjectedScriptHost {
public:
- static PassOwnPtr<InjectedScriptHost> create(V8DebuggerImpl*, V8InspectorSessionImpl*);
+ static PassOwnPtr<InjectedScriptHost> create(V8DebuggerImpl*);
~InjectedScriptHost();
- void inspectImpl(PassOwnPtr<protocol::Value> objectToInspect, PassOwnPtr<protocol::Value> hints);
-
V8DebuggerImpl* debugger() { return m_debugger; }
// FIXME: store this template in per isolate data
@@ -62,10 +58,9 @@ public:
v8::Local<v8::FunctionTemplate> wrapperTemplate(v8::Isolate* isolate) { return v8::Local<v8::FunctionTemplate>::New(isolate, m_wrapperTemplate); }
private:
- InjectedScriptHost(V8DebuggerImpl*, V8InspectorSessionImpl*);
+ explicit InjectedScriptHost(V8DebuggerImpl*);
V8DebuggerImpl* m_debugger;
- V8InspectorSessionImpl* m_session;
v8::Global<v8::FunctionTemplate> m_wrapperTemplate;
};

Powered by Google App Engine
This is Rietveld 408576698