Index: ui/native_theme/native_theme_aura_dark.h |
diff --git a/ui/native_theme/native_theme_aura_dark.h b/ui/native_theme/native_theme_aura_dark.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..19f0a787913a484bb5c2ce037bbd5e5a9b2f4a18 |
--- /dev/null |
+++ b/ui/native_theme/native_theme_aura_dark.h |
@@ -0,0 +1,32 @@ |
+// 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_AURA_OFF_THE_RECORD_H_ |
+#define UI_NATIVE_THEME_NATIVE_THEME_AURA_OFF_THE_RECORD_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 NativeThemeAuraDark : public NativeThemeAura { |
Peter Kasting
2015/11/11 00:34:46
I'm a bit concerned that on Windows we're proposin
Evan Stade
2015/11/11 01:05:32
Well, incognito ? x : y doesn't sound that viable
Peter Kasting
2015/11/11 01:25:47
It'd mean we'd have to pass in relevant state. Th
Evan Stade
2015/11/11 01:32:30
So are you happy starting off with this plan?
FWI
|
+ public: |
+ static NativeThemeAuraDark* instance(); |
+ |
+ protected: |
+ NativeThemeAuraDark(); |
+ ~NativeThemeAuraDark() override; |
+ |
+ // Overridden from NativeThemeBase: |
+ SkColor GetSystemColor(ColorId color_id) const override; |
+ |
+ private: |
+ DISALLOW_COPY_AND_ASSIGN(NativeThemeAuraDark); |
+}; |
+ |
+} // namespace ui |
+ |
+#endif // UI_NATIVE_THEME_NATIVE_THEME_AURA_H_ |