| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 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 #include "ui/native_theme/native_theme_gtk.h" | 5 #include "ui/native_theme/native_theme_gtk.h" |
| 6 | 6 |
| 7 #include <gtk/gtk.h> | 7 #include <gtk/gtk.h> |
| 8 | 8 |
| 9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
| 10 #include "base/logging.h" | 10 #include "base/logging.h" |
| 11 #include "ui/gfx/skia_utils_gtk.h" | 11 #include "ui/gfx/skia_utils_gtk.h" |
| 12 | 12 |
| 13 #error "The GTK+ port will be deleted later this week. If you are seeing this, y
ou are trying to compile it. Please check your gyp flags for 'use_aura=0' and re
move them." |
| 14 |
| 13 namespace { | 15 namespace { |
| 14 | 16 |
| 15 const SkColor kInvalidColorIdColor = SkColorSetRGB(255, 0, 128); | 17 const SkColor kInvalidColorIdColor = SkColorSetRGB(255, 0, 128); |
| 16 | 18 |
| 17 // Theme colors returned by GetSystemColor(). | 19 // Theme colors returned by GetSystemColor(). |
| 18 | 20 |
| 19 // FocusableBorder: | 21 // FocusableBorder: |
| 20 const SkColor kFocusedBorderColor = SkColorSetRGB(0x4D, 0x90, 0xFE); | 22 const SkColor kFocusedBorderColor = SkColorSetRGB(0x4D, 0x90, 0xFE); |
| 21 const SkColor kUnfocusedBorderColor = SkColorSetRGB(0xD9, 0xD9, 0xD9); | 23 const SkColor kUnfocusedBorderColor = SkColorSetRGB(0xD9, 0xD9, 0xD9); |
| 22 | 24 |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 99 return kInvalidColorIdColor; | 101 return kInvalidColorIdColor; |
| 100 } | 102 } |
| 101 | 103 |
| 102 NativeThemeGtk::NativeThemeGtk() { | 104 NativeThemeGtk::NativeThemeGtk() { |
| 103 } | 105 } |
| 104 | 106 |
| 105 NativeThemeGtk::~NativeThemeGtk() { | 107 NativeThemeGtk::~NativeThemeGtk() { |
| 106 } | 108 } |
| 107 | 109 |
| 108 } // namespace ui | 110 } // namespace ui |
| OLD | NEW |