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..9668322978f77d8e6d6ba57b5a2f063816b4d842 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 |
| @@ -11,15 +11,15 @@ namespace vr_shell { |
| 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; |
|
acondor_
2017/04/21 15:04:23
GetDrawnSize?
mthiesse
2017/04/21 17:17:30
Done.
|
| 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 |