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

Unified Diff: headless/lib/browser/headless_web_contents_impl.cc

Issue 1906423003: headless: Remove old load observer API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update headless shell. Created 4 years, 8 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 | « headless/lib/browser/headless_devtools_client_impl.cc ('k') | headless/lib/headless_browser_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: headless/lib/browser/headless_web_contents_impl.cc
diff --git a/headless/lib/browser/headless_web_contents_impl.cc b/headless/lib/browser/headless_web_contents_impl.cc
index 723032a83216f5b114e4e99bcc38c87cf15c2c0d..13ed5e1076c6626517f1e329687d6b4678a92286 100644
--- a/headless/lib/browser/headless_web_contents_impl.cc
+++ b/headless/lib/browser/headless_web_contents_impl.cc
@@ -39,16 +39,6 @@ class WebContentsObserverAdapter : public content::WebContentsObserver {
observer_->DevToolsTargetReady();
}
- void DocumentOnLoadCompletedInMainFrame() override {
- observer_->DocumentOnLoadCompletedInMainFrame();
- }
-
- void DidFinishNavigation(
- content::NavigationHandle* navigation_handle) override {
- observer_->DidFinishNavigation(navigation_handle->HasCommitted() &&
- !navigation_handle->IsErrorPage());
- }
-
private:
HeadlessWebContents::Observer* observer_; // Not owned.
« no previous file with comments | « headless/lib/browser/headless_devtools_client_impl.cc ('k') | headless/lib/headless_browser_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698