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

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

Issue 1915363002: Rename gfx::Display/Screen to display::Display/Screen in views/wm (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more cleanups Created 4 years, 7 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
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 <memory> 8 #include <memory>
9 #include <set> 9 #include <set>
10 10
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 gfx::NativeCursor GetInitializedCursor(int type); 43 gfx::NativeCursor GetInitializedCursor(int type);
44 44
45 // Adds |host| to the set |hosts_|. 45 // Adds |host| to the set |hosts_|.
46 void AddHost(aura::WindowTreeHost* host); 46 void AddHost(aura::WindowTreeHost* host);
47 47
48 // Removes |host| from the set |hosts_|. 48 // Removes |host| from the set |hosts_|.
49 void RemoveHost(aura::WindowTreeHost* host); 49 void RemoveHost(aura::WindowTreeHost* host);
50 50
51 private: 51 private:
52 // Overridden from wm::NativeCursorManager: 52 // Overridden from wm::NativeCursorManager:
53 void SetDisplay(const gfx::Display& display, 53 void SetDisplay(const display::Display& display,
54 wm::NativeCursorManagerDelegate* delegate) override; 54 wm::NativeCursorManagerDelegate* delegate) override;
55 void SetCursor(gfx::NativeCursor cursor, 55 void SetCursor(gfx::NativeCursor cursor,
56 wm::NativeCursorManagerDelegate* delegate) override; 56 wm::NativeCursorManagerDelegate* delegate) override;
57 void SetVisibility(bool visible, 57 void SetVisibility(bool visible,
58 wm::NativeCursorManagerDelegate* delegate) override; 58 wm::NativeCursorManagerDelegate* delegate) override;
59 void SetCursorSet(ui::CursorSetType cursor_set, 59 void SetCursorSet(ui::CursorSetType cursor_set,
60 wm::NativeCursorManagerDelegate* delegate) override; 60 wm::NativeCursorManagerDelegate* delegate) override;
61 void SetMouseEventsEnabled( 61 void SetMouseEventsEnabled(
62 bool enabled, 62 bool enabled,
63 wm::NativeCursorManagerDelegate* delegate) override; 63 wm::NativeCursorManagerDelegate* delegate) override;
64 64
65 // The set of hosts to notify of changes in cursor state. 65 // The set of hosts to notify of changes in cursor state.
66 typedef std::set<aura::WindowTreeHost*> Hosts; 66 typedef std::set<aura::WindowTreeHost*> Hosts;
67 Hosts hosts_; 67 Hosts hosts_;
68 68
69 std::unique_ptr<DesktopCursorLoaderUpdater> cursor_loader_updater_; 69 std::unique_ptr<DesktopCursorLoaderUpdater> cursor_loader_updater_;
70 std::unique_ptr<ui::CursorLoader> cursor_loader_; 70 std::unique_ptr<ui::CursorLoader> cursor_loader_;
71 71
72 DISALLOW_COPY_AND_ASSIGN(DesktopNativeCursorManager); 72 DISALLOW_COPY_AND_ASSIGN(DesktopNativeCursorManager);
73 }; 73 };
74 74
75 } // namespace views 75 } // namespace views
76 76
77 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_CURSOR_MANAGER_H_ 77 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_CURSOR_MANAGER_H_
78 78
OLDNEW
« no previous file with comments | « ui/views/widget/desktop_aura/desktop_factory_ozone.h ('k') | ui/views/widget/desktop_aura/desktop_native_cursor_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698