Index: content/public/browser/web_contents_delegate.h |
diff --git a/content/public/browser/web_contents_delegate.h b/content/public/browser/web_contents_delegate.h |
index 3515d89a67d45bb6a9362136fd00fb7eafc403d8..1c165ef077aff40778df43f5fdaf7077636fb771 100644 |
--- a/content/public/browser/web_contents_delegate.h |
+++ b/content/public/browser/web_contents_delegate.h |
@@ -112,7 +112,10 @@ class CONTENT_EXPORT WebContentsDelegate { |
// Notifies the delegate that this contents is starting or is done loading |
// some resource. The delegate should use this notification to represent |
// loading feedback. See WebContents::IsLoading() |
- virtual void LoadingStateChanged(WebContents* source) {} |
+ // |to_different_document| will be true unless the load is a fragment |
+ // navigation, or triggered by history.pushState/replaceState. |
+ virtual void LoadingStateChanged(WebContents* source, |
+ bool to_different_document) {} |
// Notifies the delegate that the page has made some progress loading. |
// |progress| is a value between 0.0 (nothing loaded) to 1.0 (page fully |