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

Unified Diff: chrome/browser/android/vr_shell/textures/close_button_texture.h

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/close_button_texture.h
diff --git a/chrome/browser/android/vr_shell/textures/close_button_texture.h b/chrome/browser/android/vr_shell/textures/close_button_texture.h
index 4bd4a0b519ffc7a0c6feb8201ef7cead8a9d1a9a..366fcec68f0b2ab5eb287ce9d5e40656cfbc05d1 100644
--- a/chrome/browser/android/vr_shell/textures/close_button_texture.h
+++ b/chrome/browser/android/vr_shell/textures/close_button_texture.h
@@ -13,6 +13,8 @@ class PointF;
namespace vr_shell {
+struct ColorScheme;
+
class CloseButtonTexture : public ButtonTexture {
public:
CloseButtonTexture();
@@ -23,6 +25,7 @@ class CloseButtonTexture : public ButtonTexture {
private:
void Draw(SkCanvas* sk_canvas, const gfx::Size& texture_size) override;
+ const ColorScheme& color_scheme() const;
gfx::SizeF size_;
};

Powered by Google App Engine
This is Rietveld 408576698