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

Side by Side 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 unified diff | 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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_DARK_AURA_H_
6 #define UI_NATIVE_THEME_NATIVE_THEME_DARK_AURA_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 NativeThemeDarkAura : public NativeThemeAura {
16 public:
17 static NativeThemeDarkAura* instance();
18
19 // Overridden from NativeThemeBase:
20 SkColor GetSystemColor(ColorId color_id) const override;
21
22 private:
23 NativeThemeDarkAura();
24 ~NativeThemeDarkAura() override;
25
26 DISALLOW_COPY_AND_ASSIGN(NativeThemeDarkAura);
27 };
28
29 } // namespace ui
30
31 #endif // UI_NATIVE_THEME_NATIVE_THEME_DARK_AURA_H_
OLDNEW
« 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