• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright (c) 2013 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_MAC_H_
6 #define UI_NATIVE_THEME_NATIVE_THEME_MAC_H_
7 
8 #include "ui/native_theme/fallback_theme.h"
9 #include "ui/native_theme/native_theme_export.h"
10 
11 namespace ui {
12 
13 // Mac implementation of native theme support.
14 // TODO(tapted): This should not use FallbackTheme. http://crbug.com/379086.
15 class NativeThemeMac : public FallbackTheme {
16  public:
17   static NativeThemeMac* instance();
18 
19   virtual SkColor GetSystemColor(ColorId color_id) const OVERRIDE;
20 
21  private:
22   NativeThemeMac();
23   virtual ~NativeThemeMac();
24 
25   DISALLOW_COPY_AND_ASSIGN(NativeThemeMac);
26 };
27 
28 }  // namespace ui
29 
30 #endif  // UI_NATIVE_THEME_NATIVE_THEME_MAC_H_
31