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

Unified Diff: webkit/glue/webdevtoolsagent_impl.h

Issue 443022: DevTools: stub implementations for new methods in WebDevToolsAgent (Closed)
Patch Set: Whitespaces 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 | « no previous file | 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
diff --git a/webkit/glue/webdevtoolsagent_impl.h b/webkit/glue/webdevtoolsagent_impl.h
index 39851f0d02309d44233fd6325467126d849e2a2e..fa87ae9e4f32d8a3b0f47fba432d85e8f76e6efc 100644
--- a/webkit/glue/webdevtoolsagent_impl.h
+++ b/webkit/glue/webdevtoolsagent_impl.h
@@ -17,6 +17,7 @@
namespace WebCore {
class Document;
+class InspectorController;
class Node;
class ScriptState;
class String;
@@ -27,7 +28,10 @@ class WebDevToolsAgentClient;
class WebFrame;
class WebFrameImpl;
class WebString;
+class WebURLRequest;
+class WebURLResponse;
class WebViewImpl;
+struct WebURLError;
}
class BoundObject;
@@ -75,6 +79,20 @@ class WebDevToolsAgentImpl : public WebKit::WebDevToolsAgentPrivate,
virtual void inspectElementAt(const WebKit::WebPoint& point);
virtual void setRuntimeFeatureEnabled(const WebKit::WebString& feature,
bool enabled);
+ virtual void identifierForInitialRequest(
+ unsigned long resourceId,
+ WebKit::WebFrame* frame,
+ const WebKit::WebURLRequest& request);
+ virtual void willSendRequest(unsigned long resourceId,
+ const WebKit::WebURLRequest& request);
+ virtual void didReceiveData(unsigned long resourceId, int length);
+ virtual void didReceiveResponse(
+ unsigned long resourceId,
+ const WebKit::WebURLResponse& response);
+ virtual void didFinishLoading(unsigned long resourceId);
+ virtual void didFailLoading(
+ unsigned long resourceId,
+ const WebKit::WebURLError& error);
// DevToolsRpc::Delegate implementation.
void SendRpcMessage(const WebCore::String& class_name,
@@ -100,6 +118,8 @@ class WebDevToolsAgentImpl : public WebKit::WebDevToolsAgentPrivate,
void ResetInspectorFrontendProxy();
void setApuAgentEnabled(bool enabled);
+ WebCore::InspectorController* GetInspectorController();
+
// Creates InspectorBackend v8 wrapper in the utility context so that it's
// methods prototype is Function.protoype object from the utility context.
// Otherwise some useful methods defined on Function.prototype(such as bind)
« no previous file with comments | « no previous file | webkit/glue/webdevtoolsagent_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698