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

Side by Side Diff: components/mus/public/cpp/tests/test_window_tree.h

Issue 1881253002: mus: Implement ScreenMus::GetCursorScreenPoint(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: test mocks too Created 4 years, 8 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 COMPONENTS_MUS_PUBLIC_CPP_TESTS_TEST_WINDOW_TREE_H_ 5 #ifndef COMPONENTS_MUS_PUBLIC_CPP_TESTS_TEST_WINDOW_TREE_H_
6 #define COMPONENTS_MUS_PUBLIC_CPP_TESTS_TEST_WINDOW_TREE_H_ 6 #define COMPONENTS_MUS_PUBLIC_CPP_TESTS_TEST_WINDOW_TREE_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <set> 10 #include <set>
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 mus::mojom::Cursor cursor_id) override; 87 mus::mojom::Cursor cursor_id) override;
88 void SetWindowTextInputState(uint32_t window_id, 88 void SetWindowTextInputState(uint32_t window_id,
89 mojo::TextInputStatePtr state) override; 89 mojo::TextInputStatePtr state) override;
90 void SetImeVisibility(uint32_t window_id, 90 void SetImeVisibility(uint32_t window_id,
91 bool visible, 91 bool visible,
92 mojo::TextInputStatePtr state) override; 92 mojo::TextInputStatePtr state) override;
93 void OnWindowInputEventAck(uint32_t event_id, bool handled) override; 93 void OnWindowInputEventAck(uint32_t event_id, bool handled) override;
94 void GetWindowManagerClient( 94 void GetWindowManagerClient(
95 mojo::AssociatedInterfaceRequest<mojom::WindowManagerClient> internal) 95 mojo::AssociatedInterfaceRequest<mojom::WindowManagerClient> internal)
96 override; 96 override;
97 void GetCursorScreenPoint(const GetCursorScreenPointCallback& callback)
98 override;
97 99
98 bool got_change_; 100 bool got_change_;
99 uint32_t change_id_; 101 uint32_t change_id_;
100 std::set<uint32_t> acked_events_; 102 std::set<uint32_t> acked_events_;
101 uint32_t window_id_; 103 uint32_t window_id_;
102 104
103 DISALLOW_COPY_AND_ASSIGN(TestWindowTree); 105 DISALLOW_COPY_AND_ASSIGN(TestWindowTree);
104 }; 106 };
105 107
106 } // namespace mus 108 } // namespace mus
107 109
108 #endif // COMPONENTS_MUS_PUBLIC_CPP_TESTS_TEST_WINDOW_TREE_H_ 110 #endif // COMPONENTS_MUS_PUBLIC_CPP_TESTS_TEST_WINDOW_TREE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698