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

Side by Side Diff: ui/wm/core/shadow_controller_unittest.cc

Issue 2438853002: Renames aura::client::WindowTreeClient to WindowParentingClient (Closed)
Patch Set: cleanup 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 | « ui/views/widget/native_widget_aura.cc ('k') | ui/wm/core/transient_window_manager_unittest.cc » ('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 (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/wm/core/shadow_controller.h" 5 #include "ui/wm/core/shadow_controller.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <memory> 8 #include <memory>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "ui/aura/client/aura_constants.h" 12 #include "ui/aura/client/aura_constants.h"
13 #include "ui/aura/client/window_tree_client.h" 13 #include "ui/aura/client/window_parenting_client.h"
14 #include "ui/aura/test/aura_test_base.h" 14 #include "ui/aura/test/aura_test_base.h"
15 #include "ui/aura/window.h" 15 #include "ui/aura/window.h"
16 #include "ui/aura/window_event_dispatcher.h" 16 #include "ui/aura/window_event_dispatcher.h"
17 #include "ui/compositor/layer.h" 17 #include "ui/compositor/layer.h"
18 #include "ui/wm/core/default_activation_client.h" 18 #include "ui/wm/core/default_activation_client.h"
19 #include "ui/wm/core/shadow.h" 19 #include "ui/wm/core/shadow.h"
20 #include "ui/wm/core/shadow_types.h" 20 #include "ui/wm/core/shadow_types.h"
21 #include "ui/wm/core/window_util.h" 21 #include "ui/wm/core/window_util.h"
22 #include "ui/wm/core/wm_state.h" 22 #include "ui/wm/core/wm_state.h"
23 #include "ui/wm/public/activation_client.h" 23 #include "ui/wm/public/activation_client.h"
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 AddTransientChild(window1.get(), window2.get()); 223 AddTransientChild(window1.get(), window2.get());
224 aura::client::SetHideOnDeactivate(window2.get(), true); 224 aura::client::SetHideOnDeactivate(window2.get(), true);
225 window2->Show(); 225 window2->Show();
226 ActivateWindow(window2.get()); 226 ActivateWindow(window2.get());
227 227
228 // window1 is now inactive, but its shadow should still appear active. 228 // window1 is now inactive, but its shadow should still appear active.
229 EXPECT_EQ(Shadow::STYLE_ACTIVE, shadow1->style()); 229 EXPECT_EQ(Shadow::STYLE_ACTIVE, shadow1->style());
230 } 230 }
231 231
232 } // namespace wm 232 } // namespace wm
OLDNEW
« no previous file with comments | « ui/views/widget/native_widget_aura.cc ('k') | ui/wm/core/transient_window_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698