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

Unified Diff: ui/native_theme/native_theme_win_dark.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: fix win, linux, android compiles issues 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
Index: ui/native_theme/native_theme_win_dark.h
diff --git a/ui/native_theme/native_theme_win_dark.h b/ui/native_theme/native_theme_win_dark.h
new file mode 100644
index 0000000000000000000000000000000000000000..9270d9c9bb0f94bb5a7702781fd3650c4051fb8d
--- /dev/null
+++ b/ui/native_theme/native_theme_win_dark.h
@@ -0,0 +1,30 @@
+// 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_WIN_DARK_H_
+#define UI_NATIVE_THEME_NATIVE_THEME_WIN_DARK_H_
+
+#include "base/basictypes.h"
+#include "base/compiler_specific.h"
+#include "ui/native_theme/native_theme_win.h"
+
+namespace ui {
+
+class NATIVE_THEME_EXPORT NativeThemeWinDark : public NativeThemeWin {
+ public:
+ static NativeThemeWinDark* instance();
+
+ private:
+ NativeThemeWinDark();
+ ~NativeThemeWinDark() override;
+
+ // Overridden from NativeThemeBase:
+ SkColor GetSystemColor(ColorId color_id) const override;
+
+ DISALLOW_COPY_AND_ASSIGN(NativeThemeWinDark);
+};
+
+} // namespace ui
+
+#endif // UI_NATIVE_THEME_NATIVE_THEME_WIN_DARK_H_

Powered by Google App Engine
This is Rietveld 408576698