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

Unified Diff: chrome/browser/android/vr_shell/ui_scene_manager.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_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..df63f3323e1172fb3d7a7ec4cafbc380a3f3261d 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);
+}
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