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

Side by Side Diff: webkit/glue/webdevtoolsagent_impl.h

Issue 492004: DevTools: Add support for inspector layout tests. Step 1. (Closed)
Patch Set: Created 11 years 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef WEBKIT_GLUE_WEBDEVTOOLSAGENT_IMPL_H_ 5 #ifndef WEBKIT_GLUE_WEBDEVTOOLSAGENT_IMPL_H_
6 #define WEBKIT_GLUE_WEBDEVTOOLSAGENT_IMPL_H_ 6 #define WEBKIT_GLUE_WEBDEVTOOLSAGENT_IMPL_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include <wtf/OwnPtr.h> 10 #include <wtf/OwnPtr.h>
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 virtual void attach(); 70 virtual void attach();
71 virtual void detach(); 71 virtual void detach();
72 virtual void didNavigate(); 72 virtual void didNavigate();
73 virtual void dispatchMessageFromFrontend( 73 virtual void dispatchMessageFromFrontend(
74 const WebKit::WebString& class_name, 74 const WebKit::WebString& class_name,
75 const WebKit::WebString& method_name, 75 const WebKit::WebString& method_name,
76 const WebKit::WebString& param1, 76 const WebKit::WebString& param1,
77 const WebKit::WebString& param2, 77 const WebKit::WebString& param2,
78 const WebKit::WebString& param3); 78 const WebKit::WebString& param3);
79 virtual void inspectElementAt(const WebKit::WebPoint& point); 79 virtual void inspectElementAt(const WebKit::WebPoint& point);
80 virtual void evaluateInWebInspector(long call_id,
81 const WebKit::WebString& script);
80 virtual void setRuntimeFeatureEnabled(const WebKit::WebString& feature, 82 virtual void setRuntimeFeatureEnabled(const WebKit::WebString& feature,
81 bool enabled); 83 bool enabled);
84 virtual void setTimelineProfilingEnabled(bool enable);
85
82 virtual void identifierForInitialRequest( 86 virtual void identifierForInitialRequest(
83 unsigned long resourceId, 87 unsigned long resourceId,
84 WebKit::WebFrame* frame, 88 WebKit::WebFrame* frame,
85 const WebKit::WebURLRequest& request); 89 const WebKit::WebURLRequest& request);
86 virtual void willSendRequest(unsigned long resourceId, 90 virtual void willSendRequest(unsigned long resourceId,
87 const WebKit::WebURLRequest& request); 91 const WebKit::WebURLRequest& request);
88 virtual void didReceiveData(unsigned long resourceId, int length); 92 virtual void didReceiveData(unsigned long resourceId, int length);
89 virtual void didReceiveResponse( 93 virtual void didReceiveResponse(
90 unsigned long resourceId, 94 unsigned long resourceId,
91 const WebKit::WebURLResponse& response); 95 const WebKit::WebURLResponse& response);
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 bool resource_tracking_was_enabled_; 143 bool resource_tracking_was_enabled_;
140 bool attached_; 144 bool attached_;
141 // TODO(pfeldman): This should not be needed once GC styles issue is fixed 145 // TODO(pfeldman): This should not be needed once GC styles issue is fixed
142 // for matching rules. 146 // for matching rules.
143 v8::Persistent<v8::Context> utility_context_; 147 v8::Persistent<v8::Context> utility_context_;
144 OwnPtr<BoundObject> devtools_agent_host_; 148 OwnPtr<BoundObject> devtools_agent_host_;
145 OwnPtr<WebCore::ScriptState> inspector_frontend_script_state_; 149 OwnPtr<WebCore::ScriptState> inspector_frontend_script_state_;
146 }; 150 };
147 151
148 #endif // WEBKIT_GLUE_WEBDEVTOOLSAGENT_IMPL_H_ 152 #endif // WEBKIT_GLUE_WEBDEVTOOLSAGENT_IMPL_H_
OLDNEW
« no previous file with comments | « webkit/glue/devtools/js/inspector_controller_impl.js ('k') | webkit/glue/webdevtoolsagent_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698