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

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

Issue 2735983004: Visually disable VR Shell back/forward buttons when no history is available (Closed)
Patch Set: Addressing closure compilation error Created 3 years, 9 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
« no previous file with comments | « chrome/browser/android/vr_shell/ui_interface.cc ('k') | chrome/browser/android/vr_shell/vr_shell.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/android/vr_shell/vr_shell.h
diff --git a/chrome/browser/android/vr_shell/vr_shell.h b/chrome/browser/android/vr_shell/vr_shell.h
index deb1f1fefdd8dffe017701b027c1dfb4aff4c912..2d6e5298f1b282463fe6fad2b638bae0b51cf645 100644
--- a/chrome/browser/android/vr_shell/vr_shell.h
+++ b/chrome/browser/android/vr_shell/vr_shell.h
@@ -116,6 +116,10 @@ class VrShell : public device::GvrDelegate, content::WebContentsObserver {
const base::android::JavaParamRef<jobject>& obj);
void RestoreContentSurface(JNIEnv* env,
const base::android::JavaParamRef<jobject>& obj);
+ void SetHistoryButtonsEnabled(JNIEnv* env,
+ const base::android::JavaParamRef<jobject>& obj,
+ jboolean can_go_back,
+ jboolean can_go_forward);
void ContentWebContentsDestroyed();
// Called when our WebContents have been hidden. Usually a sign that something
« no previous file with comments | « chrome/browser/android/vr_shell/ui_interface.cc ('k') | chrome/browser/android/vr_shell/vr_shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698