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

Side by Side Diff: ui/gfx/native_theme_gtk.h

Issue 8597015: Add a new GetSystemColor method to native theme. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: move bug-check color constant out of header file Created 9 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_GFX_NATIVE_THEME_GTK_H_ 5 #ifndef UI_GFX_NATIVE_THEME_GTK_H_
6 #define UI_GFX_NATIVE_THEME_GTK_H_ 6 #define UI_GFX_NATIVE_THEME_GTK_H_
7 #pragma once 7 #pragma once
8 8
9 #include "ui/gfx/native_theme_base.h" 9 #include "ui/gfx/native_theme_base.h"
10 10
11 namespace gfx { 11 namespace gfx {
12 12
13 // GTK implementation of native theme support. 13 // GTK implementation of native theme support.
14 class NativeThemeGtk : public NativeThemeBase { 14 class NativeThemeGtk : public NativeThemeBase {
15 public: 15 public:
16 static const NativeThemeGtk* instance(); 16 static const NativeThemeGtk* instance();
17 17
18 virtual SkColor GetSystemColor(ColorId color_id) const OVERRIDE;
19
18 private: 20 private:
19 NativeThemeGtk(); 21 NativeThemeGtk();
20 virtual ~NativeThemeGtk(); 22 virtual ~NativeThemeGtk();
21 }; 23 };
22 24
23 } // namespace gfx 25 } // namespace gfx
24 26
25 #endif // UI_GFX_NATIVE_THEME_GTK_H_ 27 #endif // UI_GFX_NATIVE_THEME_GTK_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698