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

Side by Side Diff: services/ui/public/cpp/lib/window_tree_client.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 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/public/cpp/window_tree_client.h" 5 #include "services/ui/public/cpp/window_tree_client.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include <string> 9 #include <string>
10 #include <utility> 10 #include <utility>
11 #include <vector> 11 #include <vector>
12 12
13 #include "base/bind.h" 13 #include "base/bind.h"
14 #include "base/memory/ptr_util.h" 14 #include "base/memory/ptr_util.h"
15 #include "components/mus/common/util.h"
16 #include "components/mus/public/cpp/input_event_handler.h"
17 #include "components/mus/public/cpp/lib/in_flight_change.h"
18 #include "components/mus/public/cpp/lib/window_private.h"
19 #include "components/mus/public/cpp/window_manager_delegate.h"
20 #include "components/mus/public/cpp/window_observer.h"
21 #include "components/mus/public/cpp/window_tracker.h"
22 #include "components/mus/public/cpp/window_tree_client_delegate.h"
23 #include "components/mus/public/cpp/window_tree_client_observer.h"
24 #include "components/mus/public/interfaces/window_manager_window_tree_factory.mo jom.h"
25 #include "services/shell/public/cpp/connector.h" 15 #include "services/shell/public/cpp/connector.h"
16 #include "services/ui/common/util.h"
17 #include "services/ui/public/cpp/input_event_handler.h"
18 #include "services/ui/public/cpp/lib/in_flight_change.h"
19 #include "services/ui/public/cpp/lib/window_private.h"
20 #include "services/ui/public/cpp/window_manager_delegate.h"
21 #include "services/ui/public/cpp/window_observer.h"
22 #include "services/ui/public/cpp/window_tracker.h"
23 #include "services/ui/public/cpp/window_tree_client_delegate.h"
24 #include "services/ui/public/cpp/window_tree_client_observer.h"
25 #include "services/ui/public/interfaces/window_manager_window_tree_factory.mojom .h"
26 #include "ui/display/mojo/display_type_converters.h" 26 #include "ui/display/mojo/display_type_converters.h"
27 #include "ui/events/event.h" 27 #include "ui/events/event.h"
28 #include "ui/gfx/geometry/insets.h" 28 #include "ui/gfx/geometry/insets.h"
29 #include "ui/gfx/geometry/size.h" 29 #include "ui/gfx/geometry/size.h"
30 30
31 namespace mus { 31 namespace mus {
32 32
33 void DeleteWindowTreeClient(WindowTreeClient* client) { delete client; } 33 void DeleteWindowTreeClient(WindowTreeClient* client) { delete client; }
34 34
35 Id MakeTransportId(ClientSpecificId client_id, ClientSpecificId local_id) { 35 Id MakeTransportId(ClientSpecificId client_id, ClientSpecificId local_id) {
(...skipping 1139 matching lines...) Expand 10 before | Expand all | Expand 10 after
1175 Window* window, 1175 Window* window,
1176 const gfx::Vector2d& offset, 1176 const gfx::Vector2d& offset,
1177 const gfx::Insets& hit_area) { 1177 const gfx::Insets& hit_area) {
1178 if (window_manager_internal_client_) { 1178 if (window_manager_internal_client_) {
1179 window_manager_internal_client_->SetUnderlaySurfaceOffsetAndExtendedHitArea( 1179 window_manager_internal_client_->SetUnderlaySurfaceOffsetAndExtendedHitArea(
1180 server_id(window), offset.x(), offset.y(), hit_area); 1180 server_id(window), offset.x(), offset.y(), hit_area);
1181 } 1181 }
1182 } 1182 }
1183 1183
1184 } // namespace mus 1184 } // namespace mus
OLDNEW
« no previous file with comments | « services/ui/public/cpp/lib/window_surface.cc ('k') | services/ui/public/cpp/lib/window_tree_client_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698