Adding wrapper class WKBackForwardListItemHolder
[chromium-blink-merge.git] / ui / base / cursor / cursor_loader_win.h
blobfe36da32b781d187506472399a9ffdaeb234a178
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"
11 namespace ui {
13 class UI_BASE_EXPORT CursorLoaderWin : public CursorLoader {
14 public:
15 CursorLoaderWin();
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,
21 int resource_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);
31 private:
32 DISALLOW_COPY_AND_ASSIGN(CursorLoaderWin);
35 } // namespace ui
37 #endif // UI_BASE_CURSOR_CURSOR_LOADER_WIN_H_