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

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

Issue 730433003: [DevTools] Remote frontend is now embedded to iframe. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased, fixed test Created 6 years, 1 month 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
« no previous file with comments | « chrome/browser/android/dev_tools_server.cc ('k') | chrome/browser/devtools/devtools_window.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) 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 "chrome/browser/devtools/devtools_contents_resizing_strategy.h" 8 #include "chrome/browser/devtools/devtools_contents_resizing_strategy.h"
9 #include "chrome/browser/devtools/devtools_toggle_action.h" 9 #include "chrome/browser/devtools/devtools_toggle_action.h"
10 #include "chrome/browser/devtools/devtools_ui_bindings.h" 10 #include "chrome/browser/devtools/devtools_ui_bindings.h"
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 200
201 DevToolsWindow(Profile* profile, 201 DevToolsWindow(Profile* profile,
202 const GURL& frontend_url, 202 const GURL& frontend_url,
203 content::WebContents* inspected_web_contents, 203 content::WebContents* inspected_web_contents,
204 bool can_dock); 204 bool can_dock);
205 205
206 static DevToolsWindow* Create(Profile* profile, 206 static DevToolsWindow* Create(Profile* profile,
207 const GURL& frontend_url, 207 const GURL& frontend_url,
208 content::WebContents* inspected_web_contents, 208 content::WebContents* inspected_web_contents,
209 bool shared_worker_frontend, 209 bool shared_worker_frontend,
210 bool external_frontend, 210 const std::string& remote_frontend,
211 bool can_dock, 211 bool can_dock,
212 const std::string& settings); 212 const std::string& settings);
213 static GURL GetDevToolsURL(Profile* profile, 213 static GURL GetDevToolsURL(Profile* profile,
214 const GURL& base_url, 214 const GURL& base_url,
215 bool shared_worker_frontend, 215 bool shared_worker_frontend,
216 bool external_frontend, 216 const std::string& remote_frontend,
217 bool can_dock, 217 bool can_dock,
218 const std::string& settings); 218 const std::string& settings);
219 static DevToolsWindow* FindDevToolsWindow(content::DevToolsAgentHost*); 219 static DevToolsWindow* FindDevToolsWindow(content::DevToolsAgentHost*);
220 static DevToolsWindow* AsDevToolsWindow(content::WebContents*); 220 static DevToolsWindow* AsDevToolsWindow(content::WebContents*);
221 static DevToolsWindow* CreateDevToolsWindowForWorker(Profile* profile); 221 static DevToolsWindow* CreateDevToolsWindowForWorker(Profile* profile);
222 static DevToolsWindow* ToggleDevToolsWindow( 222 static DevToolsWindow* ToggleDevToolsWindow(
223 content::WebContents* web_contents, 223 content::WebContents* web_contents,
224 bool force_open, 224 bool force_open,
225 const DevToolsToggleAction& action, 225 const DevToolsToggleAction& action,
226 const std::string& settings); 226 const std::string& settings);
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
307 base::Closure close_callback_; 307 base::Closure close_callback_;
308 308
309 base::TimeTicks inspect_element_start_time_; 309 base::TimeTicks inspect_element_start_time_;
310 scoped_ptr<DevToolsEventForwarder> event_forwarder_; 310 scoped_ptr<DevToolsEventForwarder> event_forwarder_;
311 311
312 friend class DevToolsEventForwarder; 312 friend class DevToolsEventForwarder;
313 DISALLOW_COPY_AND_ASSIGN(DevToolsWindow); 313 DISALLOW_COPY_AND_ASSIGN(DevToolsWindow);
314 }; 314 };
315 315
316 #endif // CHROME_BROWSER_DEVTOOLS_DEVTOOLS_WINDOW_H_ 316 #endif // CHROME_BROWSER_DEVTOOLS_DEVTOOLS_WINDOW_H_
OLDNEW
« no previous file with comments | « chrome/browser/android/dev_tools_server.cc ('k') | chrome/browser/devtools/devtools_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698