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

Unified Diff: content/shell/webkit_test_runner_bindings.cc

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: 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
Index: content/shell/webkit_test_runner_bindings.cc
diff --git a/content/shell/layout_test_controller_bindings.cc b/content/shell/webkit_test_runner_bindings.cc
similarity index 90%
rename from content/shell/layout_test_controller_bindings.cc
rename to content/shell/webkit_test_runner_bindings.cc
index bd97e4d535a85ac07af7459b3b1f03548c744d2f..e91f162d2c9d3113cae886f8ef98310b269be431 100644
--- a/content/shell/layout_test_controller_bindings.cc
+++ b/content/shell/webkit_test_runner_bindings.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "content/shell/layout_test_controller_bindings.h"
+#include "content/shell/webkit_test_runner_bindings.h"
#include "base/string_piece.h"
#include "content/public/renderer/render_view.h"
@@ -116,21 +116,21 @@ v8::Handle<v8::Value> NotImplemented(const v8::Arguments& args) {
} // namespace
-LayoutTestControllerBindings::LayoutTestControllerBindings()
- : v8::Extension("layout_test_controller.js",
+WebKitTestRunnerBindings::WebKitTestRunnerBindings()
+ : v8::Extension("webkit_test_runner.js",
GetStringResource(
- IDR_CONTENT_SHELL_LAYOUT_TEST_CONTROLLER_JS).data(),
+ IDR_CONTENT_SHELL_WEBKIT_TEST_RUNNER_JS).data(),
0, // num dependencies.
NULL, // dependencies array.
GetStringResource(
- IDR_CONTENT_SHELL_LAYOUT_TEST_CONTROLLER_JS).size()) {
+ IDR_CONTENT_SHELL_WEBKIT_TEST_RUNNER_JS).size()) {
}
-LayoutTestControllerBindings::~LayoutTestControllerBindings() {
+WebKitTestRunnerBindings::~WebKitTestRunnerBindings() {
}
v8::Handle<v8::FunctionTemplate>
-LayoutTestControllerBindings::GetNativeFunction(v8::Handle<v8::String> name) {
+WebKitTestRunnerBindings::GetNativeFunction(v8::Handle<v8::String> name) {
if (name->Equals(v8::String::New("NotifyDone")))
return v8::FunctionTemplate::New(NotifyDone);
if (name->Equals(v8::String::New("SetDumpAsText")))

Powered by Google App Engine
This is Rietveld 408576698