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

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

Issue 1749323002: Update WindowTree::OnWindowInputEventAck to include handled (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Missing Component Build DEPS Created 4 years, 9 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 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 uint32_t window_id, 125 uint32_t window_id,
126 mus::mojom::Cursor cursor_id) {} 126 mus::mojom::Cursor cursor_id) {}
127 127
128 void TestWindowTree::SetWindowTextInputState(uint32_t window_id, 128 void TestWindowTree::SetWindowTextInputState(uint32_t window_id,
129 mojo::TextInputStatePtr state) {} 129 mojo::TextInputStatePtr state) {}
130 130
131 void TestWindowTree::SetImeVisibility(uint32_t window_id, 131 void TestWindowTree::SetImeVisibility(uint32_t window_id,
132 bool visible, 132 bool visible,
133 mojo::TextInputStatePtr state) {} 133 mojo::TextInputStatePtr state) {}
134 134
135 void TestWindowTree::OnWindowInputEventAck(uint32_t event_id) { 135 void TestWindowTree::OnWindowInputEventAck(uint32_t event_id, bool handled) {
136 EXPECT_FALSE(acked_events_.count(event_id)); 136 EXPECT_FALSE(acked_events_.count(event_id));
137 acked_events_.insert(event_id); 137 acked_events_.insert(event_id);
138 } 138 }
139 139
140 void TestWindowTree::GetWindowManagerClient( 140 void TestWindowTree::GetWindowManagerClient(
141 mojo::AssociatedInterfaceRequest<mojom::WindowManagerClient> internal) {} 141 mojo::AssociatedInterfaceRequest<mojom::WindowManagerClient> internal) {}
142 142
143 } // namespace mus 143 } // namespace mus
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698