Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CHROME_BROWSER_ANDROID_VR_SHELL_TEXTURED_ELEMENT_H_ | |
| 6 #define CHROME_BROWSER_ANDROID_VR_SHELL_TEXTURED_ELEMENT_H_ | |
| 7 | |
| 8 #include "base/macros.h" | |
| 9 #include "chrome/browser/android/vr_shell/ui_element.h" | |
| 10 | |
| 11 namespace vr_shell { | |
| 12 | |
| 13 class TexturedElement : public UiElement { | |
| 14 public: | |
| 15 TexturedElement(); | |
| 16 ~TexturedElement() override; | |
| 17 | |
| 18 // UiElement interface. | |
| 19 bool Render(VrShellRenderer* renderer) const override; | |
| 20 | |
| 21 private: | |
| 22 void Draw(); | |
| 23 | |
| 24 // SkBitmap bitmap_; | |
|
cjgrant
2017/04/19 16:24:52
Either this class, or UITexture itself, should han
| |
| 25 | |
| 26 DISALLOW_COPY_AND_ASSIGN(TexturedElement); | |
| 27 }; | |
| 28 | |
| 29 } // namespace vr_shell | |
| 30 | |
| 31 #endif // CHROME_BROWSER_ANDROID_VR_SHELL_TEXTURED_ELEMENT_H_ | |
| OLD | NEW |