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 #ifndef UI_GFX_GTK_UTIL_H_ | 5 #ifndef UI_GFX_GTK_UTIL_H_ |
6 #define UI_GFX_GTK_UTIL_H_ | 6 #define UI_GFX_GTK_UTIL_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/time/time.h" | 10 #include "base/time/time.h" |
11 #include "ui/base/ui_export.h" | 11 #include "ui/gfx/gfx_export.h" |
12 | 12 |
13 typedef struct _GdkPixbuf GdkPixbuf; | 13 typedef struct _GdkPixbuf GdkPixbuf; |
14 typedef struct _GdkRegion GdkRegion; | 14 typedef struct _GdkRegion GdkRegion; |
15 typedef struct _GdkCursor GdkCursor; | 15 typedef struct _GdkCursor GdkCursor; |
16 | 16 |
17 class CommandLine; | 17 class CommandLine; |
18 class SkBitmap; | 18 class SkBitmap; |
19 | 19 |
20 namespace gfx { | 20 namespace gfx { |
21 | 21 |
(...skipping 21 matching lines...) Expand all Loading... |
43 // Initialize some GTK settings so that our dialogs are consistent. | 43 // Initialize some GTK settings so that our dialogs are consistent. |
44 UI_EXPORT void InitRCStyles(); | 44 UI_EXPORT void InitRCStyles(); |
45 | 45 |
46 // Queries GtkSettings for the cursor blink cycle time. Returns a 0 duration if | 46 // Queries GtkSettings for the cursor blink cycle time. Returns a 0 duration if |
47 // blinking is disabled. | 47 // blinking is disabled. |
48 UI_EXPORT base::TimeDelta GetCursorBlinkCycle(); | 48 UI_EXPORT base::TimeDelta GetCursorBlinkCycle(); |
49 | 49 |
50 } // namespace gfx | 50 } // namespace gfx |
51 | 51 |
52 #endif // UI_GFX_GTK_UTIL_H_ | 52 #endif // UI_GFX_GTK_UTIL_H_ |
OLD | NEW |