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

Side by Side Diff: chrome/browser/android/vr_shell/vr_shell.h

Issue 2891243002: VR: Loading DD controller model after GL is initialized (Closed)
Patch Set: doing texture patching on background task 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 unified diff | Download patch
OLDNEW
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 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 uint32_t device_id) override; 189 uint32_t device_id) override;
190 190
191 // device::PresentingGvrDelegate implementation. 191 // device::PresentingGvrDelegate implementation.
192 void SetSubmitClient( 192 void SetSubmitClient(
193 device::mojom::VRSubmitFrameClientPtr submit_client) override; 193 device::mojom::VRSubmitFrameClientPtr submit_client) override;
194 194
195 void ProcessTabArray(JNIEnv* env, jobjectArray tabs, bool incognito); 195 void ProcessTabArray(JNIEnv* env, jobjectArray tabs, bool incognito);
196 196
197 void PollMediaAccessFlag(); 197 void PollMediaAccessFlag();
198 198
199 bool HasDaydreamSupport(JNIEnv* env);
200
199 bool vr_shell_enabled_; 201 bool vr_shell_enabled_;
200 202
201 bool content_paused_ = false; 203 bool content_paused_ = false;
202 bool webvr_mode_ = false; 204 bool webvr_mode_ = false;
203 205
204 content::WebContents* web_contents_ = nullptr; 206 content::WebContents* web_contents_ = nullptr;
205 base::android::ScopedJavaGlobalRef<jobject> j_motion_event_synthesizer_; 207 base::android::ScopedJavaGlobalRef<jobject> j_motion_event_synthesizer_;
206 ui::WindowAndroid* window_; 208 ui::WindowAndroid* window_;
207 std::unique_ptr<VrCompositor> compositor_; 209 std::unique_ptr<VrCompositor> compositor_;
208 210
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 base::WeakPtrFactory<VrShell> weak_ptr_factory_; 242 base::WeakPtrFactory<VrShell> weak_ptr_factory_;
241 243
242 DISALLOW_COPY_AND_ASSIGN(VrShell); 244 DISALLOW_COPY_AND_ASSIGN(VrShell);
243 }; 245 };
244 246
245 bool RegisterVrShell(JNIEnv* env); 247 bool RegisterVrShell(JNIEnv* env);
246 248
247 } // namespace vr_shell 249 } // namespace vr_shell
248 250
249 #endif // CHROME_BROWSER_ANDROID_VR_SHELL_VR_SHELL_H_ 251 #endif // CHROME_BROWSER_ANDROID_VR_SHELL_VR_SHELL_H_
OLDNEW
« no previous file with comments | « chrome/browser/android/vr_shell/vr_gl_thread.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