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

Side by Side Diff: ui/native_theme/native_theme_mac.h

Issue 303543004: MacViews: views_examples_with_content_exe working! Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add files Created 6 years, 6 months 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 | Annotate | Revision Log
« no previous file with comments | « ui/native_theme/native_theme_aura.cc ('k') | ui/native_theme/native_theme_mac.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_NATIVE_THEME_NATIVE_THEME_MAC_H_ 5 #ifndef UI_NATIVE_THEME_NATIVE_THEME_MAC_H_
6 #define UI_NATIVE_THEME_NATIVE_THEME_MAC_H_ 6 #define UI_NATIVE_THEME_NATIVE_THEME_MAC_H_
7 7
8 #include "ui/native_theme/native_theme_base.h" 8 #include "ui/native_theme/fallback_theme.h"
9 #include "ui/native_theme/native_theme_export.h"
9 10
10 namespace ui { 11 namespace ui {
11 12
12 // Mac implementation of native theme support. 13 // Mac implementation of native theme support.
13 class NativeThemeMac : public NativeThemeBase { 14 // TODO(tapted): This should not use FallbackTheme.
15 class NATIVE_THEME_EXPORT NativeThemeMac : public FallbackTheme {
14 public: 16 public:
15 static NativeThemeMac* instance(); 17 static NativeThemeMac* instance();
16 18
17 virtual SkColor GetSystemColor(ColorId color_id) const OVERRIDE; 19 virtual SkColor GetSystemColor(ColorId color_id) const OVERRIDE;
18 20
19 private: 21 private:
20 NativeThemeMac(); 22 NativeThemeMac();
21 virtual ~NativeThemeMac(); 23 virtual ~NativeThemeMac();
22 24
23 DISALLOW_COPY_AND_ASSIGN(NativeThemeMac); 25 DISALLOW_COPY_AND_ASSIGN(NativeThemeMac);
24 }; 26 };
25 27
26 } // namespace ui 28 } // namespace ui
27 29
28 #endif // UI_NATIVE_THEME_NATIVE_THEME_MAC_H_ 30 #endif // UI_NATIVE_THEME_NATIVE_THEME_MAC_H_
OLDNEW
« no previous file with comments | « ui/native_theme/native_theme_aura.cc ('k') | ui/native_theme/native_theme_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698