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

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

Issue 2950173002: VR: System indicator rework. (Closed)
Patch Set: Address comments; increase size slightly for readability, now that position is dynamic. 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/gl_browser_interface.h
diff --git a/chrome/browser/android/vr_shell/gl_browser_interface.h b/chrome/browser/android/vr_shell/gl_browser_interface.h
index cdc9bbd999dcae09a8041c1ba28b9e427b9cac52..aeec32e440d937780e7b10ceeb660487ee45a459 100644
--- a/chrome/browser/android/vr_shell/gl_browser_interface.h
+++ b/chrome/browser/android/vr_shell/gl_browser_interface.h
@@ -19,8 +19,9 @@ class WebInputEvent;
namespace vr_shell {
-// An interface for the GL thread to communicate with VrShell. Many of the
-// functions in this interface are proxies to methods on VrShell.
+// An interface for the GL thread to communicate with the rest of the system
+// (UI, VrShell, etc). Many of the functions in this interface are proxies to
+// methods on VrShell.
class GlBrowserInterface {
public:
virtual ~GlBrowserInterface() = default;
@@ -38,6 +39,7 @@ class GlBrowserInterface {
device::mojom::VRDisplayInfoPtr* info) = 0;
virtual void OnContentPaused(bool enabled) = 0;
virtual void ToggleCardboardGamepad(bool enabled) = 0;
+ virtual void OnGLInitialized() = 0;
};
} // namespace vr_shell
« no previous file with comments | « chrome/browser/android/vr_shell/BUILD.gn ('k') | chrome/browser/android/vr_shell/textures/system_indicator_texture.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698