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

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

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.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..feeaa4ceb18f0c6eb27f65713899a6aa7cfb07fd 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);
void SetURL(const GURL& gurl);
void SetSecurityLevel(security_state::SecurityLevel level);
void SetBackButtonCallback(const base::Callback<void()>& callback);
« no previous file with comments | « chrome/browser/android/vr_shell/textures/url_bar_texture.cc ('k') | chrome/browser/android/vr_shell/ui_elements/url_bar.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698