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

Unified Diff: content/shell/browser/shell_devtools_frontend.h

Issue 644723002: Content Shell: Introduce LayoutTestDevToolsFrontend. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/shell/browser/shell.cc ('k') | content/shell/browser/shell_devtools_frontend.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/browser/shell_devtools_frontend.h
diff --git a/content/shell/browser/shell_devtools_frontend.h b/content/shell/browser/shell_devtools_frontend.h
index 693997ef2de0c9deff3474e82862cb89148cd0c1..5fc3f5620ef53027f1b0216d8a823f4273086c4b 100644
--- a/content/shell/browser/shell_devtools_frontend.h
+++ b/content/shell/browser/shell_devtools_frontend.h
@@ -15,9 +15,6 @@
namespace content {
-GURL GetDevToolsPathAsURL(const std::string& settings,
- const std::string& frontend_url);
-
class RenderViewHost;
class Shell;
class WebContents;
@@ -27,9 +24,7 @@ class ShellDevToolsFrontend : public WebContentsObserver,
public DevToolsAgentHostClient {
public:
static ShellDevToolsFrontend* Show(WebContents* inspected_contents);
- static ShellDevToolsFrontend* Show(WebContents* inspected_contents,
- const std::string& settings,
- const std::string& frontend_url);
+
void Activate();
void Focus();
void InspectElementAt(int x, int y);
@@ -37,10 +32,11 @@ class ShellDevToolsFrontend : public WebContentsObserver,
Shell* frontend_shell() const { return frontend_shell_; }
- private:
+ protected:
ShellDevToolsFrontend(Shell* frontend_shell, DevToolsAgentHost* agent_host);
virtual ~ShellDevToolsFrontend();
+ private:
// WebContentsObserver overrides
virtual void RenderViewCreated(RenderViewHost* render_view_host) override;
virtual void DocumentOnLoadCompletedInMainFrame() override;
« no previous file with comments | « content/shell/browser/shell.cc ('k') | content/shell/browser/shell_devtools_frontend.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698