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

Side by Side Diff: chrome/renderer/devtools_agent.h

Issue 2609001: Add implementation for WebDevToolsAgentClient::debuggerScriptSource.... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 10 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 | « no previous file | chrome/renderer/devtools_agent.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 CHROME_RENDERER_DEVTOOLS_AGENT_H_ 5 #ifndef CHROME_RENDERER_DEVTOOLS_AGENT_H_
6 #define CHROME_RENDERER_DEVTOOLS_AGENT_H_ 6 #define CHROME_RENDERER_DEVTOOLS_AGENT_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 29 matching lines...) Expand all
40 // WebDevToolsAgentClient implementation 40 // WebDevToolsAgentClient implementation
41 virtual void sendMessageToFrontend( 41 virtual void sendMessageToFrontend(
42 const WebKit::WebDevToolsMessageData& data); 42 const WebKit::WebDevToolsMessageData& data);
43 43
44 virtual int hostIdentifier(); 44 virtual int hostIdentifier();
45 virtual void forceRepaint(); 45 virtual void forceRepaint();
46 virtual void runtimeFeatureStateChanged(const WebKit::WebString& feature, 46 virtual void runtimeFeatureStateChanged(const WebKit::WebString& feature,
47 bool enabled); 47 bool enabled);
48 virtual WebKit::WebCString injectedScriptSource(); 48 virtual WebKit::WebCString injectedScriptSource();
49 virtual WebKit::WebCString injectedScriptDispatcherSource(); 49 virtual WebKit::WebCString injectedScriptDispatcherSource();
50 virtual WebKit::WebCString debuggerScriptSource();
50 virtual WebKit::WebDevToolsAgentClient::WebKitClientMessageLoop* 51 virtual WebKit::WebDevToolsAgentClient::WebKitClientMessageLoop*
51 createClientMessageLoop(); 52 createClientMessageLoop();
52 virtual bool exposeV8DebuggerProtocol(); 53 virtual bool exposeV8DebuggerProtocol();
53 54
54 // Returns agent instance for its host id. 55 // Returns agent instance for its host id.
55 static DevToolsAgent* FromHostId(int host_id); 56 static DevToolsAgent* FromHostId(int host_id);
56 57
57 RenderView* render_view() { return render_view_; } 58 RenderView* render_view() { return render_view_; }
58 59
59 WebKit::WebDevToolsAgent* GetWebAgent(); 60 WebKit::WebDevToolsAgent* GetWebAgent();
(...skipping 10 matching lines...) Expand all
70 static std::map<int, DevToolsAgent*> agent_for_routing_id_; 71 static std::map<int, DevToolsAgent*> agent_for_routing_id_;
71 72
72 int routing_id_; // View routing id that we can access from IO thread. 73 int routing_id_; // View routing id that we can access from IO thread.
73 RenderView* render_view_; 74 RenderView* render_view_;
74 bool expose_v8_debugger_protocol_; 75 bool expose_v8_debugger_protocol_;
75 76
76 DISALLOW_COPY_AND_ASSIGN(DevToolsAgent); 77 DISALLOW_COPY_AND_ASSIGN(DevToolsAgent);
77 }; 78 };
78 79
79 #endif // CHROME_RENDERER_DEVTOOLS_AGENT_H_ 80 #endif // CHROME_RENDERER_DEVTOOLS_AGENT_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/renderer/devtools_agent.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698