| Index: chrome/browser/android/vr_shell/ui_elements.h
|
| diff --git a/chrome/browser/android/vr_shell/ui_elements.h b/chrome/browser/android/vr_shell/ui_elements.h
|
| index 42c349058508660b945750d247c88f5696d33354..14b5f8d0beada758e92850e13d01fc42799613ae 100644
|
| --- a/chrome/browser/android/vr_shell/ui_elements.h
|
| +++ b/chrome/browser/android/vr_shell/ui_elements.h
|
| @@ -28,6 +28,13 @@ enum YAnchoring {
|
| YBOTTOM
|
| };
|
|
|
| +enum Fill {
|
| + NONE = 0,
|
| + SPRITE = 1,
|
| + OPAQUE_GRADIENT = 2,
|
| + GRID_GRADIENT = 3
|
| +};
|
| +
|
| struct ReversibleTransform {
|
| ReversibleTransform();
|
|
|
| @@ -72,7 +79,7 @@ struct ContentRectangle : public WorldRectangle {
|
| // Valid IDs are non-negative.
|
| int id = -1;
|
|
|
| - // If a non-negative parent ID is specified, applicable tranformations
|
| + // If a non-negative parent ID is specified, applicable transformations
|
| // are applied relative to the parent, rather than absolutely.
|
| int parent_id = -1;
|
|
|
| @@ -121,6 +128,13 @@ struct ContentRectangle : public WorldRectangle {
|
| // Animations that affect the properties of the object over time.
|
| std::vector<std::unique_ptr<Animation>> animations;
|
|
|
| + Fill fill = Fill::NONE;
|
| +
|
| + Colorf edge_color = {1.0f, 1.0f, 1.0f, 1.0f};
|
| + Colorf center_color = {1.0f, 1.0f, 1.0f, 1.0f};
|
| +
|
| + unsigned int tile_number;
|
| +
|
| private:
|
| DISALLOW_COPY_AND_ASSIGN(ContentRectangle);
|
| };
|
|
|