| 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 "base/strings/stringprintf.h" |
| 15 #include "services/service_manager/public/cpp/connector.h" | 16 #include "services/service_manager/public/cpp/connector.h" |
| 16 #include "services/ui/common/util.h" | 17 #include "services/ui/common/util.h" |
| 17 #include "services/ui/public/cpp/in_flight_change.h" | 18 #include "services/ui/public/cpp/in_flight_change.h" |
| 18 #include "services/ui/public/cpp/input_event_handler.h" | 19 #include "services/ui/public/cpp/input_event_handler.h" |
| 19 #include "services/ui/public/cpp/surface_id_handler.h" | 20 #include "services/ui/public/cpp/surface_id_handler.h" |
| 20 #include "services/ui/public/cpp/window_drop_target.h" | 21 #include "services/ui/public/cpp/window_drop_target.h" |
| 21 #include "services/ui/public/cpp/window_manager_delegate.h" | 22 #include "services/ui/public/cpp/window_manager_delegate.h" |
| 22 #include "services/ui/public/cpp/window_observer.h" | 23 #include "services/ui/public/cpp/window_observer.h" |
| 23 #include "services/ui/public/cpp/window_private.h" | 24 #include "services/ui/public/cpp/window_private.h" |
| 24 #include "services/ui/public/cpp/window_tracker.h" | 25 #include "services/ui/public/cpp/window_tracker.h" |
| (...skipping 1447 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1472 // TODO(riajiang): Figure out if |offset| needs to be converted. | 1473 // TODO(riajiang): Figure out if |offset| needs to be converted. |
| 1473 // (http://crbugs.com/646932) | 1474 // (http://crbugs.com/646932) |
| 1474 window_manager_internal_client_->SetUnderlaySurfaceOffsetAndExtendedHitArea( | 1475 window_manager_internal_client_->SetUnderlaySurfaceOffsetAndExtendedHitArea( |
| 1475 server_id(window), offset.x(), offset.y(), | 1476 server_id(window), offset.x(), offset.y(), |
| 1476 gfx::ConvertInsetsToDIP(ScaleFactorForDisplay(window->display_id()), | 1477 gfx::ConvertInsetsToDIP(ScaleFactorForDisplay(window->display_id()), |
| 1477 hit_area)); | 1478 hit_area)); |
| 1478 } | 1479 } |
| 1479 } | 1480 } |
| 1480 | 1481 |
| 1481 } // namespace ui | 1482 } // namespace ui |
| OLD | NEW |