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

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

Issue 8635005: DevTools: remove support for legacy remote debugger (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed tests compilation Created 9 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
« no previous file with comments | « content/public/common/content_switches.cc ('k') | content/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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 CONTENT_RENDERER_DEVTOOLS_AGENT_H_ 5 #ifndef CONTENT_RENDERER_DEVTOOLS_AGENT_H_
6 #define CONTENT_RENDERER_DEVTOOLS_AGENT_H_ 6 #define CONTENT_RENDERER_DEVTOOLS_AGENT_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 25 matching lines...) Expand all
36 bool IsAttached(); 36 bool IsAttached();
37 37
38 private: 38 private:
39 friend class DevToolsAgentFilter; 39 friend class DevToolsAgentFilter;
40 40
41 // RenderView::Observer implementation. 41 // RenderView::Observer implementation.
42 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; 42 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
43 43
44 // WebDevToolsAgentClient implementation 44 // WebDevToolsAgentClient implementation
45 virtual void sendMessageToInspectorFrontend(const WebKit::WebString& data); 45 virtual void sendMessageToInspectorFrontend(const WebKit::WebString& data);
46 virtual void sendDebuggerOutput(const WebKit::WebString& data);
47 46
48 virtual int hostIdentifier(); 47 virtual int hostIdentifier();
49 virtual void saveAgentRuntimeState(const WebKit::WebString& state); 48 virtual void saveAgentRuntimeState(const WebKit::WebString& state);
50 virtual WebKit::WebDevToolsAgentClient::WebKitClientMessageLoop* 49 virtual WebKit::WebDevToolsAgentClient::WebKitClientMessageLoop*
51 createClientMessageLoop(); 50 createClientMessageLoop();
52 virtual bool exposeV8DebuggerProtocol();
53 virtual void clearBrowserCache(); 51 virtual void clearBrowserCache();
54 virtual void clearBrowserCookies(); 52 virtual void clearBrowserCookies();
55 53
56 void OnAttach(); 54 void OnAttach();
57 void OnReattach(const std::string& agent_state); 55 void OnReattach(const std::string& agent_state);
58 void OnDetach(); 56 void OnDetach();
59 void OnFrontendLoaded(); 57 void OnFrontendLoaded();
60 void OnDispatchOnInspectorBackend(const std::string& message); 58 void OnDispatchOnInspectorBackend(const std::string& message);
61 void OnInspectElement(int x, int y); 59 void OnInspectElement(int x, int y);
62 void OnSetApuAgentEnabled(bool enabled); 60 void OnSetApuAgentEnabled(bool enabled);
63 void OnNavigate(); 61 void OnNavigate();
64 void OnSetupDevToolsClient(); 62 void OnSetupDevToolsClient();
65 63
66 bool is_attached_; 64 bool is_attached_;
67 bool expose_v8_debugger_protocol_;
68 65
69 DISALLOW_COPY_AND_ASSIGN(DevToolsAgent); 66 DISALLOW_COPY_AND_ASSIGN(DevToolsAgent);
70 }; 67 };
71 68
72 #endif // CONTENT_RENDERER_DEVTOOLS_AGENT_H_ 69 #endif // CONTENT_RENDERER_DEVTOOLS_AGENT_H_
OLDNEW
« no previous file with comments | « content/public/common/content_switches.cc ('k') | content/renderer/devtools_agent.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698