Enable right clicking on the applist doodle web contents and log the data.
[chromium-blink-merge.git] / ui / base / cursor / cursor_loader_win.h
blobc886af0a633136ff4608fe153ecc721a6d236d45
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 virtual ~CursorLoaderWin();
18 // Overridden from CursorLoader:
19 virtual void LoadImageCursor(int id,
20 int resource_id,
21 const gfx::Point& hot) override;
22 virtual void LoadAnimatedCursor(int id,
23 int resource_id,
24 const gfx::Point& hot,
25 int frame_delay_ms) override;
26 virtual void UnloadAll() override;
27 virtual void SetPlatformCursor(gfx::NativeCursor* cursor) override;
29 // Used to pass the cursor resource module name to the cursor loader. This is
30 // typically used to load non system cursors.
31 static void SetCursorResourceModule(const base::string16& module_name);
33 private:
34 DISALLOW_COPY_AND_ASSIGN(CursorLoaderWin);
37 } // namespace ui
39 #endif // UI_BASE_CURSOR_CURSOR_LOADER_WIN_H_