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

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

Issue 2926643003: [VrShell] Centralize color handling and enable close button on fullscreen (Closed)
Patch Set: Created 3 years, 6 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/button_texture.cc
diff --git a/chrome/browser/android/vr_shell/textures/button_texture.cc b/chrome/browser/android/vr_shell/textures/button_texture.cc
index 549c556c31714dd6353378f41a43ae11c82e1970..3d3ff6904b385f646e46898aed5a09a8d2bc6b19 100644
--- a/chrome/browser/android/vr_shell/textures/button_texture.cc
+++ b/chrome/browser/android/vr_shell/textures/button_texture.cc
@@ -10,6 +10,10 @@ ButtonTexture::ButtonTexture() = default;
ButtonTexture::~ButtonTexture() = default;
+void ButtonTexture::OnSetMode() {
+ set_dirty();
+}
+
void ButtonTexture::SetPressed(bool pressed) {
if (pressed_ != pressed)
set_dirty();

Powered by Google App Engine
This is Rietveld 408576698