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

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

Issue 264077: Convert devtools interfaces over to using WebString.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « webkit/glue/webdevtoolsagent_delegate.h ('k') | webkit/glue/webdevtoolsagent_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 virtual void ExecuteVoidJavaScript(); 55 virtual void ExecuteVoidJavaScript();
56 virtual void GetResourceContent( 56 virtual void GetResourceContent(
57 int call_id, 57 int call_id,
58 int identifier); 58 int identifier);
59 virtual void SetApuAgentEnabled(bool enable); 59 virtual void SetApuAgentEnabled(bool enable);
60 60
61 // WebDevToolsAgent implementation. 61 // WebDevToolsAgent implementation.
62 virtual void Attach(); 62 virtual void Attach();
63 virtual void Detach(); 63 virtual void Detach();
64 virtual void OnNavigate(); 64 virtual void OnNavigate();
65 virtual void DispatchMessageFromClient(const std::string& class_name, 65 virtual void DispatchMessageFromClient(const WebKit::WebString& class_name,
66 const std::string& method_name, 66 const WebKit::WebString& method_name,
67 const std::string& param1, 67 const WebKit::WebString& param1,
68 const std::string& param2, 68 const WebKit::WebString& param2,
69 const std::string& param3); 69 const WebKit::WebString& param3);
70 virtual void InspectElement(int x, int y); 70 virtual void InspectElement(int x, int y);
71 71
72 // DevToolsRpc::Delegate implementation. 72 // DevToolsRpc::Delegate implementation.
73 void SendRpcMessage(const std::string& class_name, 73 void SendRpcMessage(const WebCore::String& class_name,
74 const std::string& method_name, 74 const WebCore::String& method_name,
75 const std::string& param1, 75 const WebCore::String& param1,
76 const std::string& param2, 76 const WebCore::String& param2,
77 const std::string& param3); 77 const WebCore::String& param3);
78 78
79 // Methods called by the glue. 79 // Methods called by the glue.
80 void SetMainFrameDocumentReady(bool ready); 80 void SetMainFrameDocumentReady(bool ready);
81 void DidCommitLoadForFrame(WebViewImpl* webview, 81 void DidCommitLoadForFrame(WebViewImpl* webview,
82 WebKit::WebFrame* frame, 82 WebKit::WebFrame* frame,
83 bool is_new_navigation); 83 bool is_new_navigation);
84 84
85 void WindowObjectCleared(WebFrameImpl* webframe); 85 void WindowObjectCleared(WebFrameImpl* webframe);
86 86
87 void ForceRepaint(); 87 void ForceRepaint();
(...skipping 28 matching lines...) Expand all
116 bool attached_; 116 bool attached_;
117 // TODO(pfeldman): This should not be needed once GC styles issue is fixed 117 // TODO(pfeldman): This should not be needed once GC styles issue is fixed
118 // for matching rules. 118 // for matching rules.
119 v8::Persistent<v8::Context> utility_context_; 119 v8::Persistent<v8::Context> utility_context_;
120 OwnPtr<BoundObject> devtools_agent_host_; 120 OwnPtr<BoundObject> devtools_agent_host_;
121 OwnPtr<WebCore::ScriptState> inspector_frontend_script_state_; 121 OwnPtr<WebCore::ScriptState> inspector_frontend_script_state_;
122 DISALLOW_COPY_AND_ASSIGN(WebDevToolsAgentImpl); 122 DISALLOW_COPY_AND_ASSIGN(WebDevToolsAgentImpl);
123 }; 123 };
124 124
125 #endif // WEBKIT_GLUE_WEBDEVTOOLSAGENT_IMPL_H_ 125 #endif // WEBKIT_GLUE_WEBDEVTOOLSAGENT_IMPL_H_
OLDNEW
« no previous file with comments | « webkit/glue/webdevtoolsagent_delegate.h ('k') | webkit/glue/webdevtoolsagent_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698