Don't crash when SimpleCache index is corrupt.
[chromium-blink-merge.git] / ui / native_theme / native_theme_gtk.h
blob05f5a8cd7b493350ae994077d1ed6b9fb3559bbb
1 // Copyright (c) 2012 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.
5 #ifndef UI_NATIVE_THEME_NATIVE_THEME_GTK_H_
6 #define UI_NATIVE_THEME_NATIVE_THEME_GTK_H_
8 #include "ui/native_theme/native_theme_base.h"
10 namespace ui {
12 // GTK implementation of native theme support.
13 class NativeThemeGtk : public NativeThemeBase {
14 public:
15 static NativeThemeGtk* instance();
17 virtual SkColor GetSystemColor(ColorId color_id) const OVERRIDE;
19 private:
20 NativeThemeGtk();
21 virtual ~NativeThemeGtk();
23 DISALLOW_COPY_AND_ASSIGN(NativeThemeGtk);
26 } // namespace ui
28 #endif // UI_NATIVE_THEME_NATIVE_THEME_GTK_H_