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

Unified Diff: content/public/browser/web_contents.h

Issue 266073003: Add support for distilling current WebContents (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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
Index: content/public/browser/web_contents.h
diff --git a/content/public/browser/web_contents.h b/content/public/browser/web_contents.h
index 0e0ed9bad84610b17e3bc17707fa81f8faf445f8..df0632850e76459c5fc257a9b6c7d5a3598865ff 100644
--- a/content/public/browser/web_contents.h
+++ b/content/public/browser/web_contents.h
@@ -259,6 +259,9 @@ class WebContents : public PageNavigator,
// Return whether this WebContents is loading a resource.
virtual bool IsLoading() const = 0;
+ // Return whether the document has been loaded in the main frame.
+ virtual bool IsDocumentLoadedInMainFrame() const = 0;
+
// Returns whether this WebContents is waiting for a first-response for the
// main resource of the page.
virtual bool IsWaitingForResponse() const = 0;

Powered by Google App Engine
This is Rietveld 408576698