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

Unified Diff: content/shell/webkit_test_runner_host.h

Issue 10860037: [content shell] rename layout_test_controller{,_host,_bindings}.* to webkit_test_runner (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: patch for landing Created 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/shell/webkit_test_runner_bindings.cc ('k') | content/shell/webkit_test_runner_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/webkit_test_runner_host.h
diff --git a/content/shell/layout_test_controller_host.h b/content/shell/webkit_test_runner_host.h
similarity index 72%
rename from content/shell/layout_test_controller_host.h
rename to content/shell/webkit_test_runner_host.h
index dfb30169e1e1df5c78da40b2bf44ffd05369e7c2..95b24dcabbd2d9ecf3c7836b1af6612bdf3f10a2 100644
--- a/content/shell/layout_test_controller_host.h
+++ b/content/shell/webkit_test_runner_host.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CONTENT_SHELL_LAYOUT_TEST_CONTROLLER_HOST_H_
-#define CONTENT_SHELL_LAYOUT_TEST_CONTROLLER_HOST_H_
+#ifndef CONTENT_SHELL_WEBKIT_TEST_RUNNER_HOST_H_
+#define CONTENT_SHELL_WEBKIT_TEST_RUNNER_HOST_H_
#include <map>
#include <string>
@@ -15,16 +15,16 @@ class SkBitmap;
namespace content {
-class LayoutTestControllerHost : public RenderViewHostObserver {
+class WebKitTestRunnerHost : public RenderViewHostObserver {
public:
- static LayoutTestControllerHost* FromRenderViewHost(
+ static WebKitTestRunnerHost* FromRenderViewHost(
RenderViewHost* render_view_host);
- // Initialize the LayoutTestControllerHost for a given test.
+ // Initialize the WebKitTestRunnerHost for a given test.
static void Init(const std::string& expected_pixel_hash);
- explicit LayoutTestControllerHost(RenderViewHost* render_view_host);
- virtual ~LayoutTestControllerHost();
+ explicit WebKitTestRunnerHost(RenderViewHost* render_view_host);
+ virtual ~WebKitTestRunnerHost();
bool should_stay_on_page_after_handling_before_unload() const {
return should_stay_on_page_after_handling_before_unload_;
@@ -53,7 +53,7 @@ class LayoutTestControllerHost : public RenderViewHostObserver {
void OnNotImplemented(const std::string& object_name,
const std::string& method_name);
- static std::map<RenderViewHost*, LayoutTestControllerHost*> controllers_;
+ static std::map<RenderViewHost*, WebKitTestRunnerHost*> controllers_;
static std::string expected_pixel_hash_;
bool captured_dump_;
@@ -66,9 +66,9 @@ class LayoutTestControllerHost : public RenderViewHostObserver {
base::CancelableClosure watchdog_;
- DISALLOW_COPY_AND_ASSIGN(LayoutTestControllerHost);
+ DISALLOW_COPY_AND_ASSIGN(WebKitTestRunnerHost);
};
} // namespace content
-#endif // CONTENT_SHELL_LAYOUT_TEST_CONTROLLER_HOST_H_
+#endif // CONTENT_SHELL_WEBKIT_TEST_RUNNER_HOST_H_
« no previous file with comments | « content/shell/webkit_test_runner_bindings.cc ('k') | content/shell/webkit_test_runner_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698