OLD | NEW |
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 "services/ui/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 "services/shell/public/cpp/connector.h" | 15 #include "services/service_manager/public/cpp/connector.h" |
16 #include "services/ui/common/util.h" | 16 #include "services/ui/common/util.h" |
17 #include "services/ui/public/cpp/in_flight_change.h" | 17 #include "services/ui/public/cpp/in_flight_change.h" |
18 #include "services/ui/public/cpp/input_event_handler.h" | 18 #include "services/ui/public/cpp/input_event_handler.h" |
19 #include "services/ui/public/cpp/surface_id_handler.h" | 19 #include "services/ui/public/cpp/surface_id_handler.h" |
20 #include "services/ui/public/cpp/window_drop_target.h" | 20 #include "services/ui/public/cpp/window_drop_target.h" |
21 #include "services/ui/public/cpp/window_manager_delegate.h" | 21 #include "services/ui/public/cpp/window_manager_delegate.h" |
22 #include "services/ui/public/cpp/window_observer.h" | 22 #include "services/ui/public/cpp/window_observer.h" |
23 #include "services/ui/public/cpp/window_private.h" | 23 #include "services/ui/public/cpp/window_private.h" |
24 #include "services/ui/public/cpp/window_tracker.h" | 24 #include "services/ui/public/cpp/window_tracker.h" |
25 #include "services/ui/public/cpp/window_tree_client_delegate.h" | 25 #include "services/ui/public/cpp/window_tree_client_delegate.h" |
(...skipping 1405 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1431 Window* window, | 1431 Window* window, |
1432 const gfx::Vector2d& offset, | 1432 const gfx::Vector2d& offset, |
1433 const gfx::Insets& hit_area) { | 1433 const gfx::Insets& hit_area) { |
1434 if (window_manager_internal_client_) { | 1434 if (window_manager_internal_client_) { |
1435 window_manager_internal_client_->SetUnderlaySurfaceOffsetAndExtendedHitArea( | 1435 window_manager_internal_client_->SetUnderlaySurfaceOffsetAndExtendedHitArea( |
1436 server_id(window), offset.x(), offset.y(), hit_area); | 1436 server_id(window), offset.x(), offset.y(), hit_area); |
1437 } | 1437 } |
1438 } | 1438 } |
1439 | 1439 |
1440 } // namespace ui | 1440 } // namespace ui |
OLD | NEW |