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

Side by Side Diff: chrome/browser/devtools/devtools_window.h

Issue 2230993004: [DevTools] Recognize node remote target type (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comments were addressed Created 4 years, 4 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_BROWSER_DEVTOOLS_DEVTOOLS_WINDOW_H_ 5 #ifndef CHROME_BROWSER_DEVTOOLS_DEVTOOLS_WINDOW_H_
6 #define CHROME_BROWSER_DEVTOOLS_DEVTOOLS_WINDOW_H_ 6 #define CHROME_BROWSER_DEVTOOLS_DEVTOOLS_WINDOW_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "chrome/browser/devtools/devtools_contents_resizing_strategy.h" 9 #include "chrome/browser/devtools/devtools_contents_resizing_strategy.h"
10 #include "chrome/browser/devtools/devtools_toggle_action.h" 10 #include "chrome/browser/devtools/devtools_toggle_action.h"
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 // 96 //
97 static void ToggleDevToolsWindow( 97 static void ToggleDevToolsWindow(
98 Browser* browser, 98 Browser* browser,
99 const DevToolsToggleAction& action); 99 const DevToolsToggleAction& action);
100 100
101 // External frontend is always undocked. 101 // External frontend is always undocked.
102 static void OpenExternalFrontend( 102 static void OpenExternalFrontend(
103 Profile* profile, 103 Profile* profile,
104 const std::string& frontend_uri, 104 const std::string& frontend_uri,
105 const scoped_refptr<content::DevToolsAgentHost>& agent_host, 105 const scoped_refptr<content::DevToolsAgentHost>& agent_host,
106 bool isWorker); 106 bool is_worker,
107 bool is_v8_only);
107 108
108 // Worker frontend is always undocked. 109 // Worker frontend is always undocked.
109 static void OpenDevToolsWindowForWorker( 110 static void OpenDevToolsWindowForWorker(
110 Profile* profile, 111 Profile* profile,
111 const scoped_refptr<content::DevToolsAgentHost>& worker_agent); 112 const scoped_refptr<content::DevToolsAgentHost>& worker_agent);
112 113
113 static void InspectElement(content::RenderFrameHost* inspected_frame_host, 114 static void InspectElement(content::RenderFrameHost* inspected_frame_host,
114 int x, 115 int x,
115 int y); 116 int y);
116 117
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 DevToolsWindow(Profile* profile, 241 DevToolsWindow(Profile* profile,
241 content::WebContents* main_web_contents, 242 content::WebContents* main_web_contents,
242 DevToolsUIBindings* bindings, 243 DevToolsUIBindings* bindings,
243 content::WebContents* inspected_web_contents, 244 content::WebContents* inspected_web_contents,
244 bool can_dock); 245 bool can_dock);
245 246
246 static DevToolsWindow* Create(Profile* profile, 247 static DevToolsWindow* Create(Profile* profile,
247 const GURL& frontend_url, 248 const GURL& frontend_url,
248 content::WebContents* inspected_web_contents, 249 content::WebContents* inspected_web_contents,
249 bool shared_worker_frontend, 250 bool shared_worker_frontend,
251 bool v8_only_frontend,
250 const std::string& remote_frontend, 252 const std::string& remote_frontend,
251 bool can_dock, 253 bool can_dock,
252 const std::string& settings); 254 const std::string& settings);
253 static GURL GetDevToolsURL(Profile* profile, 255 static GURL GetDevToolsURL(Profile* profile,
254 const GURL& base_url, 256 const GURL& base_url,
255 bool shared_worker_frontend, 257 bool shared_worker_frontend,
258 bool v8_only_frontend,
256 const std::string& remote_frontend, 259 const std::string& remote_frontend,
257 bool can_dock); 260 bool can_dock);
258 261
259 static DevToolsWindow* CreateDevToolsWindowForWorker(Profile* profile); 262 static DevToolsWindow* CreateDevToolsWindowForWorker(Profile* profile);
260 static void ToggleDevToolsWindow( 263 static void ToggleDevToolsWindow(
261 content::WebContents* web_contents, 264 content::WebContents* web_contents,
262 bool force_open, 265 bool force_open,
263 const DevToolsToggleAction& action, 266 const DevToolsToggleAction& action,
264 const std::string& settings); 267 const std::string& settings);
265 268
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
342 base::Closure ready_for_test_callback_; 345 base::Closure ready_for_test_callback_;
343 346
344 base::TimeTicks inspect_element_start_time_; 347 base::TimeTicks inspect_element_start_time_;
345 std::unique_ptr<DevToolsEventForwarder> event_forwarder_; 348 std::unique_ptr<DevToolsEventForwarder> event_forwarder_;
346 349
347 friend class DevToolsEventForwarder; 350 friend class DevToolsEventForwarder;
348 DISALLOW_COPY_AND_ASSIGN(DevToolsWindow); 351 DISALLOW_COPY_AND_ASSIGN(DevToolsWindow);
349 }; 352 };
350 353
351 #endif // CHROME_BROWSER_DEVTOOLS_DEVTOOLS_WINDOW_H_ 354 #endif // CHROME_BROWSER_DEVTOOLS_DEVTOOLS_WINDOW_H_
OLDNEW
« no previous file with comments | « chrome/browser/devtools/devtools_target_impl.cc ('k') | chrome/browser/devtools/devtools_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698