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

Unified Diff: chrome/browser/android/vr_shell/textures/ui_texture.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/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 02eccd784a99356c6cb2eed3b7590619463c7761..99b9705361b604169d7d76a013dd8d18ba0a04bf 100644
--- a/chrome/browser/android/vr_shell/textures/ui_texture.cc
+++ b/chrome/browser/android/vr_shell/textures/ui_texture.cc
@@ -56,6 +56,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,
« no previous file with comments | « chrome/browser/android/vr_shell/textures/ui_texture.h ('k') | chrome/browser/android/vr_shell/textures/url_bar_texture.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698