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

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

Issue 2829653003: PROTOTYPE (incomplete): Add quad renderer and stub bits to handle security warnings. (Closed)
Patch Set: Created 3 years, 8 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/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_

Powered by Google App Engine
This is Rietveld 408576698