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

Unified Diff: ui/base/cursor/cursor_loader_win.h

Issue 10919135: Move ash specific cursor code to CursorManager. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/base/cursor/cursor_loader.h ('k') | ui/base/cursor/cursor_loader_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/cursor/cursor_loader_win.h
diff --git a/ui/base/cursor/cursor_loader_win.h b/ui/base/cursor/cursor_loader_win.h
new file mode 100644
index 0000000000000000000000000000000000000000..64472830844f012dc081cf926704f3d973c41fe4
--- /dev/null
+++ b/ui/base/cursor/cursor_loader_win.h
@@ -0,0 +1,35 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef UI_BASE_CURSOR_CURSOR_LOADER_WIN_H_
+#define UI_BASE_CURSOR_CURSOR_LOADER_WIN_H_
+
+#include "base/compiler_specific.h"
+#include "ui/base/cursor/cursor_loader.h"
+
+namespace ui {
+
+class CursorLoaderWin : public CursorLoader {
+ public:
+ CursorLoaderWin();
+ virtual ~CursorLoaderWin();
+
+ // Overridden from CursorLoader:
+ virtual void LoadImageCursor(int id,
+ int resource_id,
+ const gfx::Point& hot) OVERRIDE;
+ virtual void LoadAnimatedCursor(int id,
+ int resource_id,
+ const gfx::Point& hot,
+ int frame_delay_ms) OVERRIDE;
+ virtual void UnloadAll() OVERRIDE;
+ virtual void SetPlatformCursor(gfx::NativeCursor* cursor) OVERRIDE;
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(CursorLoaderWin);
+};
+
+} // namespace ui
+
+#endif // UI_BASE_CURSOR_CURSOR_LOADER_WIN_H_
« no previous file with comments | « ui/base/cursor/cursor_loader.h ('k') | ui/base/cursor/cursor_loader_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698