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

Side by Side Diff: ui/wm/public/cursor_delegate.h

Issue 209383003: Move wm/public into wm target (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 8 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/wm/public/animation_host.h ('k') | ui/wm/public/dispatcher_client.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_WM_PUBLIC_CURSOR_DELEGATE_H_ 5 #ifndef UI_WM_PUBLIC_CURSOR_DELEGATE_H_
6 #define UI_WM_PUBLIC_CURSOR_DELEGATE_H_ 6 #define UI_WM_PUBLIC_CURSOR_DELEGATE_H_
7 7
8 #include "ui/gfx/native_widget_types.h" 8 #include "ui/gfx/native_widget_types.h"
9 #include "ui/wm/core/wm_core_export.h" 9 #include "ui/wm/wm_export.h"
10 10
11 namespace aura { 11 namespace aura {
12 class Window; 12 class Window;
13 } 13 }
14 14
15 namespace gfx { 15 namespace gfx {
16 class Point; 16 class Point;
17 } 17 }
18 18
19 namespace wm { 19 namespace wm {
20 20
21 class WM_CORE_EXPORT CursorDelegate { 21 class WM_EXPORT CursorDelegate {
22 public: 22 public:
23 virtual gfx::NativeCursor GetCursorForPoint(const gfx::Point& point) = 0; 23 virtual gfx::NativeCursor GetCursorForPoint(const gfx::Point& point) = 0;
24 24
25 protected: 25 protected:
26 virtual ~CursorDelegate() {} 26 virtual ~CursorDelegate() {}
27 }; 27 };
28 28
29 WM_CORE_EXPORT void SetCursorDelegate(aura::Window* window, 29 WM_EXPORT void SetCursorDelegate(aura::Window* window,
30 CursorDelegate* delegate); 30 CursorDelegate* delegate);
31 WM_CORE_EXPORT CursorDelegate* GetCursorDelegate(aura::Window* window); 31 WM_EXPORT CursorDelegate* GetCursorDelegate(aura::Window* window);
32 32
33 } // namespace wm 33 } // namespace wm
34 34
35 #endif // UI_WM_PUBLIC_CURSOR_DELEGATE_H_ 35 #endif // UI_WM_PUBLIC_CURSOR_DELEGATE_H_
OLDNEW
« no previous file with comments | « ui/wm/public/animation_host.h ('k') | ui/wm/public/dispatcher_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698