| 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 c6ebf975f196f75fa63d6693d17f01f197c58518..c142fdc3cacc264e9bee7a300c7662f78f175f9f 100644
|
| --- a/chrome/browser/android/vr_shell/textures/url_bar_texture.h
|
| +++ b/chrome/browser/android/vr_shell/textures/url_bar_texture.h
|
| @@ -39,16 +39,19 @@ class UrlBarTexture : public UiTexture {
|
|
|
| void SetHovered(bool hovered);
|
| void SetPressed(bool pressed);
|
| + void SetIncognito(bool incognito);
|
|
|
| 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;
|
| + SkColor AdjustColorForIncognito(SkColor c) const;
|
|
|
| gfx::SizeF size_;
|
| int security_level_;
|
| bool hovered_ = false;
|
| bool pressed_ = false;
|
| + bool incognito_ = false;
|
| GURL gurl_;
|
| GURL last_drawn_gurl_;
|
| std::vector<std::unique_ptr<gfx::RenderText>> gurl_render_texts_;
|
|
|