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

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

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_elements/url_bar.h
diff --git a/chrome/browser/android/vr_shell/ui_elements/url_bar.h b/chrome/browser/android/vr_shell/ui_elements/url_bar.h
index 07552fc3bff9f83afb87e914c5e5a498de4c7936..15bf9943ccedbf310294d0627f055421f56ad663 100644
--- a/chrome/browser/android/vr_shell/ui_elements/url_bar.h
+++ b/chrome/browser/android/vr_shell/ui_elements/url_bar.h
@@ -35,6 +35,7 @@ class UrlBar : public TexturedElement {
void OnBeginFrame(const base::TimeTicks& begin_frame_time) override;
void SetEnabled(bool enabled) override;
+ void SetHistoryButtonsEnabled(bool can_go_back, bool can_go_forward);
void SetURL(const GURL& gurl);
void SetSecurityLevel(security_state::SecurityLevel level);
void SetBackButtonCallback(const base::Callback<void()>& callback);

Powered by Google App Engine
This is Rietveld 408576698