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

Unified Diff: chrome/browser/android/vr_shell/textures/ui_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/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 99b9705361b604169d7d76a013dd8d18ba0a04bf..ef2630dbb34568416757eba26f6961b21d3647ed 100644
--- a/chrome/browser/android/vr_shell/textures/ui_texture.cc
+++ b/chrome/browser/android/vr_shell/textures/ui_texture.cc
@@ -65,6 +65,10 @@ void UiTexture::SetMode(ColorScheme::Mode mode) {
void UiTexture::OnSetMode() {}
+const ColorScheme& UiTexture::color_scheme() const {
+ return ColorScheme::GetColorScheme(mode());
+}
+
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