| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_ANDROID_VR_SHELL_VR_SHELL_H_ | 5 #ifndef CHROME_BROWSER_ANDROID_VR_SHELL_VR_SHELL_H_ |
| 6 #define CHROME_BROWSER_ANDROID_VR_SHELL_VR_SHELL_H_ | 6 #define CHROME_BROWSER_ANDROID_VR_SHELL_VR_SHELL_H_ |
| 7 | 7 |
| 8 #include <jni.h> | 8 #include <jni.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 void OnTabUpdated(JNIEnv* env, | 105 void OnTabUpdated(JNIEnv* env, |
| 106 const base::android::JavaParamRef<jobject>& obj, | 106 const base::android::JavaParamRef<jobject>& obj, |
| 107 jboolean incognito, | 107 jboolean incognito, |
| 108 jint id, | 108 jint id, |
| 109 jstring jtitle); | 109 jstring jtitle); |
| 110 void OnTabRemoved(JNIEnv* env, | 110 void OnTabRemoved(JNIEnv* env, |
| 111 const base::android::JavaParamRef<jobject>& obj, | 111 const base::android::JavaParamRef<jobject>& obj, |
| 112 jboolean incognito, | 112 jboolean incognito, |
| 113 jint id); | 113 jint id); |
| 114 void OnContentPaused(bool paused); | 114 void OnContentPaused(bool paused); |
| 115 void NavigateBack(); |
| 115 base::android::ScopedJavaGlobalRef<jobject> TakeContentSurface( | 116 base::android::ScopedJavaGlobalRef<jobject> TakeContentSurface( |
| 116 JNIEnv* env, | 117 JNIEnv* env, |
| 117 const base::android::JavaParamRef<jobject>& obj); | 118 const base::android::JavaParamRef<jobject>& obj); |
| 118 void RestoreContentSurface(JNIEnv* env, | 119 void RestoreContentSurface(JNIEnv* env, |
| 119 const base::android::JavaParamRef<jobject>& obj); | 120 const base::android::JavaParamRef<jobject>& obj); |
| 120 void SetHistoryButtonsEnabled(JNIEnv* env, | 121 void SetHistoryButtonsEnabled(JNIEnv* env, |
| 121 const base::android::JavaParamRef<jobject>& obj, | 122 const base::android::JavaParamRef<jobject>& obj, |
| 122 jboolean can_go_back, | 123 jboolean can_go_back, |
| 123 jboolean can_go_forward); | 124 jboolean can_go_forward); |
| 124 | 125 |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 221 base::WeakPtrFactory<VrShell> weak_ptr_factory_; | 222 base::WeakPtrFactory<VrShell> weak_ptr_factory_; |
| 222 | 223 |
| 223 DISALLOW_COPY_AND_ASSIGN(VrShell); | 224 DISALLOW_COPY_AND_ASSIGN(VrShell); |
| 224 }; | 225 }; |
| 225 | 226 |
| 226 bool RegisterVrShell(JNIEnv* env); | 227 bool RegisterVrShell(JNIEnv* env); |
| 227 | 228 |
| 228 } // namespace vr_shell | 229 } // namespace vr_shell |
| 229 | 230 |
| 230 #endif // CHROME_BROWSER_ANDROID_VR_SHELL_VR_SHELL_H_ | 231 #endif // CHROME_BROWSER_ANDROID_VR_SHELL_VR_SHELL_H_ |
| OLD | NEW |