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

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

Issue 2924593002: VR: Use system back button behaviour while in ChromeTabbedActivity. (Closed)
Patch Set: Created 3 years, 6 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 feeaa4ceb18f0c6eb27f65713899a6aa7cfb07fd..5c28acb88b90f1a27b97a678f5bd1cc7666fd370 100644
--- a/chrome/browser/android/vr_shell/ui_elements/url_bar.h
+++ b/chrome/browser/android/vr_shell/ui_elements/url_bar.h
@@ -48,6 +48,7 @@ class UrlBar : public TexturedElement {
std::unique_ptr<UrlBarTexture> texture_;
base::Callback<void()> back_button_callback_;
bool enabled_ = false;
+ bool can_go_back_ = false;
bool down_ = false;
base::TimeTicks last_begin_frame_time_;
base::TimeTicks last_update_time_;

Powered by Google App Engine
This is Rietveld 408576698