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

Unified Diff: chrome/browser/android/vr_shell/ui_scene_manager.cc

Issue 2906403002: Disable back button when stack is empty (Closed)
Patch Set: 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_scene_manager.cc
diff --git a/chrome/browser/android/vr_shell/ui_scene_manager.cc b/chrome/browser/android/vr_shell/ui_scene_manager.cc
index 925995a81270be72fc69ce95f173cda5305ab38d..50859c8eeba790a09d411297249c3e857607ef62 100644
--- a/chrome/browser/android/vr_shell/ui_scene_manager.cc
+++ b/chrome/browser/android/vr_shell/ui_scene_manager.cc
@@ -458,7 +458,9 @@ void UiSceneManager::SetIsExiting() {
}
void UiSceneManager::SetHistoryButtonsEnabled(bool can_go_back,
- bool can_go_forward) {}
+ bool can_go_forward) {
+ url_bar_->SetHistoryButtonsEnabled(can_go_back, can_go_forward);
+}
void UiSceneManager::OnCloseButtonClicked() {
browser_->ExitCct();

Powered by Google App Engine
This is Rietveld 408576698