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

Unified Diff: components/test_runner/test_runner.cc

Issue 1381003004: Better distinguish didFinishLoad and didStopLoading (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
Index: components/test_runner/test_runner.cc
diff --git a/components/test_runner/test_runner.cc b/components/test_runner/test_runner.cc
index e09817ad742f5cd1b74ebaee8541f3e029a574a3..ff1c837825a416d44eee2ce4f71618707763a6c6 100644
--- a/components/test_runner/test_runner.cc
+++ b/components/test_runner/test_runner.cc
@@ -247,7 +247,6 @@ class TestRunnerBindings : public gin::Wrappable<TestRunnerBindings> {
void SetAllowRunningOfInsecureContent(bool allowed);
void DumpPermissionClientCallbacks();
void DumpWindowStatusChanges();
- void DumpProgressFinishedCallback();
void DumpSpellCheckCallbacks();
void DumpBackForwardList();
void DumpSelectionRect();
@@ -505,8 +504,6 @@ gin::ObjectTemplateBuilder TestRunnerBindings::GetObjectTemplateBuilder(
&TestRunnerBindings::DumpPermissionClientCallbacks)
.SetMethod("dumpWindowStatusChanges",
&TestRunnerBindings::DumpWindowStatusChanges)
- .SetMethod("dumpProgressFinishedCallback",
- &TestRunnerBindings::DumpProgressFinishedCallback)
.SetMethod("dumpSpellCheckCallbacks",
&TestRunnerBindings::DumpSpellCheckCallbacks)
.SetMethod("dumpBackForwardList",
@@ -1209,11 +1206,6 @@ void TestRunnerBindings::DumpWindowStatusChanges() {
runner_->DumpWindowStatusChanges();
}
-void TestRunnerBindings::DumpProgressFinishedCallback() {
- if (runner_)
- runner_->DumpProgressFinishedCallback();
-}
-
void TestRunnerBindings::DumpSpellCheckCallbacks() {
if (runner_)
runner_->DumpSpellCheckCallbacks();
@@ -1710,7 +1702,6 @@ void TestRunner::Reset() {
dump_resource_request_callbacks_ = false;
dump_resource_response_mime_types_ = false;
dump_window_status_changes_ = false;
- dump_progress_finished_callback_ = false;
dump_spell_check_callbacks_ = false;
dump_back_forward_list_ = false;
dump_selection_rect_ = false;
@@ -1884,10 +1875,6 @@ bool TestRunner::shouldDumpStatusCallbacks() const {
return dump_window_status_changes_;
}
-bool TestRunner::shouldDumpProgressFinishedCallback() const {
- return dump_progress_finished_callback_;
-}
-
bool TestRunner::shouldDumpSpellCheckCallbacks() const {
return dump_spell_check_callbacks_;
}
@@ -2735,10 +2722,6 @@ void TestRunner::DumpWindowStatusChanges() {
dump_window_status_changes_ = true;
}
-void TestRunner::DumpProgressFinishedCallback() {
- dump_progress_finished_callback_ = true;
-}
-
void TestRunner::DumpSpellCheckCallbacks() {
dump_spell_check_callbacks_ = true;
}

Powered by Google App Engine
This is Rietveld 408576698