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

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

Issue 2911943002: [vr] Add incognito coloring (Closed)
Patch Set: 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
Index: chrome/browser/android/vr_shell/ui_elements/ui_element.cc
diff --git a/chrome/browser/android/vr_shell/ui_elements/ui_element.cc b/chrome/browser/android/vr_shell/ui_elements/ui_element.cc
index d48861dc9d26ec7751525bcd71d25302f03b8238..15fc6e26883d407802954b020c11754d9582dbae 100644
--- a/chrome/browser/android/vr_shell/ui_elements/ui_element.cc
+++ b/chrome/browser/android/vr_shell/ui_elements/ui_element.cc
@@ -231,4 +231,13 @@ bool UiElement::HitTest(const gfx::PointF& point) const {
point.y() <= 1.0f;
}
+void UiElement::SetMode(ColorScheme::Mode mode) {
+ if (mode_ == mode)
+ return;
+ mode_ = mode;
+ OnSetMode();
+}
+
+void UiElement::OnSetMode() {}
+
} // namespace vr_shell
« no previous file with comments | « chrome/browser/android/vr_shell/ui_elements/ui_element.h ('k') | chrome/browser/android/vr_shell/ui_interface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698