| 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/common/accessibility_delegate.h" | 5 #include "ash/accessibility_delegate.h" |
| 6 #include "ash/common/wm/window_state.h" | |
| 7 #include "ash/common/wm/wm_event.h" | |
| 8 #include "ash/common/wm_shell.h" | |
| 9 #include "ash/common/wm_window.h" | |
| 10 #include "ash/public/cpp/shell_window_ids.h" | 6 #include "ash/public/cpp/shell_window_ids.h" |
| 7 #include "ash/wm/window_state.h" |
| 11 #include "ash/wm/window_state_aura.h" | 8 #include "ash/wm/window_state_aura.h" |
| 9 #include "ash/wm/wm_event.h" |
| 10 #include "ash/wm_shell.h" |
| 11 #include "ash/wm_window.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" |
| 21 #include "testing/gtest/include/gtest/gtest.h" | 21 #include "testing/gtest/include/gtest/gtest.h" |
| (...skipping 921 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 943 shell_surface.OnAccessibilityModeChanged(); | 943 shell_surface.OnAccessibilityModeChanged(); |
| 944 shell_surface2.OnAccessibilityModeChanged(); | 944 shell_surface2.OnAccessibilityModeChanged(); |
| 945 | 945 |
| 946 EXPECT_TRUE(shell_surface.shadow_underlay()->IsVisible()); | 946 EXPECT_TRUE(shell_surface.shadow_underlay()->IsVisible()); |
| 947 EXPECT_EQ(shadow_bounds, shell_surface.shadow_underlay()->bounds()); | 947 EXPECT_EQ(shadow_bounds, shell_surface.shadow_underlay()->bounds()); |
| 948 EXPECT_EQ(shadow_bounds, shell_surface2.shadow_underlay()->bounds()); | 948 EXPECT_EQ(shadow_bounds, shell_surface2.shadow_underlay()->bounds()); |
| 949 } | 949 } |
| 950 | 950 |
| 951 } // namespace | 951 } // namespace |
| 952 } // namespace exo | 952 } // namespace exo |
| OLD | NEW |