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

Unified Diff: chrome/browser/extensions/api/declarative_content/content_predicate_evaluator.h

Issue 2668003004: Convert extensions::TabHelper to use the new navigation callbacks. (Closed)
Patch Set: update Created 3 years, 11 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: chrome/browser/extensions/api/declarative_content/content_predicate_evaluator.h
diff --git a/chrome/browser/extensions/api/declarative_content/content_predicate_evaluator.h b/chrome/browser/extensions/api/declarative_content/content_predicate_evaluator.h
index 283d41826b9c038ef9edcdb2986a71ee371496e9..dd1b86baaada5bf515550962565500676531eaab 100644
--- a/chrome/browser/extensions/api/declarative_content/content_predicate_evaluator.h
+++ b/chrome/browser/extensions/api/declarative_content/content_predicate_evaluator.h
@@ -13,8 +13,7 @@
namespace content {
class BrowserContext;
-struct FrameNavigateParams;
-struct LoadCommittedDetails;
+class NavigationHandle;
class WebContents;
} // namespace content
@@ -92,8 +91,7 @@ class ContentPredicateEvaluator : public ContentPredicateFactory {
// would still be evaluated based on the previous URL.
virtual void OnWebContentsNavigation(
content::WebContents* contents,
- const content::LoadCommittedDetails& details,
- const content::FrameNavigateParams& params) = 0;
+ content::NavigationHandle* navigation_handle) = 0;
// Returns true if |predicate| evaluates to true on the state associated with
// |tab|. It must be the case that predicate->GetEvaluator() == this object,

Powered by Google App Engine
This is Rietveld 408576698