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

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

Issue 2857963003: Add {Lock,Unlock,Show,Hide}Cursor() to the window manager mojom. (Closed)
Patch Set: sky comments Created 3 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 | « ui/aura/mus/window_tree_client.cc ('k') | ui/aura/test/mus/test_window_manager_client.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 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 30 matching lines...) Expand all
41 bool is_primary_display, 41 bool is_primary_display,
42 Id window_id, 42 Id window_id,
43 const SetDisplayRootCallback& callback) override; 43 const SetDisplayRootCallback& callback) override;
44 void WmResponse(uint32_t change_id, bool response) override; 44 void WmResponse(uint32_t change_id, bool response) override;
45 void WmSetBoundsResponse(uint32_t change_id) override; 45 void WmSetBoundsResponse(uint32_t change_id) override;
46 void WmRequestClose(Id transport_window_id) override; 46 void WmRequestClose(Id transport_window_id) override;
47 void WmSetFrameDecorationValues( 47 void WmSetFrameDecorationValues(
48 ui::mojom::FrameDecorationValuesPtr values) override; 48 ui::mojom::FrameDecorationValuesPtr values) override;
49 void WmSetNonClientCursor(uint32_t window_id, 49 void WmSetNonClientCursor(uint32_t window_id,
50 ui::CursorData cursor_data) override; 50 ui::CursorData cursor_data) override;
51 void WmLockCursor() override;
52 void WmUnlockCursor() override;
53 void WmSetCursorVisible(bool visible) override;
54 void WmSetGlobalOverrideCursor(
55 base::Optional<ui::CursorData> cursor) override;
51 void OnWmCreatedTopLevelWindow(uint32_t change_id, 56 void OnWmCreatedTopLevelWindow(uint32_t change_id,
52 Id transport_window_id) override; 57 Id transport_window_id) override;
53 void OnAcceleratorAck( 58 void OnAcceleratorAck(
54 uint32_t event_id, 59 uint32_t event_id,
55 ui::mojom::EventResult result, 60 ui::mojom::EventResult result,
56 const std::unordered_map<std::string, std::vector<uint8_t>>& properties) 61 const std::unordered_map<std::string, std::vector<uint8_t>>& properties)
57 override; 62 override;
58 63
59 std::vector<WindowManagerClientChangeType> changes_; 64 std::vector<WindowManagerClientChangeType> changes_;
60 65
61 DISALLOW_COPY_AND_ASSIGN(TestWindowManagerClient); 66 DISALLOW_COPY_AND_ASSIGN(TestWindowManagerClient);
62 }; 67 };
63 68
64 } // namespace aura 69 } // namespace aura
65 70
66 #endif // UI_AURA_TEST_MUS_TEST_WINDOW_MANAGER_CLIENT_H_ 71 #endif // UI_AURA_TEST_MUS_TEST_WINDOW_MANAGER_CLIENT_H_
OLDNEW
« no previous file with comments | « ui/aura/mus/window_tree_client.cc ('k') | ui/aura/test/mus/test_window_manager_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698