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

Unified Diff: chrome/browser/android/vr_shell/toolbar_helper.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
Index: chrome/browser/android/vr_shell/toolbar_helper.cc
diff --git a/chrome/browser/android/vr_shell/toolbar_helper.cc b/chrome/browser/android/vr_shell/toolbar_helper.cc
index 3e1bbd7457ede0f2ef1aa6839dbd4e46165f3785..b776a570f59a0a4d3add60e01f90966076016250 100644
--- a/chrome/browser/android/vr_shell/toolbar_helper.cc
+++ b/chrome/browser/android/vr_shell/toolbar_helper.cc
@@ -30,7 +30,7 @@ void ToolbarHelper::Update() {
ToolbarState state(
toolbar_model_->GetURL(), toolbar_model_->GetSecurityLevel(true),
&toolbar_model_->GetVectorIcon(), toolbar_model_->GetSecureVerboseText(),
- toolbar_model_->ShouldDisplayURL());
+ toolbar_model_->ShouldDisplayURL(), toolbar_model_->IsOfflinePage());
if (current_state_ == state)
return;
« no previous file with comments | « chrome/browser/android/vr_shell/textures/url_bar_texture_unittest.cc ('k') | chrome/browser/android/vr_shell/toolbar_state.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698