Chromium Code Reviews| Index: ui/base/x/x11_util.h |
| diff --git a/ui/base/x/x11_util.h b/ui/base/x/x11_util.h |
| index 519e2355850278a99471d86aada0f35824a71a1e..269a5f5d4f5f5e236b859550fbff90c332bcf90d 100644 |
| --- a/ui/base/x/x11_util.h |
| +++ b/ui/base/x/x11_util.h |
| @@ -68,6 +68,10 @@ UI_EXPORT bool QueryRenderSupport(Display* dpy); |
| // Return the default screen number for the display |
| int GetDefaultScreen(Display* display); |
| +// TODO(xiyuan): Fix the stale XCursorCache problem properly. |
| +// A special cursor that makes GetXCursor below to clear its XCursorCache. |
| +extern const int kCursorClearXCursorCache; |
|
oshima
2011/11/04 20:40:08
just using const int is more common
http://www.go
xiyuan
2011/11/04 22:40:21
Done.
|
| + |
| // Returns an X11 Cursor, sharable across the process. |
| // |cursor_shape| is an X font cursor shape, see XCreateFontCursor(). |
| UI_EXPORT Cursor GetXCursor(int cursor_shape); |