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

Unified Diff: ui/native_theme/native_theme_dark_aura.h

Issue 1438513003: [MD] Implement incognito colors as a NativeTheme (for Aura). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: init param, pkasting feedback Created 5 years, 1 month 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
« no previous file with comments | « ui/native_theme/native_theme_aura.cc ('k') | ui/native_theme/native_theme_dark_aura.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/native_theme/native_theme_dark_aura.h
diff --git a/ui/native_theme/native_theme_dark_aura.h b/ui/native_theme/native_theme_dark_aura.h
new file mode 100644
index 0000000000000000000000000000000000000000..a014d7338f7539d3f748957e2a65131653da09ed
--- /dev/null
+++ b/ui/native_theme/native_theme_dark_aura.h
@@ -0,0 +1,31 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef UI_NATIVE_THEME_NATIVE_THEME_DARK_AURA_H_
+#define UI_NATIVE_THEME_NATIVE_THEME_DARK_AURA_H_
+
+#include "base/macros.h"
+#include "ui/native_theme/native_theme_aura.h"
+
+namespace ui {
+
+// Aura implementation of native theme support for dark mode (used for
+// incognito).
+class NATIVE_THEME_EXPORT NativeThemeDarkAura : public NativeThemeAura {
+ public:
+ static NativeThemeDarkAura* instance();
+
+ // Overridden from NativeThemeBase:
+ SkColor GetSystemColor(ColorId color_id) const override;
+
+ private:
+ NativeThemeDarkAura();
+ ~NativeThemeDarkAura() override;
+
+ DISALLOW_COPY_AND_ASSIGN(NativeThemeDarkAura);
+};
+
+} // namespace ui
+
+#endif // UI_NATIVE_THEME_NATIVE_THEME_DARK_AURA_H_
« no previous file with comments | « ui/native_theme/native_theme_aura.cc ('k') | ui/native_theme/native_theme_dark_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698