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

Side by Side Diff: components/mus/public/cpp/lib/window_tree_client_impl.cc

Issue 1877753003: Move mojo\shell to services\shell (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@62scan
Patch Set: . Created 4 years, 8 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/lib/window_tree_client_impl.h" 5 #include "components/mus/public/cpp/lib/window_tree_client_impl.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <utility> 8 #include <utility>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
11 #include "base/memory/ptr_util.h" 11 #include "base/memory/ptr_util.h"
12 #include "components/mus/common/util.h" 12 #include "components/mus/common/util.h"
13 #include "components/mus/public/cpp/input_event_handler.h" 13 #include "components/mus/public/cpp/input_event_handler.h"
14 #include "components/mus/public/cpp/lib/in_flight_change.h" 14 #include "components/mus/public/cpp/lib/in_flight_change.h"
15 #include "components/mus/public/cpp/lib/window_private.h" 15 #include "components/mus/public/cpp/lib/window_private.h"
16 #include "components/mus/public/cpp/window_manager_delegate.h" 16 #include "components/mus/public/cpp/window_manager_delegate.h"
17 #include "components/mus/public/cpp/window_observer.h" 17 #include "components/mus/public/cpp/window_observer.h"
18 #include "components/mus/public/cpp/window_tracker.h" 18 #include "components/mus/public/cpp/window_tracker.h"
19 #include "components/mus/public/cpp/window_tree_connection.h" 19 #include "components/mus/public/cpp/window_tree_connection.h"
20 #include "components/mus/public/cpp/window_tree_connection_observer.h" 20 #include "components/mus/public/cpp/window_tree_connection_observer.h"
21 #include "components/mus/public/cpp/window_tree_delegate.h" 21 #include "components/mus/public/cpp/window_tree_delegate.h"
22 #include "mojo/converters/geometry/geometry_type_converters.h" 22 #include "mojo/converters/geometry/geometry_type_converters.h"
23 #include "mojo/converters/input_events/input_events_type_converters.h" 23 #include "mojo/converters/input_events/input_events_type_converters.h"
24 #include "mojo/shell/public/cpp/connector.h" 24 #include "services/shell/public/cpp/connector.h"
25 #include "ui/events/event.h" 25 #include "ui/events/event.h"
26 #include "ui/gfx/geometry/insets.h" 26 #include "ui/gfx/geometry/insets.h"
27 #include "ui/gfx/geometry/size.h" 27 #include "ui/gfx/geometry/size.h"
28 28
29 namespace mus { 29 namespace mus {
30 30
31 Id MakeTransportId(ConnectionSpecificId connection_id, 31 Id MakeTransportId(ConnectionSpecificId connection_id,
32 ConnectionSpecificId local_id) { 32 ConnectionSpecificId local_id) {
33 return (connection_id << 16) | local_id; 33 return (connection_id << 16) | local_id;
34 } 34 }
(...skipping 987 matching lines...) Expand 10 before | Expand all | Expand 10 after
1022 1022
1023 void WindowTreeClientImpl::SetUnderlaySurfaceOffsetAndExtendedHitArea( 1023 void WindowTreeClientImpl::SetUnderlaySurfaceOffsetAndExtendedHitArea(
1024 Window* window, 1024 Window* window,
1025 const gfx::Vector2d& offset, 1025 const gfx::Vector2d& offset,
1026 const gfx::Insets& hit_area) { 1026 const gfx::Insets& hit_area) {
1027 window_manager_internal_client_->SetUnderlaySurfaceOffsetAndExtendedHitArea( 1027 window_manager_internal_client_->SetUnderlaySurfaceOffsetAndExtendedHitArea(
1028 window->id(), offset.x(), offset.y(), mojo::Insets::From(hit_area)); 1028 window->id(), offset.x(), offset.y(), mojo::Insets::From(hit_area));
1029 } 1029 }
1030 1030
1031 } // namespace mus 1031 } // namespace mus
OLDNEW
« no previous file with comments | « components/mus/public/cpp/BUILD.gn ('k') | components/mus/public/cpp/lib/window_tree_host_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698