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

Unified Diff: components/toolbar/toolbar_model_impl.cc

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_impl.h ('k') | ios/chrome/browser/ui/toolbar/toolbar_model_delegate_ios.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/toolbar/toolbar_model_impl.cc
diff --git a/components/toolbar/toolbar_model_impl.cc b/components/toolbar/toolbar_model_impl.cc
index 6111f92ce9eb751c0f7240067ee73926459c4a49..c24a388aad0e259a105c68c6030818e74ca0f57a 100644
--- a/components/toolbar/toolbar_model_impl.cc
+++ b/components/toolbar/toolbar_model_impl.cc
@@ -138,3 +138,7 @@ base::string16 ToolbarModelImpl::GetSecureVerboseText() const {
bool ToolbarModelImpl::ShouldDisplayURL() const {
return delegate_->ShouldDisplayURL();
}
+
+bool ToolbarModelImpl::IsOfflinePage() const {
+ return delegate_->IsOfflinePage();
+}
« no previous file with comments | « components/toolbar/toolbar_model_impl.h ('k') | ios/chrome/browser/ui/toolbar/toolbar_model_delegate_ios.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698