| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 <stdint.h> | 5 #include <stdint.h> |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 #include "components/mus/ws/server_window_surface_manager_test_api.h" | 24 #include "components/mus/ws/server_window_surface_manager_test_api.h" |
| 25 #include "components/mus/ws/test_change_tracker.h" | 25 #include "components/mus/ws/test_change_tracker.h" |
| 26 #include "components/mus/ws/test_server_window_delegate.h" | 26 #include "components/mus/ws/test_server_window_delegate.h" |
| 27 #include "components/mus/ws/test_utils.h" | 27 #include "components/mus/ws/test_utils.h" |
| 28 #include "components/mus/ws/window_manager_access_policy.h" | 28 #include "components/mus/ws/window_manager_access_policy.h" |
| 29 #include "components/mus/ws/window_server.h" | 29 #include "components/mus/ws/window_server.h" |
| 30 #include "components/mus/ws/window_server_delegate.h" | 30 #include "components/mus/ws/window_server_delegate.h" |
| 31 #include "components/mus/ws/window_tree.h" | 31 #include "components/mus/ws/window_tree.h" |
| 32 #include "components/mus/ws/window_tree_binding.h" | 32 #include "components/mus/ws/window_tree_binding.h" |
| 33 #include "mojo/converters/geometry/geometry_type_converters.h" | 33 #include "mojo/converters/geometry/geometry_type_converters.h" |
| 34 #include "mojo/shell/public/interfaces/connector.mojom.h" | 34 #include "services/shell/public/interfaces/connector.mojom.h" |
| 35 #include "testing/gtest/include/gtest/gtest.h" | 35 #include "testing/gtest/include/gtest/gtest.h" |
| 36 #include "ui/events/event.h" | 36 #include "ui/events/event.h" |
| 37 #include "ui/events/event_utils.h" | 37 #include "ui/events/event_utils.h" |
| 38 #include "ui/gfx/geometry/rect.h" | 38 #include "ui/gfx/geometry/rect.h" |
| 39 | 39 |
| 40 namespace mus { | 40 namespace mus { |
| 41 namespace ws { | 41 namespace ws { |
| 42 namespace test { | 42 namespace test { |
| 43 namespace { | 43 namespace { |
| 44 | 44 |
| (...skipping 829 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 874 ASSERT_NE(new_opacity, unknown_window.opacity()); | 874 ASSERT_NE(new_opacity, unknown_window.opacity()); |
| 875 | 875 |
| 876 EXPECT_FALSE(tree->SetWindowOpacity( | 876 EXPECT_FALSE(tree->SetWindowOpacity( |
| 877 ClientWindowId(WindowIdToTransportId(window_id)), new_opacity)); | 877 ClientWindowId(WindowIdToTransportId(window_id)), new_opacity)); |
| 878 EXPECT_NE(new_opacity, unknown_window.opacity()); | 878 EXPECT_NE(new_opacity, unknown_window.opacity()); |
| 879 } | 879 } |
| 880 | 880 |
| 881 } // namespace test | 881 } // namespace test |
| 882 } // namespace ws | 882 } // namespace ws |
| 883 } // namespace mus | 883 } // namespace mus |
| OLD | NEW |