OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef UI_BASE_CURSOR_CURSOR_LOADER_NULL_H_ | 5 #ifndef UI_BASE_CURSOR_CURSOR_LOADER_NULL_H_ |
6 #define UI_BASE_CURSOR_CURSOR_LOADER_NULL_H_ | 6 #define UI_BASE_CURSOR_CURSOR_LOADER_NULL_H_ |
7 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "ui/base/cursor/cursor_loader.h" | 9 #include "ui/base/cursor/cursor_loader.h" |
10 #include "ui/base/ui_export.h" | 10 #include "ui/base/ui_base_export.h" |
11 | 11 |
12 namespace ui { | 12 namespace ui { |
13 | 13 |
14 class UI_EXPORT CursorLoaderNull : public CursorLoader { | 14 class UI_BASE_EXPORT CursorLoaderNull : public CursorLoader { |
15 public: | 15 public: |
16 CursorLoaderNull(); | 16 CursorLoaderNull(); |
17 virtual ~CursorLoaderNull(); | 17 virtual ~CursorLoaderNull(); |
18 | 18 |
19 // Overridden from CursorLoader: | 19 // Overridden from CursorLoader: |
20 virtual void LoadImageCursor(int id, | 20 virtual void LoadImageCursor(int id, |
21 int resource_id, | 21 int resource_id, |
22 const gfx::Point& hot) OVERRIDE; | 22 const gfx::Point& hot) OVERRIDE; |
23 virtual void LoadAnimatedCursor(int id, | 23 virtual void LoadAnimatedCursor(int id, |
24 int resource_id, | 24 int resource_id, |
25 const gfx::Point& hot, | 25 const gfx::Point& hot, |
26 int frame_delay_ms) OVERRIDE; | 26 int frame_delay_ms) OVERRIDE; |
27 virtual void UnloadAll() OVERRIDE; | 27 virtual void UnloadAll() OVERRIDE; |
28 virtual void SetPlatformCursor(gfx::NativeCursor* cursor) OVERRIDE; | 28 virtual void SetPlatformCursor(gfx::NativeCursor* cursor) OVERRIDE; |
29 | 29 |
30 private: | 30 private: |
31 DISALLOW_COPY_AND_ASSIGN(CursorLoaderNull); | 31 DISALLOW_COPY_AND_ASSIGN(CursorLoaderNull); |
32 }; | 32 }; |
33 | 33 |
34 } // namespace ui | 34 } // namespace ui |
35 | 35 |
36 #endif // UI_BASE_CURSOR_CURSOR_LOADER_NULL_H_ | 36 #endif // UI_BASE_CURSOR_CURSOR_LOADER_NULL_H_ |
OLD | NEW |