OLD | NEW |
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 "ash/aura/wm_window_aura.h" | 5 #include "ash/aura/wm_window_aura.h" |
6 #include "ash/common/accessibility_delegate.h" | 6 #include "ash/common/accessibility_delegate.h" |
7 #include "ash/common/shell_window_ids.h" | |
8 #include "ash/common/wm/window_state.h" | 7 #include "ash/common/wm/window_state.h" |
9 #include "ash/common/wm/wm_event.h" | 8 #include "ash/common/wm/wm_event.h" |
10 #include "ash/common/wm_shell.h" | 9 #include "ash/common/wm_shell.h" |
| 10 #include "ash/public/cpp/shell_window_ids.h" |
11 #include "ash/wm/window_state_aura.h" | 11 #include "ash/wm/window_state_aura.h" |
12 #include "base/message_loop/message_loop.h" | 12 #include "base/message_loop/message_loop.h" |
13 #include "base/strings/utf_string_conversions.h" | 13 #include "base/strings/utf_string_conversions.h" |
14 #include "components/exo/buffer.h" | 14 #include "components/exo/buffer.h" |
15 #include "components/exo/display.h" | 15 #include "components/exo/display.h" |
16 #include "components/exo/shell_surface.h" | 16 #include "components/exo/shell_surface.h" |
17 #include "components/exo/sub_surface.h" | 17 #include "components/exo/sub_surface.h" |
18 #include "components/exo/surface.h" | 18 #include "components/exo/surface.h" |
19 #include "components/exo/test/exo_test_base.h" | 19 #include "components/exo/test/exo_test_base.h" |
20 #include "components/exo/test/exo_test_helper.h" | 20 #include "components/exo/test/exo_test_helper.h" |
(...skipping 744 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
765 shell_surface.OnAccessibilityModeChanged(); | 765 shell_surface.OnAccessibilityModeChanged(); |
766 shell_surface2.OnAccessibilityModeChanged(); | 766 shell_surface2.OnAccessibilityModeChanged(); |
767 | 767 |
768 EXPECT_TRUE(shell_surface.shadow_underlay()->IsVisible()); | 768 EXPECT_TRUE(shell_surface.shadow_underlay()->IsVisible()); |
769 EXPECT_EQ(shadow_bounds, shell_surface.shadow_underlay()->bounds()); | 769 EXPECT_EQ(shadow_bounds, shell_surface.shadow_underlay()->bounds()); |
770 EXPECT_EQ(shadow_bounds, shell_surface2.shadow_underlay()->bounds()); | 770 EXPECT_EQ(shadow_bounds, shell_surface2.shadow_underlay()->bounds()); |
771 } | 771 } |
772 | 772 |
773 } // namespace | 773 } // namespace |
774 } // namespace exo | 774 } // namespace exo |
OLD | NEW |