Index: content/browser/web_contents/web_contents_impl.h |
diff --git a/content/browser/web_contents/web_contents_impl.h b/content/browser/web_contents/web_contents_impl.h |
index 6edb3007c86447d8923b5ab1e3e0860322a16505..96e756b83fc4c4840074093bfe4265410fb27d7c 100644 |
--- a/content/browser/web_contents/web_contents_impl.h |
+++ b/content/browser/web_contents/web_contents_impl.h |
@@ -202,6 +202,7 @@ class CONTENT_EXPORT WebContentsImpl |
virtual SiteInstance* GetSiteInstance() const OVERRIDE; |
virtual SiteInstance* GetPendingSiteInstance() const OVERRIDE; |
virtual bool IsLoading() const OVERRIDE; |
+ virtual bool IsLoadingToDifferentDocument() const OVERRIDE; |
virtual bool IsWaitingForResponse() const OVERRIDE; |
virtual const net::LoadStateWithParam& GetLoadState() const OVERRIDE; |
virtual const base::string16& GetLoadStateHost() const OVERRIDE; |
@@ -940,6 +941,10 @@ class CONTENT_EXPORT WebContentsImpl |
// Indicates whether we're currently loading a resource. |
bool is_loading_; |
+ // Indicates whether the current load is to a different document. Only valid |
+ // if is_loading_ is true. |
+ bool is_load_to_different_document_; |
+ |
// Indicates if the tab is considered crashed. |
base::TerminationStatus crashed_status_; |
int crashed_error_code_; |