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

Unified Diff: chrome/browser/android/vr_shell/ui_elements/url_bar.cc

Issue 2906403002: Disable back button when stack is empty (Closed)
Patch Set: nit Created 3 years, 7 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/ui_elements/url_bar.cc
diff --git a/chrome/browser/android/vr_shell/ui_elements/url_bar.cc b/chrome/browser/android/vr_shell/ui_elements/url_bar.cc
index 1cd156a010994ad421f95fa6d457634254f80b22..72dcf1c081b9628a2aace64da7ef94d1d12c7797 100644
--- a/chrome/browser/android/vr_shell/ui_elements/url_bar.cc
+++ b/chrome/browser/android/vr_shell/ui_elements/url_bar.cc
@@ -83,6 +83,10 @@ void UrlBar::SetURL(const GURL& gurl) {
texture_->SetURL(gurl);
}
+void UrlBar::SetHistoryButtonsEnabled(bool can_go_back) {
+ texture_->SetHistoryButtonsEnabled(can_go_back);
+}
+
void UrlBar::SetSecurityLevel(security_state::SecurityLevel level) {
texture_->SetSecurityLevel(level);
}
« no previous file with comments | « chrome/browser/android/vr_shell/ui_elements/url_bar.h ('k') | chrome/browser/android/vr_shell/ui_scene_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698