Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(145)

Side by Side Diff: ui/base/cursor/cursor_loader_win.h

Issue 93863005: ui: Rename ui_export.h to ui_base_export.h (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: UI_BASE_IMPLEMENTATION Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ui/base/cursor/cursor_loader_null.h ('k') | ui/base/cursor/cursor_loader_x11.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_WIN_H_ 5 #ifndef UI_BASE_CURSOR_CURSOR_LOADER_WIN_H_
6 #define UI_BASE_CURSOR_CURSOR_LOADER_WIN_H_ 6 #define UI_BASE_CURSOR_CURSOR_LOADER_WIN_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 10
11 namespace ui { 11 namespace ui {
12 12
13 class UI_EXPORT CursorLoaderWin : public CursorLoader { 13 class UI_BASE_EXPORT CursorLoaderWin : public CursorLoader {
14 public: 14 public:
15 CursorLoaderWin(); 15 CursorLoaderWin();
16 virtual ~CursorLoaderWin(); 16 virtual ~CursorLoaderWin();
17 17
18 // Overridden from CursorLoader: 18 // Overridden from CursorLoader:
19 virtual void LoadImageCursor(int id, 19 virtual void LoadImageCursor(int id,
20 int resource_id, 20 int resource_id,
21 const gfx::Point& hot) OVERRIDE; 21 const gfx::Point& hot) OVERRIDE;
22 virtual void LoadAnimatedCursor(int id, 22 virtual void LoadAnimatedCursor(int id,
23 int resource_id, 23 int resource_id,
24 const gfx::Point& hot, 24 const gfx::Point& hot,
25 int frame_delay_ms) OVERRIDE; 25 int frame_delay_ms) OVERRIDE;
26 virtual void UnloadAll() OVERRIDE; 26 virtual void UnloadAll() OVERRIDE;
27 virtual void SetPlatformCursor(gfx::NativeCursor* cursor) OVERRIDE; 27 virtual void SetPlatformCursor(gfx::NativeCursor* cursor) OVERRIDE;
28 28
29 #if defined(USE_AURA) 29 #if defined(USE_AURA)
30 // Used to pass the cursor resource module name to the cursor loader. This is 30 // Used to pass the cursor resource module name to the cursor loader. This is
31 // typically used to load non system cursors. 31 // typically used to load non system cursors.
32 static void SetCursorResourceModule(const base::string16& module_name); 32 static void SetCursorResourceModule(const base::string16& module_name);
33 #endif 33 #endif
34 34
35 private: 35 private:
36 DISALLOW_COPY_AND_ASSIGN(CursorLoaderWin); 36 DISALLOW_COPY_AND_ASSIGN(CursorLoaderWin);
37 }; 37 };
38 38
39 } // namespace ui 39 } // namespace ui
40 40
41 #endif // UI_BASE_CURSOR_CURSOR_LOADER_WIN_H_ 41 #endif // UI_BASE_CURSOR_CURSOR_LOADER_WIN_H_
OLDNEW
« no previous file with comments | « ui/base/cursor/cursor_loader_null.h ('k') | ui/base/cursor/cursor_loader_x11.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698