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

Side by Side Diff: ui/aura/test/aura_test_base.cc

Issue 2559703003: Converts WindowTreeClientTest to be in terms of aura (Closed)
Patch Set: feedback Created 4 years 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/aura_test_base.h" 5 #include "ui/aura/test/aura_test_base.h"
6 6
7 #include "ui/aura/client/window_parenting_client.h" 7 #include "ui/aura/client/window_parenting_client.h"
8 #include "ui/aura/mus/property_utils.h" 8 #include "ui/aura/mus/property_utils.h"
9 #include "ui/aura/mus/window_tree_client.h" 9 #include "ui/aura/mus/window_tree_client.h"
10 #include "ui/aura/mus/window_tree_host_mus.h" 10 #include "ui/aura/mus/window_tree_host_mus.h"
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 140
141 ui::mojom::WindowTreeClient* AuraTestBase::window_tree_client() { 141 ui::mojom::WindowTreeClient* AuraTestBase::window_tree_client() {
142 return helper_->window_tree_client(); 142 return helper_->window_tree_client();
143 } 143 }
144 144
145 void AuraTestBase::OnEmbed( 145 void AuraTestBase::OnEmbed(
146 std::unique_ptr<WindowTreeHostMus> window_tree_host) {} 146 std::unique_ptr<WindowTreeHostMus> window_tree_host) {}
147 147
148 void AuraTestBase::OnUnembed(Window* root) {} 148 void AuraTestBase::OnUnembed(Window* root) {}
149 149
150 void AuraTestBase::OnEmbedRootDestroyed(Window* root) {} 150 void AuraTestBase::OnEmbedRootDestroyed(WindowTreeHostMus* window_tree_host) {}
151 151
152 void AuraTestBase::OnLostConnection(WindowTreeClient* client) {} 152 void AuraTestBase::OnLostConnection(WindowTreeClient* client) {}
153 153
154 void AuraTestBase::OnPointerEventObserved(const ui::PointerEvent& event, 154 void AuraTestBase::OnPointerEventObserved(const ui::PointerEvent& event,
155 Window* target) {} 155 Window* target) {}
156 156
157 void AuraTestBase::SetWindowManagerClient(WindowManagerClient* client) {} 157 void AuraTestBase::SetWindowManagerClient(WindowManagerClient* client) {}
158 158
159 bool AuraTestBase::OnWmSetBounds(Window* window, gfx::Rect* bounds) { 159 bool AuraTestBase::OnWmSetBounds(Window* window, gfx::Rect* bounds) {
160 return true; 160 return true;
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 236
237 void AuraTestBaseWithType::SetUp() { 237 void AuraTestBaseWithType::SetUp() {
238 DCHECK(!setup_called_); 238 DCHECK(!setup_called_);
239 setup_called_ = true; 239 setup_called_ = true;
240 ConfigureBackend(GetParam()); 240 ConfigureBackend(GetParam());
241 AuraTestBase::SetUp(); 241 AuraTestBase::SetUp();
242 } 242 }
243 243
244 } // namespace test 244 } // namespace test
245 } // namespace aura 245 } // namespace aura
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698