Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(128)

Unified Diff: chrome/browser/android/vr_shell/ui_elements/ui_element.h

Issue 2907203002: VR: Soften the floor grid (Closed)
Patch Set: nit Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/android/vr_shell/ui_elements/ui_element_debug_id.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/android/vr_shell/ui_elements/ui_element.h
diff --git a/chrome/browser/android/vr_shell/ui_elements/ui_element.h b/chrome/browser/android/vr_shell/ui_elements/ui_element.h
index 4ee49ae99cb5e733f0c3e9dea725029bf7167e43..328576ec118a8e1dece89b3c77f216bf32a63ee3 100644
--- a/chrome/browser/android/vr_shell/ui_elements/ui_element.h
+++ b/chrome/browser/android/vr_shell/ui_elements/ui_element.h
@@ -215,6 +215,9 @@ class UiElement : public WorldRectangle {
center_color_ = center_color;
}
+ SkColor grid_color() const { return grid_color_; }
+ void set_grid_color(const SkColor& grid_color) { grid_color_ = grid_color; }
+
int gridline_count() const { return gridline_count_; }
void set_gridline_count(int gridline_count) {
gridline_count_ = gridline_count;
@@ -307,6 +310,7 @@ class UiElement : public WorldRectangle {
SkColor edge_color_ = SK_ColorWHITE;
SkColor center_color_ = SK_ColorWHITE;
+ SkColor grid_color_ = SK_ColorWHITE;
int gridline_count_ = 1;
« no previous file with comments | « no previous file | chrome/browser/android/vr_shell/ui_elements/ui_element_debug_id.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698