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 |