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 9e456b7622fcc68a8339f97b936ee93c1e8047c4..f08d7fdcd52e0060ccc66df8511699b8553e77a0 100644 |
--- a/content/browser/web_contents/web_contents_impl.h |
+++ b/content/browser/web_contents/web_contents_impl.h |
@@ -213,6 +213,7 @@ class CONTENT_EXPORT WebContentsImpl |
virtual SiteInstance* GetSiteInstance() const OVERRIDE; |
virtual SiteInstance* GetPendingSiteInstance() const OVERRIDE; |
virtual bool IsLoading() const OVERRIDE; |
+ virtual bool IsDocumentLoadedInMainFrame() const OVERRIDE; |
virtual bool IsWaitingForResponse() const OVERRIDE; |
virtual const net::LoadStateWithParam& GetLoadState() const OVERRIDE; |
virtual const base::string16& GetLoadStateHost() const OVERRIDE; |
@@ -931,6 +932,9 @@ class CONTENT_EXPORT WebContentsImpl |
// Indicates whether we're currently loading a resource. |
bool is_loading_; |
+ // Indicates whether the main frame document has been loaded. |
+ bool is_document_loaded_in_main_frame_; |
+ |
// Indicates if the tab is considered crashed. |
base::TerminationStatus crashed_status_; |
int crashed_error_code_; |