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

Side by Side Diff: services/ui/public/cpp/tests/test_window_tree.cc

Issue 2568303006: aura-mus: Implement Deactivate(). (Closed)
Patch Set: Add comment. Created 3 years, 11 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 "services/ui/public/cpp/tests/test_window_tree.h" 5 #include "services/ui/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 ui { 9 namespace ui {
10 10
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 void TestWindowTree::SetImeVisibility(uint32_t window_id, 157 void TestWindowTree::SetImeVisibility(uint32_t window_id,
158 bool visible, 158 bool visible,
159 mojo::TextInputStatePtr state) {} 159 mojo::TextInputStatePtr state) {}
160 160
161 void TestWindowTree::OnWindowInputEventAck(uint32_t event_id, 161 void TestWindowTree::OnWindowInputEventAck(uint32_t event_id,
162 ui::mojom::EventResult result) { 162 ui::mojom::EventResult result) {
163 EXPECT_FALSE(acked_events_.count(event_id)); 163 EXPECT_FALSE(acked_events_.count(event_id));
164 acked_events_.insert(event_id); 164 acked_events_.insert(event_id);
165 } 165 }
166 166
167 void TestWindowTree::DeactivateWindow(uint32_t window_id) {}
168
167 void TestWindowTree::GetWindowManagerClient( 169 void TestWindowTree::GetWindowManagerClient(
168 mojo::AssociatedInterfaceRequest<mojom::WindowManagerClient> internal) {} 170 mojo::AssociatedInterfaceRequest<mojom::WindowManagerClient> internal) {}
169 171
170 void TestWindowTree::GetCursorLocationMemory( 172 void TestWindowTree::GetCursorLocationMemory(
171 const GetCursorLocationMemoryCallback& callback) { 173 const GetCursorLocationMemoryCallback& callback) {
172 callback.Run(mojo::ScopedSharedBufferHandle()); 174 callback.Run(mojo::ScopedSharedBufferHandle());
173 } 175 }
174 176
175 void TestWindowTree::PerformDragDrop( 177 void TestWindowTree::PerformDragDrop(
176 uint32_t change_id, 178 uint32_t change_id,
177 uint32_t source_window_id, 179 uint32_t source_window_id,
178 const std::unordered_map<std::string, std::vector<uint8_t>>& drag_data, 180 const std::unordered_map<std::string, std::vector<uint8_t>>& drag_data,
179 uint32_t drag_operation) {} 181 uint32_t drag_operation) {}
180 182
181 void TestWindowTree::CancelDragDrop(uint32_t window_id) {} 183 void TestWindowTree::CancelDragDrop(uint32_t window_id) {}
182 184
183 void TestWindowTree::PerformWindowMove(uint32_t change_id, 185 void TestWindowTree::PerformWindowMove(uint32_t change_id,
184 uint32_t window_id, 186 uint32_t window_id,
185 mojom::MoveLoopSource source, 187 mojom::MoveLoopSource source,
186 const gfx::Point& cursor_location) {} 188 const gfx::Point& cursor_location) {}
187 189
188 void TestWindowTree::CancelWindowMove(uint32_t window_id) {} 190 void TestWindowTree::CancelWindowMove(uint32_t window_id) {}
189 191
190 } // namespace ui 192 } // namespace ui
OLDNEW
« no previous file with comments | « services/ui/public/cpp/tests/test_window_tree.h ('k') | services/ui/public/cpp/window_tree_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698