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

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

Issue 1924703002: Rename gfx::Display/Screen to display::Display/Screen in ash (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « ash/utility/partial_screenshot_controller.cc ('k') | ash/wm/ash_native_cursor_manager.cc » ('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 ASH_WM_ASH_NATIVE_CURSOR_MANAGER_H_ 5 #ifndef ASH_WM_ASH_NATIVE_CURSOR_MANAGER_H_
6 #define ASH_WM_ASH_NATIVE_CURSOR_MANAGER_H_ 6 #define ASH_WM_ASH_NATIVE_CURSOR_MANAGER_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "ash/ash_export.h" 10 #include "ash/ash_export.h"
(...skipping 28 matching lines...) Expand all
39 // Toggle native cursor enabled/disabled. 39 // Toggle native cursor enabled/disabled.
40 // The native cursor is enabled by default. When disabled, we hide the native 40 // The native cursor is enabled by default. When disabled, we hide the native
41 // cursor regardless of visibility state, and let CursorWindowManager draw 41 // cursor regardless of visibility state, and let CursorWindowManager draw
42 // the cursor. 42 // the cursor.
43 void SetNativeCursorEnabled(bool enabled); 43 void SetNativeCursorEnabled(bool enabled);
44 44
45 private: 45 private:
46 friend class test::CursorManagerTestApi; 46 friend class test::CursorManagerTestApi;
47 47
48 // Overridden from ::wm::NativeCursorManager: 48 // Overridden from ::wm::NativeCursorManager:
49 void SetDisplay(const gfx::Display& display, 49 void SetDisplay(const display::Display& display,
50 ::wm::NativeCursorManagerDelegate* delegate) override; 50 ::wm::NativeCursorManagerDelegate* delegate) override;
51 void SetCursor(gfx::NativeCursor cursor, 51 void SetCursor(gfx::NativeCursor cursor,
52 ::wm::NativeCursorManagerDelegate* delegate) override; 52 ::wm::NativeCursorManagerDelegate* delegate) override;
53 void SetVisibility(bool visible, 53 void SetVisibility(bool visible,
54 ::wm::NativeCursorManagerDelegate* delegate) override; 54 ::wm::NativeCursorManagerDelegate* delegate) override;
55 void SetCursorSet(ui::CursorSetType cursor_set, 55 void SetCursorSet(ui::CursorSetType cursor_set,
56 ::wm::NativeCursorManagerDelegate* delegate) override; 56 ::wm::NativeCursorManagerDelegate* delegate) override;
57 void SetMouseEventsEnabled( 57 void SetMouseEventsEnabled(
58 bool enabled, 58 bool enabled,
59 ::wm::NativeCursorManagerDelegate* delegate) override; 59 ::wm::NativeCursorManagerDelegate* delegate) override;
60 60
61 // The cursor location where the cursor was disabled. 61 // The cursor location where the cursor was disabled.
62 gfx::Point disabled_cursor_location_; 62 gfx::Point disabled_cursor_location_;
63 63
64 bool native_cursor_enabled_; 64 bool native_cursor_enabled_;
65 65
66 std::unique_ptr<ui::ImageCursors> image_cursors_; 66 std::unique_ptr<ui::ImageCursors> image_cursors_;
67 67
68 DISALLOW_COPY_AND_ASSIGN(AshNativeCursorManager); 68 DISALLOW_COPY_AND_ASSIGN(AshNativeCursorManager);
69 }; 69 };
70 70
71 } // namespace ash 71 } // namespace ash
72 72
73 #endif // ASH_WM_ASH_NATIVE_CURSOR_MANAGER_H_ 73 #endif // ASH_WM_ASH_NATIVE_CURSOR_MANAGER_H_
OLDNEW
« no previous file with comments | « ash/utility/partial_screenshot_controller.cc ('k') | ash/wm/ash_native_cursor_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698