OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef UI_NATIVE_THEME_NATIVE_THEME_AURA_OFF_THE_RECORD_H_ | |
6 #define UI_NATIVE_THEME_NATIVE_THEME_AURA_OFF_THE_RECORD_H_ | |
7 | |
8 #include "base/macros.h" | |
9 #include "ui/native_theme/native_theme_aura.h" | |
10 | |
11 namespace ui { | |
12 | |
13 // Aura implementation of native theme support for dark mode (used for | |
14 // incognito). | |
15 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
| |
16 public: | |
17 static NativeThemeAuraDark* instance(); | |
18 | |
19 protected: | |
20 NativeThemeAuraDark(); | |
21 ~NativeThemeAuraDark() override; | |
22 | |
23 // Overridden from NativeThemeBase: | |
24 SkColor GetSystemColor(ColorId color_id) const override; | |
25 | |
26 private: | |
27 DISALLOW_COPY_AND_ASSIGN(NativeThemeAuraDark); | |
28 }; | |
29 | |
30 } // namespace ui | |
31 | |
32 #endif // UI_NATIVE_THEME_NATIVE_THEME_AURA_H_ | |
OLD | NEW |