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

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

Issue 2369793002: WIP: Propagate SurfaceID up window tree hierarchy
Patch Set: Fix input events: EventDispatcher ignores container windows Created 4 years, 2 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 | « services/ui/public/cpp/tests/test_window_tree.h ('k') | services/ui/public/cpp/window.h » ('j') | 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 "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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 got_change_ = true; 82 got_change_ = true;
83 change_id_ = change_id; 83 change_id_ = change_id;
84 } 84 }
85 85
86 void TestWindowTree::AttachSurface( 86 void TestWindowTree::AttachSurface(
87 uint32_t window_id, 87 uint32_t window_id,
88 mojom::SurfaceType type, 88 mojom::SurfaceType type,
89 mojo::InterfaceRequest<mojom::Surface> surface, 89 mojo::InterfaceRequest<mojom::Surface> surface,
90 mojom::SurfaceClientPtr client) {} 90 mojom::SurfaceClientPtr client) {}
91 91
92 void TestWindowTree::SatisfySurfaceSequence(
93 uint32_t window_id,
94 const cc::SurfaceSequence& sequence) {
95 }
96
92 void TestWindowTree::AddWindow(uint32_t change_id, 97 void TestWindowTree::AddWindow(uint32_t change_id,
93 uint32_t parent, 98 uint32_t parent,
94 uint32_t child) {} 99 uint32_t child) {}
95 100
96 void TestWindowTree::RemoveWindowFromParent(uint32_t change_id, 101 void TestWindowTree::RemoveWindowFromParent(uint32_t change_id,
97 uint32_t window_id) {} 102 uint32_t window_id) {}
98 103
99 void TestWindowTree::AddTransientWindow(uint32_t change_id, 104 void TestWindowTree::AddTransientWindow(uint32_t change_id,
100 uint32_t window_id, 105 uint32_t window_id,
101 uint32_t transient_window_id) {} 106 uint32_t transient_window_id) {}
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 void TestWindowTree::CancelDragDrop(uint32_t window_id) {} 186 void TestWindowTree::CancelDragDrop(uint32_t window_id) {}
182 187
183 void TestWindowTree::PerformWindowMove(uint32_t change_id, 188 void TestWindowTree::PerformWindowMove(uint32_t change_id,
184 uint32_t window_id, 189 uint32_t window_id,
185 mojom::MoveLoopSource source, 190 mojom::MoveLoopSource source,
186 const gfx::Point& cursor_location) {} 191 const gfx::Point& cursor_location) {}
187 192
188 void TestWindowTree::CancelWindowMove(uint32_t window_id) {} 193 void TestWindowTree::CancelWindowMove(uint32_t window_id) {}
189 194
190 } // namespace ui 195 } // namespace ui
OLDNEW
« no previous file with comments | « services/ui/public/cpp/tests/test_window_tree.h ('k') | services/ui/public/cpp/window.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698