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

Unified Diff: content/shell/browser/layout_test/layout_test_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/BUILD.gn ('k') | content/shell/browser/layout_test/layout_test_devtools_frontend.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/browser/layout_test/layout_test_devtools_frontend.h
diff --git a/content/shell/browser/layout_test/layout_test_devtools_frontend.h b/content/shell/browser/layout_test/layout_test_devtools_frontend.h
new file mode 100644
index 0000000000000000000000000000000000000000..3c6cb1cdfb1e61ccee8235907ad73fd1c0c6cf24
--- /dev/null
+++ b/content/shell/browser/layout_test/layout_test_devtools_frontend.h
@@ -0,0 +1,40 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_DEVTOOLS_FRONTEND_H_
+#define CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_DEVTOOLS_FRONTEND_H_
+
+#include "base/basictypes.h"
+#include "base/compiler_specific.h"
+#include "content/shell/browser/shell_devtools_frontend.h"
+
+namespace content {
+
+class RenderViewHost;
+class Shell;
+class WebContents;
+
+class LayoutTestDevToolsFrontend : public ShellDevToolsFrontend {
+ public:
+ static LayoutTestDevToolsFrontend* Show(WebContents* inspected_contents,
+ const std::string& settings,
+ const std::string& frontend_url);
+
+ static GURL GetDevToolsPathAsURL(const std::string& settings,
+ const std::string& frontend_url);
+
+ private:
+ LayoutTestDevToolsFrontend(Shell* frontend_shell,
+ DevToolsAgentHost* agent_host);
+ virtual ~LayoutTestDevToolsFrontend();
+
+ // WebContentsObserver implementation.
+ virtual void RenderProcessGone(base::TerminationStatus status) override;
+
+ DISALLOW_COPY_AND_ASSIGN(LayoutTestDevToolsFrontend);
+};
+
+} // namespace content
+
+#endif // CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_DEVTOOLS_FRONTEND_H_
« no previous file with comments | « content/shell/BUILD.gn ('k') | content/shell/browser/layout_test/layout_test_devtools_frontend.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698