| Index: chrome/browser/android/vr_shell/textures/ui_texture.h
|
| diff --git a/chrome/browser/android/vr_shell/textures/ui_texture.h b/chrome/browser/android/vr_shell/textures/ui_texture.h
|
| index 9fb0b0fc62df173d490893ad754aac5d176877c0..5154cd720a1211640b8cda6e0d2e34998c402a62 100644
|
| --- a/chrome/browser/android/vr_shell/textures/ui_texture.h
|
| +++ b/chrome/browser/android/vr_shell/textures/ui_texture.h
|
| @@ -44,6 +44,7 @@ class UiTexture {
|
| // Returns true if the state changed.
|
| virtual bool SetDrawFlags(int draw_flags);
|
| int GetDrawFlags() { return draw_flags_; }
|
| + bool dirty() const { return dirty_; }
|
|
|
| protected:
|
| virtual void Draw(SkCanvas* canvas, const gfx::Size& texture_size) = 0;
|
| @@ -61,12 +62,15 @@ class UiTexture {
|
| gfx::Rect* bounds,
|
| int flags);
|
|
|
| + void set_dirty() { dirty_ = true; }
|
| +
|
| static bool IsRTL();
|
| static gfx::FontList GetDefaultFontList(int size);
|
| static gfx::FontList GetFontList(int size, base::string16 text);
|
|
|
| private:
|
| int draw_flags_ = 0;
|
| + bool dirty_ = false;
|
| };
|
|
|
| } // namespace vr_shell
|
|
|