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

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

Issue 115862: DevTools: pass class and method name as arguments to RPC messages (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 6 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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 int node_id, 51 int node_id,
52 const WebCore::String& json_args); 52 const WebCore::String& json_args);
53 virtual void ClearConsoleMessages(); 53 virtual void ClearConsoleMessages();
54 virtual void GetResourceContent( 54 virtual void GetResourceContent(
55 int call_id, 55 int call_id,
56 int identifier); 56 int identifier);
57 57
58 // WebDevToolsAgent implementation. 58 // WebDevToolsAgent implementation.
59 virtual void Attach(); 59 virtual void Attach();
60 virtual void Detach(); 60 virtual void Detach();
61 virtual void DispatchMessageFromClient(const std::string& raw_msg); 61 virtual void DispatchMessageFromClient(const std::string& class_name,
62 const std::string& method_name,
63 const std::string& raw_msg);
62 virtual void InspectElement(int x, int y); 64 virtual void InspectElement(int x, int y);
63 65
64 // DevToolsRpc::Delegate implementation. 66 // DevToolsRpc::Delegate implementation.
65 void SendRpcMessage(const std::string& raw_msg); 67 void SendRpcMessage(const std::string& class_name,
68 const std::string& method_name,
69 const std::string& raw_msg);
66 70
67 // Methods called by the glue. 71 // Methods called by the glue.
68 void SetMainFrameDocumentReady(bool ready); 72 void SetMainFrameDocumentReady(bool ready);
69 void DidCommitLoadForFrame(WebViewImpl* webview, 73 void DidCommitLoadForFrame(WebViewImpl* webview,
70 WebFrame* frame, 74 WebFrame* frame,
71 bool is_new_navigation); 75 bool is_new_navigation);
72 76
73 void WindowObjectCleared(WebFrameImpl* webframe); 77 void WindowObjectCleared(WebFrameImpl* webframe);
74 78
75 void ForceRepaint(); 79 void ForceRepaint();
(...skipping 14 matching lines...) Expand all
90 OwnPtr<DomAgentImpl> dom_agent_impl_; 94 OwnPtr<DomAgentImpl> dom_agent_impl_;
91 bool attached_; 95 bool attached_;
92 // TODO(pfeldman): This should not be needed once GC styles issue is fixed 96 // TODO(pfeldman): This should not be needed once GC styles issue is fixed
93 // for matching rules. 97 // for matching rules.
94 v8::Persistent<v8::Context> utility_context_; 98 v8::Persistent<v8::Context> utility_context_;
95 OwnPtr<BoundObject> web_inspector_stub_; 99 OwnPtr<BoundObject> web_inspector_stub_;
96 DISALLOW_COPY_AND_ASSIGN(WebDevToolsAgentImpl); 100 DISALLOW_COPY_AND_ASSIGN(WebDevToolsAgentImpl);
97 }; 101 };
98 102
99 #endif // WEBKIT_GLUE_WEBDEVTOOLSAGENT_IMPL_H_ 103 #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