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

Unified Diff: chrome/browser/android/vr_shell/textures/ui_texture.cc

Issue 2902043005: [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/textures/ui_texture.cc
diff --git a/chrome/browser/android/vr_shell/textures/ui_texture.cc b/chrome/browser/android/vr_shell/textures/ui_texture.cc
index 63299889200a2d7158006602f20e6aa0b5441584..df77e1cb225a6b48fb790f4b1a3ad27d164ee08c 100644
--- a/chrome/browser/android/vr_shell/textures/ui_texture.cc
+++ b/chrome/browser/android/vr_shell/textures/ui_texture.cc
@@ -54,6 +54,15 @@ bool UiTexture::HitTest(const gfx::PointF& point) const {
return false;
}
+void UiTexture::SetMode(ColorScheme::Mode mode) {
+ if (mode_ == mode)
+ return;
+ mode_ = mode;
+ OnSetMode();
+}
+
+void UiTexture::OnSetMode() {}
+
std::vector<std::unique_ptr<gfx::RenderText>> UiTexture::PrepareDrawStringRect(
const base::string16& text,
const gfx::FontList& font_list,

Powered by Google App Engine
This is Rietveld 408576698