| 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..e170e4275c43ca3eeafd4b5ddedd0decc8d076cd 100644
|
| --- a/chrome/browser/android/vr_shell/textures/url_bar_texture.h
|
| +++ b/chrome/browser/android/vr_shell/textures/url_bar_texture.h
|
| @@ -21,6 +21,7 @@ class RenderText;
|
| namespace vr_shell {
|
|
|
| class RenderTextWrapper;
|
| +struct ColorScheme;
|
|
|
| class UrlBarTexture : public UiTexture {
|
| public:
|
| @@ -47,13 +48,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;
|
|
|