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

Side by Side Diff: ui/aura/test/mus/test_window_manager_client.h

Issue 2918553003: Implement a MoveCursorToScreenLocation for just the window manager. (Closed)
Patch Set: Thread to the PlatformWindow. Created 3 years, 6 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 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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_TEST_MUS_TEST_WINDOW_MANAGER_CLIENT_H_ 5 #ifndef UI_AURA_TEST_MUS_TEST_WINDOW_MANAGER_CLIENT_H_
6 #define UI_AURA_TEST_MUS_TEST_WINDOW_MANAGER_CLIENT_H_ 6 #define UI_AURA_TEST_MUS_TEST_WINDOW_MANAGER_CLIENT_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <vector> 10 #include <vector>
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 void WmRequestClose(Id transport_window_id) override; 51 void WmRequestClose(Id transport_window_id) override;
52 void WmSetFrameDecorationValues( 52 void WmSetFrameDecorationValues(
53 ui::mojom::FrameDecorationValuesPtr values) override; 53 ui::mojom::FrameDecorationValuesPtr values) override;
54 void WmSetNonClientCursor(uint32_t window_id, 54 void WmSetNonClientCursor(uint32_t window_id,
55 ui::CursorData cursor_data) override; 55 ui::CursorData cursor_data) override;
56 void WmLockCursor() override; 56 void WmLockCursor() override;
57 void WmUnlockCursor() override; 57 void WmUnlockCursor() override;
58 void WmSetCursorVisible(bool visible) override; 58 void WmSetCursorVisible(bool visible) override;
59 void WmSetGlobalOverrideCursor( 59 void WmSetGlobalOverrideCursor(
60 base::Optional<ui::CursorData> cursor) override; 60 base::Optional<ui::CursorData> cursor) override;
61 void WmMoveCursorToDisplayLocation(const gfx::Point& display_pixels,
62 int64_t display_id) override;
61 void OnWmCreatedTopLevelWindow(uint32_t change_id, 63 void OnWmCreatedTopLevelWindow(uint32_t change_id,
62 Id transport_window_id) override; 64 Id transport_window_id) override;
63 void OnAcceleratorAck( 65 void OnAcceleratorAck(
64 uint32_t event_id, 66 uint32_t event_id,
65 ui::mojom::EventResult result, 67 ui::mojom::EventResult result,
66 const std::unordered_map<std::string, std::vector<uint8_t>>& properties) 68 const std::unordered_map<std::string, std::vector<uint8_t>>& properties)
67 override; 69 override;
68 70
69 std::vector<WindowManagerClientChangeType> changes_; 71 std::vector<WindowManagerClientChangeType> changes_;
70 72
71 DISALLOW_COPY_AND_ASSIGN(TestWindowManagerClient); 73 DISALLOW_COPY_AND_ASSIGN(TestWindowManagerClient);
72 }; 74 };
73 75
74 } // namespace aura 76 } // namespace aura
75 77
76 #endif // UI_AURA_TEST_MUS_TEST_WINDOW_MANAGER_CLIENT_H_ 78 #endif // UI_AURA_TEST_MUS_TEST_WINDOW_MANAGER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698