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

Side by Side Diff: services/ui/public/cpp/tests/window_tree_client_unittest.cc

Issue 2119963002: Move mus to //services/ui (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 5 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 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 "components/mus/public/cpp/window_tree_client.h" 5 #include "services/ui/public/cpp/window_tree_client.h"
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "components/mus/common/util.h"
12 #include "components/mus/public/cpp/input_event_handler.h"
13 #include "components/mus/public/cpp/lib/window_private.h"
14 #include "components/mus/public/cpp/property_type_converters.h"
15 #include "components/mus/public/cpp/tests/test_window.h"
16 #include "components/mus/public/cpp/tests/test_window_tree.h"
17 #include "components/mus/public/cpp/tests/window_tree_client_private.h"
18 #include "components/mus/public/cpp/window.h"
19 #include "components/mus/public/cpp/window_observer.h"
20 #include "components/mus/public/cpp/window_property.h"
21 #include "components/mus/public/cpp/window_tracker.h"
22 #include "components/mus/public/cpp/window_tree_client_delegate.h"
23 #include "mojo/common/common_type_converters.h" 11 #include "mojo/common/common_type_converters.h"
12 #include "services/ui/common/util.h"
13 #include "services/ui/public/cpp/input_event_handler.h"
14 #include "services/ui/public/cpp/lib/window_private.h"
15 #include "services/ui/public/cpp/property_type_converters.h"
16 #include "services/ui/public/cpp/tests/test_window.h"
17 #include "services/ui/public/cpp/tests/test_window_tree.h"
18 #include "services/ui/public/cpp/tests/window_tree_client_private.h"
19 #include "services/ui/public/cpp/window.h"
20 #include "services/ui/public/cpp/window_observer.h"
21 #include "services/ui/public/cpp/window_property.h"
22 #include "services/ui/public/cpp/window_tracker.h"
23 #include "services/ui/public/cpp/window_tree_client_delegate.h"
24 #include "testing/gtest/include/gtest/gtest.h" 24 #include "testing/gtest/include/gtest/gtest.h"
25 #include "ui/events/event.h" 25 #include "ui/events/event.h"
26 #include "ui/events/event_utils.h" 26 #include "ui/events/event_utils.h"
27 #include "ui/gfx/geometry/rect.h" 27 #include "ui/gfx/geometry/rect.h"
28 28
29 namespace mus { 29 namespace mus {
30 30
31 namespace { 31 namespace {
32 32
33 void DoNothingWithEventResult(mojom::EventResult result) {} 33 void DoNothingWithEventResult(mojom::EventResult result) {}
(...skipping 1008 matching lines...) Expand 10 before | Expand all | Expand 10 after
1042 1042
1043 // Create a new Window, and attempt to place capture on that. 1043 // Create a new Window, and attempt to place capture on that.
1044 Window* child = setup.client()->NewWindow(); 1044 Window* child = setup.client()->NewWindow();
1045 child->SetVisible(true); 1045 child->SetVisible(true);
1046 root->AddChild(child); 1046 root->AddChild(child);
1047 child->SetCapture(); 1047 child->SetCapture();
1048 EXPECT_TRUE(child->HasCapture()); 1048 EXPECT_TRUE(child->HasCapture());
1049 } 1049 }
1050 1050
1051 } // namespace mus 1051 } // namespace mus
OLDNEW
« no previous file with comments | « services/ui/public/cpp/tests/window_tree_client_private.cc ('k') | services/ui/public/cpp/tests/window_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698