Chromium Code Reviews| 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_ | |
|
sky
2015/11/12 21:58:28
Guards are off.
Evan Stade
2015/11/12 22:11:11
Oops. I guess that presubmit check isn't turned on
| |
| 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 { | |
| 16 public: | |
| 17 static NativeThemeAuraDark* instance(); | |
|
sky
2015/11/12 21:58:29
Should the renderer pick this up too if appropriat
Evan Stade
2015/11/12 22:11:11
I think probably not, but not entirely sure at the
| |
| 18 | |
| 19 // Overridden from NativeThemeBase: | |
| 20 SkColor GetSystemColor(ColorId color_id) const override; | |
| 21 | |
| 22 private: | |
| 23 NativeThemeAuraDark(); | |
| 24 ~NativeThemeAuraDark() override; | |
| 25 | |
| 26 DISALLOW_COPY_AND_ASSIGN(NativeThemeAuraDark); | |
| 27 }; | |
| 28 | |
| 29 } // namespace ui | |
| 30 | |
| 31 #endif // UI_NATIVE_THEME_NATIVE_THEME_AURA_H_ | |
| OLD | NEW |