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

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

Issue 486011: DevTools: Add support for inspector layout tests. Step 1. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
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 | Annotate | Revision Log
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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 virtual void didNavigate(); 73 virtual void didNavigate();
74 virtual void dispatchMessageFromFrontend( 74 virtual void dispatchMessageFromFrontend(
75 const WebKit::WebString& class_name, 75 const WebKit::WebString& class_name,
76 const WebKit::WebString& method_name, 76 const WebKit::WebString& method_name,
77 const WebKit::WebString& param1, 77 const WebKit::WebString& param1,
78 const WebKit::WebString& param2, 78 const WebKit::WebString& param2,
79 const WebKit::WebString& param3); 79 const WebKit::WebString& param3);
80 virtual void dispatchMessageFromFrontend( 80 virtual void dispatchMessageFromFrontend(
81 const WebKit::WebDevToolsMessageData& data); 81 const WebKit::WebDevToolsMessageData& data);
82 virtual void inspectElementAt(const WebKit::WebPoint& point); 82 virtual void inspectElementAt(const WebKit::WebPoint& point);
83 virtual void evaluateInWebInspector(long call_id,
84 const WebKit::WebString& script);
83 virtual void setRuntimeFeatureEnabled(const WebKit::WebString& feature, 85 virtual void setRuntimeFeatureEnabled(const WebKit::WebString& feature,
84 bool enabled); 86 bool enabled);
87 virtual void setTimelineProfilingEnabled(bool enable);
88
85 virtual void identifierForInitialRequest( 89 virtual void identifierForInitialRequest(
86 unsigned long resourceId, 90 unsigned long resourceId,
87 WebKit::WebFrame* frame, 91 WebKit::WebFrame* frame,
88 const WebKit::WebURLRequest& request); 92 const WebKit::WebURLRequest& request);
89 virtual void willSendRequest(unsigned long resourceId, 93 virtual void willSendRequest(unsigned long resourceId,
90 const WebKit::WebURLRequest& request); 94 const WebKit::WebURLRequest& request);
91 virtual void didReceiveData(unsigned long resourceId, int length); 95 virtual void didReceiveData(unsigned long resourceId, int length);
92 virtual void didReceiveResponse( 96 virtual void didReceiveResponse(
93 unsigned long resourceId, 97 unsigned long resourceId,
94 const WebKit::WebURLResponse& response); 98 const WebKit::WebURLResponse& response);
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 bool resource_tracking_was_enabled_; 146 bool resource_tracking_was_enabled_;
143 bool attached_; 147 bool attached_;
144 // TODO(pfeldman): This should not be needed once GC styles issue is fixed 148 // TODO(pfeldman): This should not be needed once GC styles issue is fixed
145 // for matching rules. 149 // for matching rules.
146 v8::Persistent<v8::Context> utility_context_; 150 v8::Persistent<v8::Context> utility_context_;
147 OwnPtr<BoundObject> devtools_agent_host_; 151 OwnPtr<BoundObject> devtools_agent_host_;
148 OwnPtr<WebCore::ScriptState> inspector_frontend_script_state_; 152 OwnPtr<WebCore::ScriptState> inspector_frontend_script_state_;
149 }; 153 };
150 154
151 #endif // WEBKIT_GLUE_WEBDEVTOOLSAGENT_IMPL_H_ 155 #endif // WEBKIT_GLUE_WEBDEVTOOLSAGENT_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698