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

Unified Diff: components/toolbar/toolbar_model_delegate.h

Issue 2965043003: ToolbarModel: Supply offline page status. (Closed)
Patch Set: And, ios-simulator. Created 3 years, 5 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
« no previous file with comments | « components/toolbar/toolbar_model.h ('k') | components/toolbar/toolbar_model_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/toolbar/toolbar_model_delegate.h
diff --git a/components/toolbar/toolbar_model_delegate.h b/components/toolbar/toolbar_model_delegate.h
index 91008e428876c12be1131f5cc8a86ca397676bc2..f0f4f171b1330b16b6e04ae47743185129109814 100644
--- a/components/toolbar/toolbar_model_delegate.h
+++ b/components/toolbar/toolbar_model_delegate.h
@@ -56,6 +56,10 @@ class ToolbarModelDelegate {
// knowledge of those schemes into this component.
virtual const gfx::VectorIcon* GetVectorIconOverride() const = 0;
+ // Returns whether the page is an offline page, sourced from a cache of
+ // previously-downloaded content.
+ virtual bool IsOfflinePage() const = 0;
+
protected:
virtual ~ToolbarModelDelegate() {}
};
« no previous file with comments | « components/toolbar/toolbar_model.h ('k') | components/toolbar/toolbar_model_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698