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

Side by Side Diff: content/browser/devtools/protocol/target_handler.h

Issue 2932703002: Revert of [DevTools] Show icon in top toolbar when Node target is available (Closed)
Patch Set: Created 3 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
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_BROWSER_DEVTOOLS_PROTOCOL_TARGET_HANDLER_H_ 5 #ifndef CONTENT_BROWSER_DEVTOOLS_PROTOCOL_TARGET_HANDLER_H_
6 #define CONTENT_BROWSER_DEVTOOLS_PROTOCOL_TARGET_HANDLER_H_ 6 #define CONTENT_BROWSER_DEVTOOLS_PROTOCOL_TARGET_HANDLER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 10
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 void WorkerCreated(ServiceWorkerDevToolsAgentHost* host) override; 87 void WorkerCreated(ServiceWorkerDevToolsAgentHost* host) override;
88 void WorkerReadyForInspection(ServiceWorkerDevToolsAgentHost* host) override; 88 void WorkerReadyForInspection(ServiceWorkerDevToolsAgentHost* host) override;
89 void WorkerVersionInstalled(ServiceWorkerDevToolsAgentHost* host) override; 89 void WorkerVersionInstalled(ServiceWorkerDevToolsAgentHost* host) override;
90 void WorkerVersionDoomed(ServiceWorkerDevToolsAgentHost* host) override; 90 void WorkerVersionDoomed(ServiceWorkerDevToolsAgentHost* host) override;
91 void WorkerDestroyed(ServiceWorkerDevToolsAgentHost* host) override; 91 void WorkerDestroyed(ServiceWorkerDevToolsAgentHost* host) override;
92 92
93 // DevToolsAgentHostObserver implementation. 93 // DevToolsAgentHostObserver implementation.
94 bool ShouldForceDevToolsAgentHostCreation() override; 94 bool ShouldForceDevToolsAgentHostCreation() override;
95 void DevToolsAgentHostCreated(DevToolsAgentHost* agent_host) override; 95 void DevToolsAgentHostCreated(DevToolsAgentHost* agent_host) override;
96 void DevToolsAgentHostDestroyed(DevToolsAgentHost* agent_host) override; 96 void DevToolsAgentHostDestroyed(DevToolsAgentHost* agent_host) override;
97 void DevToolsAgentHostAttached(DevToolsAgentHost* agent_host) override;
98 void DevToolsAgentHostDetached(DevToolsAgentHost* agent_host) override;
99 97
100 // DevToolsAgentHostClient implementation. 98 // DevToolsAgentHostClient implementation.
101 void DispatchProtocolMessage(DevToolsAgentHost* agent_host, 99 void DispatchProtocolMessage(DevToolsAgentHost* agent_host,
102 const std::string& message) override; 100 const std::string& message) override;
103 void AgentHostClosed(DevToolsAgentHost* agent_host, 101 void AgentHostClosed(DevToolsAgentHost* agent_host,
104 bool replaced_with_another_client) override; 102 bool replaced_with_another_client) override;
105 103
106 std::unique_ptr<Target::Frontend> frontend_; 104 std::unique_ptr<Target::Frontend> frontend_;
107 bool discover_; 105 bool discover_;
108 bool auto_attach_; 106 bool auto_attach_;
109 bool wait_for_debugger_on_start_; 107 bool wait_for_debugger_on_start_;
110 bool attach_to_frames_; 108 bool attach_to_frames_;
111 RenderFrameHostImpl* render_frame_host_; 109 RenderFrameHostImpl* render_frame_host_;
112 HostsMap attached_hosts_; 110 HostsMap attached_hosts_;
113 std::set<GURL> frame_urls_; 111 std::set<GURL> frame_urls_;
114 RawHostsMap reported_hosts_; 112 RawHostsMap reported_hosts_;
115 113
116 DISALLOW_COPY_AND_ASSIGN(TargetHandler); 114 DISALLOW_COPY_AND_ASSIGN(TargetHandler);
117 }; 115 };
118 116
119 } // namespace protocol 117 } // namespace protocol
120 } // namespace content 118 } // namespace content
121 119
122 #endif // CONTENT_BROWSER_DEVTOOLS_PROTOCOL_TARGET_HANDLER_H_ 120 #endif // CONTENT_BROWSER_DEVTOOLS_PROTOCOL_TARGET_HANDLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/devtools/devtools_window.cc ('k') | content/browser/devtools/protocol/target_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698