| 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 0d160e252dd0cb3d3a8f5892b4ef8fe37650263c..2a6d4b81f75cb2c2378a3a0275ef6467314d829b 100644
|
| --- a/chrome/browser/android/vr_shell/textures/url_bar_texture.h
|
| +++ b/chrome/browser/android/vr_shell/textures/url_bar_texture.h
|
| @@ -23,6 +23,7 @@ class RenderText;
|
| namespace vr_shell {
|
|
|
| class RenderTextWrapper;
|
| +struct ColorScheme;
|
|
|
| class UrlBarTexture : public UiTexture {
|
| public:
|
| @@ -50,13 +51,16 @@ class UrlBarTexture : public UiTexture {
|
| static void ApplyUrlStyling(const base::string16& formatted_url,
|
| const url::Parsed& parsed,
|
| security_state::SecurityLevel security_level,
|
| - vr_shell::RenderTextWrapper* render_text);
|
| + vr_shell::RenderTextWrapper* render_text,
|
| + const ColorScheme& color_scheme);
|
|
|
| private:
|
| void Draw(SkCanvas* canvas, const gfx::Size& texture_size) override;
|
| float ToPixels(float meters) const;
|
| bool HitsTransparentRegion(const gfx::PointF& meters, bool left) const;
|
| void RenderUrl(const gfx::Size& texture_size, const gfx::Rect& bounds);
|
| + void OnSetMode() override;
|
| + const ColorScheme& color_scheme() const;
|
|
|
| gfx::SizeF size_;
|
| bool hovered_ = false;
|
|
|