Commit 90995f1c authored by enne@chromium.org's avatar enne@chromium.org

Remove testRunner.display()

R=abarth@chromium.org
BUG=345027

Review URL: https://codereview.chromium.org/224683003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@262945 0039d316-1c4b-4281-b951-d872f2087c98
parent 2a39d1ab
......@@ -249,7 +249,6 @@ class TestRunnerBindings : public gin::Wrappable<TestRunnerBindings> {
bool WasMockSpeechRecognitionAborted();
void AddWebPageOverlay();
void RemoveWebPageOverlay();
void Display();
void DisplayAsync();
void DisplayAsyncThen(v8::Handle<v8::Function> callback);
......@@ -481,7 +480,6 @@ gin::ObjectTemplateBuilder TestRunnerBindings::GetObjectTemplateBuilder(
.SetMethod("addWebPageOverlay", &TestRunnerBindings::AddWebPageOverlay)
.SetMethod("removeWebPageOverlay",
&TestRunnerBindings::RemoveWebPageOverlay)
.SetMethod("display", &TestRunnerBindings::Display)
.SetMethod("displayAsync", &TestRunnerBindings::DisplayAsync)
.SetMethod("displayAsyncThen", &TestRunnerBindings::DisplayAsyncThen)
......@@ -1233,11 +1231,6 @@ void TestRunnerBindings::RemoveWebPageOverlay() {
runner_->RemoveWebPageOverlay();
}
void TestRunnerBindings::Display() {
if (runner_)
runner_->Display();
}
void TestRunnerBindings::DisplayAsync() {
if (runner_)
runner_->DisplayAsync();
......@@ -2584,10 +2577,6 @@ void TestRunner::RemoveWebPageOverlay() {
}
}
void TestRunner::Display() {
proxy_->display(base::Closure());
}
void TestRunner::DisplayAsync() {
proxy_->displayAsyncThen(base::Closure());
}
......
......@@ -505,7 +505,6 @@ class TestRunner : public ::WebTestRunner::WebTestRunner,
void AddWebPageOverlay();
void RemoveWebPageOverlay();
void Display();
void DisplayAsync();
void DisplayAsyncThen(v8::Handle<v8::Function> callback);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment