Rename RenderLoop to BrowserRenderer

Rename CompositorDelegate to GraphicsDelegate and VrShellGl to
GvrGraphicsDelegate.

Bug: 875291
Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel;luci.chromium.try:linux_optional_gpu_tests_rel;luci.chromium.try:linux_vr;luci.chromium.try:mac_optional_gpu_tests_rel;luci.chromium.try:win_optional_gpu_tests_rel
Change-Id: Iecb896daaa47fc3681ca642e4dac4a654536d1c5
Reviewed-on: https://chromium-review.googlesource.com/1208675
Commit-Queue: Aldo Culquicondor <[email protected]>
Reviewed-by: Michael Thiessen <[email protected]>
Cr-Commit-Position: refs/heads/master@{#589633}
diff --git a/chrome/browser/vr/browser_renderer_browser_interface.h b/chrome/browser/vr/browser_renderer_browser_interface.h
new file mode 100644
index 0000000..e99a0c1b
--- /dev/null
+++ b/chrome/browser/vr/browser_renderer_browser_interface.h
@@ -0,0 +1,24 @@
+// Copyright 2018 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_VR_BROWSER_RENDERER_BROWSER_INTERFACE_H_
+#define CHROME_BROWSER_VR_BROWSER_RENDERER_BROWSER_INTERFACE_H_
+
+#include "chrome/browser/vr/ui_test_input.h"
+
+namespace vr {
+
+// BrowserRenderer talks to the browser main thread through this interface.
+class BrowserRendererBrowserInterface {
+ public:
+  virtual ~BrowserRendererBrowserInterface() = default;
+
+  virtual void ForceExitVr() = 0;
+  virtual void ReportUiActivityResultForTesting(
+      const VrUiTestActivityResult& result) = 0;
+};
+
+}  // namespace vr
+
+#endif  // CHROME_BROWSER_VR_BROWSER_RENDERER_BROWSER_INTERFACE_H_