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

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

Issue 1891413002: mash: Convert OnWindowInputEventAck to use an enum for handled status (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: missed a file 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 #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 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 uint32_t window_id, 136 uint32_t window_id,
137 mus::mojom::Cursor cursor_id) {} 137 mus::mojom::Cursor cursor_id) {}
138 138
139 void TestWindowTree::SetWindowTextInputState(uint32_t window_id, 139 void TestWindowTree::SetWindowTextInputState(uint32_t window_id,
140 mojo::TextInputStatePtr state) {} 140 mojo::TextInputStatePtr state) {}
141 141
142 void TestWindowTree::SetImeVisibility(uint32_t window_id, 142 void TestWindowTree::SetImeVisibility(uint32_t window_id,
143 bool visible, 143 bool visible,
144 mojo::TextInputStatePtr state) {} 144 mojo::TextInputStatePtr state) {}
145 145
146 void TestWindowTree::OnWindowInputEventAck(uint32_t event_id, bool handled) { 146 void TestWindowTree::OnWindowInputEventAck(uint32_t event_id,
147 mus::mojom::EventResult result) {
147 EXPECT_FALSE(acked_events_.count(event_id)); 148 EXPECT_FALSE(acked_events_.count(event_id));
148 acked_events_.insert(event_id); 149 acked_events_.insert(event_id);
149 } 150 }
150 151
151 void TestWindowTree::GetWindowManagerClient( 152 void TestWindowTree::GetWindowManagerClient(
152 mojo::AssociatedInterfaceRequest<mojom::WindowManagerClient> internal) {} 153 mojo::AssociatedInterfaceRequest<mojom::WindowManagerClient> internal) {}
153 154
154 } // namespace mus 155 } // namespace mus
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698