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

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

Issue 2914623003: [VrShell] Centralize color handling and enable close button on fullscreen (Closed)
Patch Set: update fullscreen colors, try to get them to show up on mode switch 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/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..92f250af1a52b106f737da16dc511eefc78849ad 100644
--- a/chrome/browser/android/vr_shell/textures/button_texture.cc
+++ b/chrome/browser/android/vr_shell/textures/button_texture.cc
@@ -22,4 +22,8 @@ void ButtonTexture::SetHovered(bool hovered) {
hovered_ = hovered;
}
+void ButtonTexture::OnSetMode() {
+ set_dirty();
+}
+
} // namespace vr_shell

Powered by Google App Engine
This is Rietveld 408576698