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

Unified Diff: webkit/glue/webdevtoolsagent_impl.h

Issue 343075: DevTools: support cross-navigation instrumentation. (Closed)
Patch Set: '' Created 11 years, 1 month 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 | « webkit/glue/devtools/js/inject_dispatch.js ('k') | webkit/glue/webdevtoolsagent_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/webdevtoolsagent_impl.h
===================================================================
--- webkit/glue/webdevtoolsagent_impl.h (revision 30693)
+++ webkit/glue/webdevtoolsagent_impl.h (working copy)
@@ -26,6 +26,7 @@
class WebDevToolsAgentClient;
class WebFrame;
class WebFrameImpl;
+class WebString;
class WebViewImpl;
}
@@ -67,7 +68,8 @@
const WebKit::WebString& param2,
const WebKit::WebString& param3);
virtual void inspectElementAt(const WebKit::WebPoint& point);
- virtual void setApuAgentEnabled(bool enable);
+ virtual void setRuntimeFeatureEnabled(const WebKit::WebString& feature,
+ bool enabled);
// DevToolsRpc::Delegate implementation.
void SendRpcMessage(const WebCore::String& class_name,
@@ -91,11 +93,15 @@
private:
static v8::Handle<v8::Value> JsDispatchOnClient(const v8::Arguments& args);
static v8::Handle<v8::Value> JsDispatchToApu(const v8::Arguments& args);
+ static v8::Handle<v8::Value> JsOnRuntimeFeatureStateChanged(
+ const v8::Arguments& args);
+
void DisposeUtilityContext();
void UnhideResourcesPanelIfNecessary();
void InitDevToolsAgentHost();
void ResetInspectorFrontendProxy();
+ void setApuAgentEnabled(bool enabled);
// Creates InspectorBackend v8 wrapper in the utility context so that it's
// methods prototype is Function.protoype object from the utility context.
« no previous file with comments | « webkit/glue/devtools/js/inject_dispatch.js ('k') | webkit/glue/webdevtoolsagent_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698