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

Unified Diff: components/exo/shell_surface.cc

Issue 2931963002: [M60] exo: Fix cursor scale when crossing displays (Closed)
Patch Set: Created 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/exo/shell_surface.cc
diff --git a/components/exo/shell_surface.cc b/components/exo/shell_surface.cc
index 8a2836dc2afd49b4420da82ffa798bd6930d77f4..ab9419e34584fcc400ceaaabd345795fbd0e67ef 100644
--- a/components/exo/shell_surface.cc
+++ b/components/exo/shell_surface.cc
@@ -11,7 +11,6 @@
#include "ash/public/cpp/shell_window_ids.h"
#include "ash/public/cpp/window_properties.h"
#include "ash/public/interfaces/window_pin_type.mojom.h"
-#include "ash/shell_port.h"
#include "ash/wm/drag_window_resizer.h"
#include "ash/wm/window_resizer.h"
#include "ash/wm/window_state.h"
@@ -148,10 +147,7 @@ class CustomWindowTargeter : public aura::WindowTargeter {
class CustomWindowResizer : public ash::WindowResizer {
public:
explicit CustomWindowResizer(ash::wm::WindowState* window_state)
- : WindowResizer(window_state) {
- ash::ShellPort::Get()->LockCursor();
- }
- ~CustomWindowResizer() override { ash::ShellPort::Get()->UnlockCursor(); }
+ : WindowResizer(window_state) {}
// Overridden from ash::WindowResizer:
void Drag(const gfx::Point& location, int event_flags) override {}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698