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

Side by Side Diff: ui/aura/test/mus/test_window_tree.cc

Issue 2617403003: Mus: Remove CompositorFrameSinkType (Closed)
Patch Set: Fix some unit tests 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
« no previous file with comments | « ui/aura/test/mus/test_window_tree.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "ui/aura/test/mus/test_window_tree.h" 5 #include "ui/aura/test/mus/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 aura { 9 namespace aura {
10 10
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 } 170 }
171 171
172 void TestWindowTree::SetWindowOpacity(uint32_t change_id, 172 void TestWindowTree::SetWindowOpacity(uint32_t change_id,
173 uint32_t window_id, 173 uint32_t window_id,
174 float opacity) { 174 float opacity) {
175 OnChangeReceived(change_id); 175 OnChangeReceived(change_id);
176 } 176 }
177 177
178 void TestWindowTree::AttachCompositorFrameSink( 178 void TestWindowTree::AttachCompositorFrameSink(
179 uint32_t window_id, 179 uint32_t window_id,
180 ui::mojom::CompositorFrameSinkType type,
181 mojo::InterfaceRequest<cc::mojom::MojoCompositorFrameSink> surface, 180 mojo::InterfaceRequest<cc::mojom::MojoCompositorFrameSink> surface,
182 cc::mojom::MojoCompositorFrameSinkClientPtr client) {} 181 cc::mojom::MojoCompositorFrameSinkClientPtr client) {}
183 182
184 void TestWindowTree::AddWindow(uint32_t change_id, 183 void TestWindowTree::AddWindow(uint32_t change_id,
185 uint32_t parent, 184 uint32_t parent,
186 uint32_t child) { 185 uint32_t child) {
187 OnChangeReceived(change_id); 186 OnChangeReceived(change_id);
188 } 187 }
189 188
190 void TestWindowTree::RemoveWindowFromParent(uint32_t change_id, 189 void TestWindowTree::RemoveWindowFromParent(uint32_t change_id,
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
289 void TestWindowTree::PerformWindowMove(uint32_t change_id, 288 void TestWindowTree::PerformWindowMove(uint32_t change_id,
290 uint32_t window_id, 289 uint32_t window_id,
291 ui::mojom::MoveLoopSource source, 290 ui::mojom::MoveLoopSource source,
292 const gfx::Point& cursor_location) { 291 const gfx::Point& cursor_location) {
293 OnChangeReceived(change_id); 292 OnChangeReceived(change_id);
294 } 293 }
295 294
296 void TestWindowTree::CancelWindowMove(uint32_t window_id) {} 295 void TestWindowTree::CancelWindowMove(uint32_t window_id) {}
297 296
298 } // namespace aura 297 } // namespace aura
OLDNEW
« no previous file with comments | « ui/aura/test/mus/test_window_tree.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698