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

Unified Diff: Source/core/inspector/InjectedScriptManager.h

Issue 1149383005: DevTools: remove InjectedScriptHost.idl, implement the binding without generator (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 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 | « Source/core/inspector/InjectedScriptHost.idl ('k') | Source/core/inspector/InjectedScriptManager.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/inspector/InjectedScriptManager.h
diff --git a/Source/core/inspector/InjectedScriptManager.h b/Source/core/inspector/InjectedScriptManager.h
index af9c6e49ade888f8b1cdc89426cceeda49e06762..73ad0e85b035a2661cadd00c23834660268a7e31 100644
--- a/Source/core/inspector/InjectedScriptManager.h
+++ b/Source/core/inspector/InjectedScriptManager.h
@@ -48,19 +48,6 @@ class CORE_EXPORT InjectedScriptManager : public NoBaseWillBeGarbageCollectedFin
WTF_MAKE_NONCOPYABLE(InjectedScriptManager);
WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED(InjectedScriptManager);
public:
- class CallbackData final : public NoBaseWillBeGarbageCollectedFinalized<CallbackData> {
- public:
- static PassOwnPtrWillBeRawPtr<CallbackData> create(InjectedScriptManager*);
- void dispose();
- DECLARE_TRACE();
-
- ScopedPersistent<v8::Object> handle;
- RefPtrWillBeMember<InjectedScriptHost> host;
- RawPtrWillBeMember<InjectedScriptManager> injectedScriptManager;
- private:
- explicit CallbackData(InjectedScriptManager*);
- };
-
static PassOwnPtrWillBeRawPtr<InjectedScriptManager> createForPage();
static PassOwnPtrWillBeRawPtr<InjectedScriptManager> createForWorker();
~InjectedScriptManager();
@@ -81,9 +68,6 @@ public:
typedef bool (*InspectedStateAccessCheck)(ScriptState*);
InspectedStateAccessCheck inspectedStateAccessCheck() const { return m_inspectedStateAccessCheck; }
- static void setWeakCallback(const v8::WeakCallbackInfo<CallbackData>&);
- CallbackData* createCallbackData();
- void removeCallbackData(CallbackData*);
void setCustomObjectFormatterEnabled(bool);
private:
@@ -102,7 +86,6 @@ private:
InspectedStateAccessCheck m_inspectedStateAccessCheck;
typedef HashMap<RefPtr<ScriptState>, int> ScriptStateToId;
ScriptStateToId m_scriptStateToId;
- WillBeHeapHashSet<OwnPtrWillBeMember<CallbackData>> m_callbackDataSet;
bool m_customObjectFormatterEnabled;
};
« no previous file with comments | « Source/core/inspector/InjectedScriptHost.idl ('k') | Source/core/inspector/InjectedScriptManager.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698