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_BASE_CURSOR_CURSOR_LOADER_WIN_H_
6 #define UI_BASE_CURSOR_CURSOR_LOADER_WIN_H_
8 #include "base/compiler_specific.h"
9 #include "ui/base/cursor/cursor_loader.h"
13 class UI_BASE_EXPORT CursorLoaderWin
: public CursorLoader
{
16 ~CursorLoaderWin() override
;
18 // Overridden from CursorLoader:
19 void LoadImageCursor(int id
, int resource_id
, const gfx::Point
& hot
) override
;
20 void LoadAnimatedCursor(int id
,
22 const gfx::Point
& hot
,
23 int frame_delay_ms
) override
;
24 void UnloadAll() override
;
25 void SetPlatformCursor(gfx::NativeCursor
* cursor
) override
;
27 // Used to pass the cursor resource module name to the cursor loader. This is
28 // typically used to load non system cursors.
29 static void SetCursorResourceModule(const base::string16
& module_name
);
32 DISALLOW_COPY_AND_ASSIGN(CursorLoaderWin
);
37 #endif // UI_BASE_CURSOR_CURSOR_LOADER_WIN_H_