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

Side by Side Diff: ui/views/widget/desktop_aura/desktop_native_cursor_manager.h

Issue 145313003: Implement cursor compositing mode on Ash (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Get rid of current_cursor_set_ and requested_cursor_set_ Created 6 years, 10 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
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_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_CURSOR_MANAGER_H_ 5 #ifndef UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_CURSOR_MANAGER_H_
6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_CURSOR_MANAGER_H_ 6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_CURSOR_MANAGER_H_
7 7
8 #include <set> 8 #include <set>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 views::corewm::NativeCursorManagerDelegate* delegate) OVERRIDE; 59 views::corewm::NativeCursorManagerDelegate* delegate) OVERRIDE;
60 virtual void SetCursorSet( 60 virtual void SetCursorSet(
61 ui::CursorSetType cursor_set, 61 ui::CursorSetType cursor_set,
62 views::corewm::NativeCursorManagerDelegate* delegate) OVERRIDE; 62 views::corewm::NativeCursorManagerDelegate* delegate) OVERRIDE;
63 virtual void SetScale( 63 virtual void SetScale(
64 float scale, 64 float scale,
65 views::corewm::NativeCursorManagerDelegate* delegate) OVERRIDE; 65 views::corewm::NativeCursorManagerDelegate* delegate) OVERRIDE;
66 virtual void SetMouseEventsEnabled( 66 virtual void SetMouseEventsEnabled(
67 bool enabled, 67 bool enabled,
68 views::corewm::NativeCursorManagerDelegate* delegate) OVERRIDE; 68 views::corewm::NativeCursorManagerDelegate* delegate) OVERRIDE;
69 virtual void SetNativeCursorEnabled(
70 bool enabled,
71 views::corewm::NativeCursorManagerDelegate* delegate) OVERRIDE;
69 72
70 // The set of root windows to notify of changes in cursor state. 73 // The set of root windows to notify of changes in cursor state.
71 typedef std::set<aura::RootWindow*> RootWindows; 74 typedef std::set<aura::RootWindow*> RootWindows;
72 RootWindows root_windows_; 75 RootWindows root_windows_;
73 76
74 scoped_ptr<DesktopCursorLoaderUpdater> cursor_loader_updater_; 77 scoped_ptr<DesktopCursorLoaderUpdater> cursor_loader_updater_;
75 scoped_ptr<ui::CursorLoader> cursor_loader_; 78 scoped_ptr<ui::CursorLoader> cursor_loader_;
76 79
77 DISALLOW_COPY_AND_ASSIGN(DesktopNativeCursorManager); 80 DISALLOW_COPY_AND_ASSIGN(DesktopNativeCursorManager);
78 }; 81 };
79 82
80 } // namespace views 83 } // namespace views
81 84
82 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_CURSOR_MANAGER_H_ 85 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_CURSOR_MANAGER_H_
83 86
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698