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

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

Issue 2014003002: mojo/converters/input_events -> ui/events/mojo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@converters
Patch Set: . Created 4 years, 6 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
« no previous file with comments | « components/mus/public/cpp/BUILD.gn ('k') | components/mus/public/cpp/tests/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 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" 15 #include "components/mus/common/util.h"
16 #include "components/mus/public/cpp/input_event_handler.h" 16 #include "components/mus/public/cpp/input_event_handler.h"
17 #include "components/mus/public/cpp/lib/in_flight_change.h" 17 #include "components/mus/public/cpp/lib/in_flight_change.h"
18 #include "components/mus/public/cpp/lib/window_private.h" 18 #include "components/mus/public/cpp/lib/window_private.h"
19 #include "components/mus/public/cpp/window_manager_delegate.h" 19 #include "components/mus/public/cpp/window_manager_delegate.h"
20 #include "components/mus/public/cpp/window_observer.h" 20 #include "components/mus/public/cpp/window_observer.h"
21 #include "components/mus/public/cpp/window_tracker.h" 21 #include "components/mus/public/cpp/window_tracker.h"
22 #include "components/mus/public/cpp/window_tree_connection.h" 22 #include "components/mus/public/cpp/window_tree_connection.h"
23 #include "components/mus/public/cpp/window_tree_connection_observer.h" 23 #include "components/mus/public/cpp/window_tree_connection_observer.h"
24 #include "components/mus/public/cpp/window_tree_delegate.h" 24 #include "components/mus/public/cpp/window_tree_delegate.h"
25 #include "mojo/converters/input_events/input_events_type_converters.h"
26 #include "services/shell/public/cpp/connector.h" 25 #include "services/shell/public/cpp/connector.h"
27 #include "ui/events/event.h" 26 #include "ui/events/event.h"
27 #include "ui/events/mojo/input_events_type_converters.h"
28 #include "ui/gfx/geometry/insets.h" 28 #include "ui/gfx/geometry/insets.h"
29 #include "ui/gfx/geometry/mojo/geometry_type_converters.h" 29 #include "ui/gfx/geometry/mojo/geometry_type_converters.h"
30 #include "ui/gfx/geometry/size.h" 30 #include "ui/gfx/geometry/size.h"
31 31
32 namespace mus { 32 namespace mus {
33 33
34 Id MakeTransportId(ConnectionSpecificId connection_id, 34 Id MakeTransportId(ConnectionSpecificId connection_id,
35 ConnectionSpecificId local_id) { 35 ConnectionSpecificId local_id) {
36 return (connection_id << 16) | local_id; 36 return (connection_id << 16) | local_id;
37 } 37 }
(...skipping 1100 matching lines...) Expand 10 before | Expand all | Expand 10 after
1138 const gfx::Vector2d& offset, 1138 const gfx::Vector2d& offset,
1139 const gfx::Insets& hit_area) { 1139 const gfx::Insets& hit_area) {
1140 if (window_manager_internal_client_) { 1140 if (window_manager_internal_client_) {
1141 window_manager_internal_client_->SetUnderlaySurfaceOffsetAndExtendedHitArea( 1141 window_manager_internal_client_->SetUnderlaySurfaceOffsetAndExtendedHitArea(
1142 server_id(window), offset.x(), offset.y(), 1142 server_id(window), offset.x(), offset.y(),
1143 mojo::Insets::From(hit_area)); 1143 mojo::Insets::From(hit_area));
1144 } 1144 }
1145 } 1145 }
1146 1146
1147 } // namespace mus 1147 } // namespace mus
OLDNEW
« no previous file with comments | « components/mus/public/cpp/BUILD.gn ('k') | components/mus/public/cpp/tests/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698