Chromium Code Reviews| Index: chrome/browser/android/vr_shell/textures/insecure_content_permanent_texture.h |
| diff --git a/chrome/browser/android/vr_shell/textures/insecure_content_permanent_texture.h b/chrome/browser/android/vr_shell/textures/insecure_content_permanent_texture.h |
| index d492b1d58dc5dcff8a906fe3daf3f67f525931ee..8b52184094c574b11c198192161fb0eac6477f6c 100644 |
| --- a/chrome/browser/android/vr_shell/textures/insecure_content_permanent_texture.h |
| +++ b/chrome/browser/android/vr_shell/textures/insecure_content_permanent_texture.h |
| @@ -9,17 +9,17 @@ |
| namespace vr_shell { |
| -class InsecureContentPermanentTexture : public UITexture { |
|
cjgrant
2017/04/21 15:19:33
optional nit: We might want to rename these classe
mthiesse
2017/04/21 17:17:30
Let's do this in a followup to avoid merge conflic
|
| +class InsecureContentPermanentTexture : public UiTexture { |
| public: |
| - InsecureContentPermanentTexture(int texture_handle, int texture_size); |
| + InsecureContentPermanentTexture(); |
| ~InsecureContentPermanentTexture() override; |
| + gfx::Size GetPreferredTextureSize(int width) const override; |
| + gfx::SizeF GetActualSize() const override; |
| private: |
| - void Draw(gfx::Canvas* canvas) override; |
| - void SetSize() override; |
| + void Draw(gfx::Canvas* canvas, const gfx::Size& texture_size) override; |
| - int height_; |
| - int width_; |
| + gfx::SizeF size_; |
| }; |
| } // namespace vr_shell |