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

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

Issue 1677513002: mus Window Server: implement event capture (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 #include "components/mus/public/cpp/tests/test_window_tree.h" 5 #include "components/mus/public/cpp/tests/test_window_tree.h"
6 6
7 #include "testing/gtest/include/gtest/gtest.h" 7 #include "testing/gtest/include/gtest/gtest.h"
8 8
9 namespace mus { 9 namespace mus {
10 10
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 uint32_t transient_window_id) {} 92 uint32_t transient_window_id) {}
93 93
94 void TestWindowTree::ReorderWindow(uint32_t change_id, 94 void TestWindowTree::ReorderWindow(uint32_t change_id,
95 uint32_t window_id, 95 uint32_t window_id,
96 uint32_t relative_window_id, 96 uint32_t relative_window_id,
97 mojom::OrderDirection direction) {} 97 mojom::OrderDirection direction) {}
98 98
99 void TestWindowTree::GetWindowTree(uint32_t window_id, 99 void TestWindowTree::GetWindowTree(uint32_t window_id,
100 const GetWindowTreeCallback& callback) {} 100 const GetWindowTreeCallback& callback) {}
101 101
102 void TestWindowTree::SetCapture(uint32_t change_id, uint32_t window_id) {}
103
104 void TestWindowTree::ReleaseCapture(uint32_t change_id, uint32_t window_id) {}
105
102 void TestWindowTree::Embed(uint32_t window_id, 106 void TestWindowTree::Embed(uint32_t window_id,
103 mojom::WindowTreeClientPtr client, 107 mojom::WindowTreeClientPtr client,
104 uint32_t policy_bitmask, 108 uint32_t policy_bitmask,
105 const EmbedCallback& callback) {} 109 const EmbedCallback& callback) {}
106 110
107 void TestWindowTree::SetFocus(uint32_t change_id, uint32_t window_id) { 111 void TestWindowTree::SetFocus(uint32_t change_id, uint32_t window_id) {
108 got_change_ = true; 112 got_change_ = true;
109 change_id_ = change_id; 113 change_id_ = change_id;
110 } 114 }
111 115
(...skipping 12 matching lines...) Expand all
124 128
125 void TestWindowTree::OnWindowInputEventAck(uint32_t event_id) { 129 void TestWindowTree::OnWindowInputEventAck(uint32_t event_id) {
126 EXPECT_FALSE(acked_events_.count(event_id)); 130 EXPECT_FALSE(acked_events_.count(event_id));
127 acked_events_.insert(event_id); 131 acked_events_.insert(event_id);
128 } 132 }
129 133
130 void TestWindowTree::GetWindowManagerClient( 134 void TestWindowTree::GetWindowManagerClient(
131 mojo::AssociatedInterfaceRequest<mojom::WindowManagerClient> internal) {} 135 mojo::AssociatedInterfaceRequest<mojom::WindowManagerClient> internal) {}
132 136
133 } // namespace mus 137 } // namespace mus
OLDNEW
« no previous file with comments | « components/mus/public/cpp/tests/test_window_tree.h ('k') | components/mus/public/interfaces/window_tree.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698