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

Side by Side Diff: services/ui/public/cpp/window_tree_client.cc

Issue 2610103003: Getting rid of SurfaceIdHandler as it is no longer needed. (Closed)
Patch Set: Created 3 years, 11 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 | « services/ui/public/cpp/window_private.h ('k') | ui/aura/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 "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 "base/strings/stringprintf.h"
16 #include "services/service_manager/public/cpp/connector.h" 16 #include "services/service_manager/public/cpp/connector.h"
17 #include "services/ui/common/util.h" 17 #include "services/ui/common/util.h"
18 #include "services/ui/public/cpp/in_flight_change.h" 18 #include "services/ui/public/cpp/in_flight_change.h"
19 #include "services/ui/public/cpp/input_event_handler.h" 19 #include "services/ui/public/cpp/input_event_handler.h"
20 #include "services/ui/public/cpp/surface_id_handler.h"
21 #include "services/ui/public/cpp/window_drop_target.h" 20 #include "services/ui/public/cpp/window_drop_target.h"
22 #include "services/ui/public/cpp/window_manager_delegate.h" 21 #include "services/ui/public/cpp/window_manager_delegate.h"
23 #include "services/ui/public/cpp/window_observer.h" 22 #include "services/ui/public/cpp/window_observer.h"
24 #include "services/ui/public/cpp/window_private.h" 23 #include "services/ui/public/cpp/window_private.h"
25 #include "services/ui/public/cpp/window_tracker.h" 24 #include "services/ui/public/cpp/window_tracker.h"
26 #include "services/ui/public/cpp/window_tree_client_delegate.h" 25 #include "services/ui/public/cpp/window_tree_client_delegate.h"
27 #include "services/ui/public/cpp/window_tree_client_observer.h" 26 #include "services/ui/public/cpp/window_tree_client_observer.h"
28 #include "services/ui/public/interfaces/constants.mojom.h" 27 #include "services/ui/public/interfaces/constants.mojom.h"
29 #include "services/ui/public/interfaces/window_manager_window_tree_factory.mojom .h" 28 #include "services/ui/public/interfaces/window_manager_window_tree_factory.mojom .h"
30 #include "ui/display/screen.h" 29 #include "ui/display/screen.h"
(...skipping 1440 matching lines...) Expand 10 before | Expand all | Expand 10 after
1471 // TODO(riajiang): Figure out if |offset| needs to be converted. 1470 // TODO(riajiang): Figure out if |offset| needs to be converted.
1472 // (http://crbugs.com/646932) 1471 // (http://crbugs.com/646932)
1473 window_manager_internal_client_->SetUnderlaySurfaceOffsetAndExtendedHitArea( 1472 window_manager_internal_client_->SetUnderlaySurfaceOffsetAndExtendedHitArea(
1474 server_id(window), offset.x(), offset.y(), 1473 server_id(window), offset.x(), offset.y(),
1475 gfx::ConvertInsetsToDIP(ScaleFactorForDisplay(window->display_id()), 1474 gfx::ConvertInsetsToDIP(ScaleFactorForDisplay(window->display_id()),
1476 hit_area)); 1475 hit_area));
1477 } 1476 }
1478 } 1477 }
1479 1478
1480 } // namespace ui 1479 } // namespace ui
OLDNEW
« no previous file with comments | « services/ui/public/cpp/window_private.h ('k') | ui/aura/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698