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

Unified Diff: inspector/InspectorController.h

Issue 542055: DevTools: injected script per context(WebCore part) (Closed) Base URL: http://svn.webkit.org/repository/webkit/trunk/WebCore/
Patch Set: '' Created 10 years, 11 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 | « inspector/InspectorBackend.idl ('k') | inspector/InspectorController.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: inspector/InspectorController.h
===================================================================
--- inspector/InspectorController.h (revision 53180)
+++ inspector/InspectorController.h (working copy)
@@ -100,7 +100,6 @@
typedef HashMap<RefPtr<Frame>, ResourcesMap*> FrameResourcesMap;
typedef HashMap<int, RefPtr<InspectorDatabaseResource> > DatabaseResourcesMap;
typedef HashMap<int, RefPtr<InspectorDOMStorageResource> > DOMStorageResourcesMap;
- typedef HashMap<String, Vector<String> > ObjectGroupsMap;
typedef enum {
CurrentPanel,
@@ -249,6 +248,8 @@
void evaluateForTestInFrontend(long callId, const String& script);
+ ScriptObject injectedScriptForNodeId(long id);
+
private:
static const char* const FrontendSettingsSettingName;
friend class InspectorBackend;
@@ -264,16 +265,6 @@
InspectorDOMAgent* domAgent() { return m_domAgent.get(); }
void releaseDOMAgent();
- friend class InspectorFrontend;
- // Following are used from InspectorFrontend only. We don't want to expose them to the
- // rest of the InspectorController clients.
- // TODO: extract these into a separate interface.
- ScriptValue wrapObject(const ScriptValue& object, const String& objectGroup);
- ScriptValue unwrapObject(const String& objectId);
- void releaseWrapperObjectGroup(const String& objectGroup);
-
- void resetInjectedScript();
-
void deleteCookie(const String& cookieName, const String& domain);
#if ENABLE(JAVASCRIPT_DEBUGGER)
@@ -321,7 +312,6 @@
OwnPtr<InspectorFrontend> m_frontend;
RefPtr<InspectorDOMAgent> m_domAgent;
OwnPtr<InspectorTimelineAgent> m_timelineAgent;
- ScriptObject m_injectedScriptObj;
Page* m_page;
RefPtr<Node> m_nodeToFocus;
RefPtr<InspectorResource> m_mainResource;
@@ -350,9 +340,6 @@
RefPtr<InspectorBackend> m_inspectorBackend;
RefPtr<InspectorFrontendHost> m_inspectorFrontendHost;
RefPtr<InjectedScriptHost> m_injectedScriptHost;
- HashMap<String, ScriptValue> m_idToWrappedObject;
- ObjectGroupsMap m_objectGroups;
- long m_lastBoundObjectId;
typedef HashMap<String, String> Settings;
mutable Settings m_settings;
« no previous file with comments | « inspector/InspectorBackend.idl ('k') | inspector/InspectorController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698