Chromium Code Reviews| Index: chrome/browser/android/vr_shell/ui_scene.h |
| diff --git a/chrome/browser/android/vr_shell/ui_scene.h b/chrome/browser/android/vr_shell/ui_scene.h |
| index 1b1686f25792213d404326da71f191d3620e5cfa..3ef5eec10c8ec9b0231d7265660093f8392f299e 100644 |
| --- a/chrome/browser/android/vr_shell/ui_scene.h |
| +++ b/chrome/browser/android/vr_shell/ui_scene.h |
| @@ -71,9 +71,8 @@ class UiScene { |
| ContentRectangle* GetUiElementById(int element_id); |
| - ContentRectangle* GetContentQuad(); |
| - |
| const Colorf& GetBackgroundColor(); |
| + float GetBackgroundDistance(); |
| private: |
| void ApplyRecursiveTransforms(const ContentRectangle& element, |
| @@ -85,6 +84,7 @@ class UiScene { |
| std::vector<std::unique_ptr<ContentRectangle>> ui_elements_; |
| ContentRectangle* content_element_ = nullptr; |
| Colorf background_color_ = {0.1f, 0.1f, 0.1f, 1.0f}; |
| + float background_distance_ = 10.0f; |
|
cjgrant
2017/02/16 22:53:39
This feels magic-number-ish, but to put a constant
|
| DISALLOW_COPY_AND_ASSIGN(UiScene); |
| }; |