Index: chrome/browser/android/vr_shell/textured_element.h |
diff --git a/chrome/browser/android/vr_shell/textured_element.h b/chrome/browser/android/vr_shell/textured_element.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..0e343db428f2c4627bcea898c2d74760dccffaa7 |
--- /dev/null |
+++ b/chrome/browser/android/vr_shell/textured_element.h |
@@ -0,0 +1,31 @@ |
+// Copyright 2017 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_ANDROID_VR_SHELL_TEXTURED_ELEMENT_H_ |
+#define CHROME_BROWSER_ANDROID_VR_SHELL_TEXTURED_ELEMENT_H_ |
+ |
+#include "base/macros.h" |
+#include "chrome/browser/android/vr_shell/ui_element.h" |
+ |
+namespace vr_shell { |
+ |
+class TexturedElement : public UiElement { |
+ public: |
+ TexturedElement(); |
+ ~TexturedElement() override; |
+ |
+ // UiElement interface. |
+ bool Render(VrShellRenderer* renderer) const override; |
+ |
+ private: |
+ void Draw(); |
+ |
+ // SkBitmap bitmap_; |
cjgrant
2017/04/19 16:24:52
Either this class, or UITexture itself, should han
|
+ |
+ DISALLOW_COPY_AND_ASSIGN(TexturedElement); |
+}; |
+ |
+} // namespace vr_shell |
+ |
+#endif // CHROME_BROWSER_ANDROID_VR_SHELL_TEXTURED_ELEMENT_H_ |