| Index: chrome/browser/android/vr_shell/textures/url_bar_texture.h
|
| diff --git a/chrome/browser/android/vr_shell/textures/url_bar_texture.h b/chrome/browser/android/vr_shell/textures/url_bar_texture.h
|
| index 92e40f679864212f36e99f537d007a3828a5298a..0d160e252dd0cb3d3a8f5892b4ef8fe37650263c 100644
|
| --- a/chrome/browser/android/vr_shell/textures/url_bar_texture.h
|
| +++ b/chrome/browser/android/vr_shell/textures/url_bar_texture.h
|
| @@ -8,8 +8,10 @@
|
| #include <memory>
|
| #include <vector>
|
|
|
| +#include "base/callback.h"
|
| #include "base/macros.h"
|
| #include "chrome/browser/android/vr_shell/textures/ui_texture.h"
|
| +#include "chrome/browser/android/vr_shell/ui_unsupported_mode.h"
|
| #include "components/security_state/core/security_state.h"
|
| #include "url/gurl.h"
|
|
|
| @@ -29,7 +31,8 @@ class UrlBarTexture : public UiTexture {
|
| FLAG_BACK_DOWN = 1 << 1,
|
| };
|
|
|
| - UrlBarTexture();
|
| + explicit UrlBarTexture(
|
| + const base::Callback<void(UiUnsupportedMode)>& failure_callback);
|
| ~UrlBarTexture() override;
|
| gfx::Size GetPreferredTextureSize(int width) const override;
|
| gfx::SizeF GetDrawnSize() const override;
|
| @@ -65,6 +68,7 @@ class UrlBarTexture : public UiTexture {
|
| std::unique_ptr<gfx::RenderText> url_render_text_;
|
| GURL last_drawn_gurl_;
|
| security_state::SecurityLevel last_drawn_security_level_;
|
| + base::Callback<void(UiUnsupportedMode)> failure_callback_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(UrlBarTexture);
|
| };
|
|
|