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

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

Issue 2912953002: 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 f7ccf44e4f39e77995020923ee066f1cefc82f1e..8fce01c4e8ba77db9f4b917b042ec0458be18b39 100644
--- a/chrome/browser/android/vr_shell/ui_scene_manager.cc
+++ b/chrome/browser/android/vr_shell/ui_scene_manager.cc
@@ -452,7 +452,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);
+}
void UiSceneManager::OnCloseButtonClicked() {
browser_->ExitCct();
« no previous file with comments | « chrome/browser/android/vr_shell/ui_elements/url_bar.cc ('k') | chrome/browser/android/vr_shell/vr_gl_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698