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

Side by Side Diff: ash/wm/cursor_delegate.h

Issue 10692170: Aura desktop: Show resize cursors again. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase to ToT Created 8 years, 5 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 | « ash/tooltips/tooltip_controller_unittest.cc ('k') | ash/wm/cursor_manager.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_AURA_CURSOR_DELEGATE_H_ 5 #ifndef ASH_WM_CURSOR_DELEGATE_H_
6 #define UI_AURA_CURSOR_DELEGATE_H_ 6 #define ASH_WM_CURSOR_DELEGATE_H_
7 7
8 #include "ui/aura/aura_export.h" 8 #include "ash/ash_export.h"
9 #include "ui/gfx/native_widget_types.h" 9 #include "ui/gfx/native_widget_types.h"
10 10
11 namespace aura { 11 namespace ash {
12 12
13 // This interface is implmented by a platform specific object that changes 13 // This interface is implmented by a platform specific object that changes
14 // the cursor's image and visibility. 14 // the cursor's image and visibility.
15 class AURA_EXPORT CursorDelegate { 15 class ASH_EXPORT CursorDelegate {
16 public: 16 public:
17 virtual void SetCursor(gfx::NativeCursor cursor) = 0; 17 virtual void SetCursor(gfx::NativeCursor cursor) = 0;
18 virtual void ShowCursor(bool visible) = 0; 18 virtual void ShowCursor(bool visible) = 0;
19 19
20 protected: 20 protected:
21 virtual ~CursorDelegate() {}; 21 virtual ~CursorDelegate() {};
22 }; 22 };
23 23
24 } // namespace aura 24 } // namespace aura
25 25
26 #endif // UI_AURA_CURSOR_DELEGATE_H_ 26 #endif // ASH_WM_CURSOR_DELEGATE_H_
OLDNEW
« no previous file with comments | « ash/tooltips/tooltip_controller_unittest.cc ('k') | ash/wm/cursor_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698