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

Unified Diff: chrome/browser/ui/toolbar/chrome_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
Index: chrome/browser/ui/toolbar/chrome_toolbar_model_delegate.h
diff --git a/chrome/browser/ui/toolbar/chrome_toolbar_model_delegate.h b/chrome/browser/ui/toolbar/chrome_toolbar_model_delegate.h
index 4c6082200fa10c8400af1bc102fced0adffb25e5..47e80de8a2c15ee9f720b5cc80ad39865484a2da 100644
--- a/chrome/browser/ui/toolbar/chrome_toolbar_model_delegate.h
+++ b/chrome/browser/ui/toolbar/chrome_toolbar_model_delegate.h
@@ -37,6 +37,7 @@ class ChromeToolbarModelDelegate : public ToolbarModelDelegate {
scoped_refptr<net::X509Certificate> GetCertificate() const override;
bool FailsMalwareCheck() const override;
const gfx::VectorIcon* GetVectorIconOverride() const override;
+ bool IsOfflinePage() const override;
// Returns the navigation controller used to retrieve the navigation entry
// from which the states are retrieved. If this returns null, default values
« no previous file with comments | « chrome/browser/android/vr_shell/toolbar_state.cc ('k') | chrome/browser/ui/toolbar/chrome_toolbar_model_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698