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

Side by Side Diff: components/exo/pointer.cc

Issue 2430593002: mash: Use ash shell window container ids instead of ash::mojom::Container (Closed)
Patch Set: rebase Created 4 years, 2 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/exo/display_unittest.cc ('k') | components/exo/pointer_unittest.cc » ('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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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/exo/pointer.h" 5 #include "components/exo/pointer.h"
6 6
7 #include "ash/common/shell_window_ids.h"
8 #include "ash/display/display_manager.h" 7 #include "ash/display/display_manager.h"
8 #include "ash/public/cpp/shell_window_ids.h"
9 #include "components/exo/pointer_delegate.h" 9 #include "components/exo/pointer_delegate.h"
10 #include "components/exo/pointer_stylus_delegate.h" 10 #include "components/exo/pointer_stylus_delegate.h"
11 #include "components/exo/surface.h" 11 #include "components/exo/surface.h"
12 #include "components/exo/wm_helper.h" 12 #include "components/exo/wm_helper.h"
13 #include "ui/aura/client/cursor_client.h" 13 #include "ui/aura/client/cursor_client.h"
14 #include "ui/aura/env.h" 14 #include "ui/aura/env.h"
15 #include "ui/aura/window.h" 15 #include "ui/aura/window.h"
16 #include "ui/display/manager/managed_display_info.h" 16 #include "ui/display/manager/managed_display_info.h"
17 #include "ui/display/screen.h" 17 #include "ui/display/screen.h"
18 #include "ui/events/event.h" 18 #include "ui/events/event.h"
(...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after
366 366
367 if (ui_scale != cursor_scale_) { 367 if (ui_scale != cursor_scale_) {
368 gfx::Transform transform; 368 gfx::Transform transform;
369 transform.Scale(ui_scale, ui_scale); 369 transform.Scale(ui_scale, ui_scale);
370 widget_->GetNativeWindow()->SetTransform(transform); 370 widget_->GetNativeWindow()->SetTransform(transform);
371 cursor_scale_ = ui_scale; 371 cursor_scale_ = ui_scale;
372 } 372 }
373 } 373 }
374 374
375 } // namespace exo 375 } // namespace exo
OLDNEW
« no previous file with comments | « components/exo/display_unittest.cc ('k') | components/exo/pointer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698