OLD | NEW |
(Empty) | |
| 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. |
| 4 |
| 5 #ifndef UI_BASE_CURSOR_CURSOR_LOADER_WIN_H_ |
| 6 #define UI_BASE_CURSOR_CURSOR_LOADER_WIN_H_ |
| 7 |
| 8 #include "base/compiler_specific.h" |
| 9 #include "ui/base/cursor/cursor_loader.h" |
| 10 |
| 11 namespace ui { |
| 12 |
| 13 class CursorLoaderWin : public CursorLoader { |
| 14 public: |
| 15 CursorLoaderWin(); |
| 16 virtual ~CursorLoaderWin(); |
| 17 |
| 18 // Overridden from CursorLoader: |
| 19 virtual void LoadImageCursor( |
| 20 int id, int resource_id, int hot_x, int hot_y) OVERRIDE; |
| 21 virtual void LoadAnimatedCursor( |
| 22 int id, int resource_id, int hot_x, int hot_y) OVERRIDE; |
| 23 virtual void UnloadAll() OVERRIDE; |
| 24 virtual void SetPlatformCursor(gfx::NativeCursor* cursor) OVERRIDE; |
| 25 virtual void HideHostCursor() OVERRIDE; |
| 26 |
| 27 private: |
| 28 DISALLOW_COPY_AND_ASSIGN(CursorLoaderWin); |
| 29 }; |
| 30 |
| 31 } // namespace ui |
| 32 |
| 33 #endif // UI_BASE_CURSOR_CURSOR_LOADER_WIN_H_ |
OLD | NEW |