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

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

Issue 11035050: Enable CursorManager::LockCursor to lock cursor visibility. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 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
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef ASH_WM_CURSOR_DELEGATE_H_
6 #define ASH_WM_CURSOR_DELEGATE_H_
7
8 #include "ash/ash_export.h"
9 #include "ui/gfx/native_widget_types.h"
10
11 namespace ash {
12
13 // This interface is implmented by a platform specific object that changes
14 // the cursor's image and visibility.
15 class ASH_EXPORT CursorDelegate {
16 public:
17 virtual void SetCursor(gfx::NativeCursor cursor) = 0;
18 virtual void ShowCursor(bool visible) = 0;
19
20 protected:
21 virtual ~CursorDelegate() {};
22 };
23
24 } // namespace aura
25
26 #endif // ASH_WM_CURSOR_DELEGATE_H_
OLDNEW
« no previous file with comments | « ash/shell.cc ('k') | ash/wm/cursor_manager.h » ('j') | ash/wm/cursor_manager.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698