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

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

Issue 2939173002: Reland 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;
97 99
98 // DevToolsAgentHostClient implementation. 100 // DevToolsAgentHostClient implementation.
99 void DispatchProtocolMessage(DevToolsAgentHost* agent_host, 101 void DispatchProtocolMessage(DevToolsAgentHost* agent_host,
100 const std::string& message) override; 102 const std::string& message) override;
101 void AgentHostClosed(DevToolsAgentHost* agent_host, 103 void AgentHostClosed(DevToolsAgentHost* agent_host,
102 bool replaced_with_another_client) override; 104 bool replaced_with_another_client) override;
103 105
104 std::unique_ptr<Target::Frontend> frontend_; 106 std::unique_ptr<Target::Frontend> frontend_;
105 bool discover_; 107 bool discover_;
106 bool auto_attach_; 108 bool auto_attach_;
107 bool wait_for_debugger_on_start_; 109 bool wait_for_debugger_on_start_;
108 bool attach_to_frames_; 110 bool attach_to_frames_;
109 RenderFrameHostImpl* render_frame_host_; 111 RenderFrameHostImpl* render_frame_host_;
110 HostsMap attached_hosts_; 112 HostsMap attached_hosts_;
111 std::set<GURL> frame_urls_; 113 std::set<GURL> frame_urls_;
112 RawHostsMap reported_hosts_; 114 RawHostsMap reported_hosts_;
113 115
114 DISALLOW_COPY_AND_ASSIGN(TargetHandler); 116 DISALLOW_COPY_AND_ASSIGN(TargetHandler);
115 }; 117 };
116 118
117 } // namespace protocol 119 } // namespace protocol
118 } // namespace content 120 } // namespace content
119 121
120 #endif // CONTENT_BROWSER_DEVTOOLS_PROTOCOL_TARGET_HANDLER_H_ 122 #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