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

Unified Diff: components/mus/ws/window_manager_state.cc

Issue 1987133002: Delete mus surfaces hit testing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix unittests Created 4 years, 7 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 | « components/mus/ws/window_manager_state.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/ws/window_manager_state.cc
diff --git a/components/mus/ws/window_manager_state.cc b/components/mus/ws/window_manager_state.cc
index b2da1166736366e624fd43fdcf5ffbb3d688300c..e89d838483ccca6b9e25eed9465e1af50cec2d53 100644
--- a/components/mus/ws/window_manager_state.cc
+++ b/components/mus/ws/window_manager_state.cc
@@ -95,20 +95,16 @@ WindowManagerState::QueuedEvent::QueuedEvent() {}
WindowManagerState::QueuedEvent::~QueuedEvent() {}
WindowManagerState::WindowManagerState(Display* display,
- PlatformDisplay* platform_display,
- cc::SurfaceId surface_id)
+ PlatformDisplay* platform_display)
: WindowManagerState(display,
platform_display,
- surface_id,
false,
shell::mojom::kRootUserID) {}
WindowManagerState::WindowManagerState(Display* display,
PlatformDisplay* platform_display,
- cc::SurfaceId surface_id,
const UserId& user_id)
- : WindowManagerState(display, platform_display, surface_id, true, user_id) {
-}
+ : WindowManagerState(display, platform_display, true, user_id) {}
WindowManagerState::~WindowManagerState() {}
@@ -167,7 +163,6 @@ void WindowManagerState::OnWillDestroyTree(WindowTree* tree) {
WindowManagerState::WindowManagerState(Display* display,
PlatformDisplay* platform_display,
- cc::SurfaceId surface_id,
bool is_user_id_valid,
const UserId& user_id)
: display_(display),
@@ -191,7 +186,6 @@ WindowManagerState::WindowManagerState(Display* display,
display->root_window()->Add(root_.get());
event_dispatcher_.set_root(root_.get());
- event_dispatcher_.set_surface_id(surface_id);
AddDebugAccelerators();
}
« no previous file with comments | « components/mus/ws/window_manager_state.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698