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

Side by Side Diff: components/mus/ws/window_tree_unittest.cc

Issue 2008193002: Change mojo geometry structs from using type converters to StructTraits. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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
OLDNEW
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 "components/mus/ws/window_tree.h" 5 #include "components/mus/ws/window_tree.h"
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 13 matching lines...) Expand all
24 #include "components/mus/ws/platform_display_init_params.h" 24 #include "components/mus/ws/platform_display_init_params.h"
25 #include "components/mus/ws/server_window.h" 25 #include "components/mus/ws/server_window.h"
26 #include "components/mus/ws/server_window_surface_manager_test_api.h" 26 #include "components/mus/ws/server_window_surface_manager_test_api.h"
27 #include "components/mus/ws/test_change_tracker.h" 27 #include "components/mus/ws/test_change_tracker.h"
28 #include "components/mus/ws/test_server_window_delegate.h" 28 #include "components/mus/ws/test_server_window_delegate.h"
29 #include "components/mus/ws/test_utils.h" 29 #include "components/mus/ws/test_utils.h"
30 #include "components/mus/ws/window_manager_access_policy.h" 30 #include "components/mus/ws/window_manager_access_policy.h"
31 #include "components/mus/ws/window_server.h" 31 #include "components/mus/ws/window_server.h"
32 #include "components/mus/ws/window_server_delegate.h" 32 #include "components/mus/ws/window_server_delegate.h"
33 #include "components/mus/ws/window_tree_binding.h" 33 #include "components/mus/ws/window_tree_binding.h"
34 #include "mojo/converters/geometry/geometry_type_converters.h"
35 #include "services/shell/public/interfaces/connector.mojom.h" 34 #include "services/shell/public/interfaces/connector.mojom.h"
36 #include "testing/gtest/include/gtest/gtest.h" 35 #include "testing/gtest/include/gtest/gtest.h"
37 #include "ui/events/event.h" 36 #include "ui/events/event.h"
38 #include "ui/events/event_utils.h" 37 #include "ui/events/event_utils.h"
39 #include "ui/gfx/geometry/rect.h" 38 #include "ui/gfx/geometry/rect.h"
40 39
41 namespace mus { 40 namespace mus {
42 namespace ws { 41 namespace ws {
43 namespace test { 42 namespace test {
44 namespace { 43 namespace {
(...skipping 961 matching lines...) Expand 10 before | Expand all | Expand 10 after
1006 ASSERT_NE(new_opacity, unknown_window.opacity()); 1005 ASSERT_NE(new_opacity, unknown_window.opacity());
1007 1006
1008 EXPECT_FALSE(tree->SetWindowOpacity( 1007 EXPECT_FALSE(tree->SetWindowOpacity(
1009 ClientWindowId(WindowIdToTransportId(window_id)), new_opacity)); 1008 ClientWindowId(WindowIdToTransportId(window_id)), new_opacity));
1010 EXPECT_NE(new_opacity, unknown_window.opacity()); 1009 EXPECT_NE(new_opacity, unknown_window.opacity());
1011 } 1010 }
1012 1011
1013 } // namespace test 1012 } // namespace test
1014 } // namespace ws 1013 } // namespace ws
1015 } // namespace mus 1014 } // namespace mus
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698