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

Unified Diff: components/mus/ws/event_dispatcher.h

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/display.cc ('k') | components/mus/ws/event_dispatcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/ws/event_dispatcher.h
diff --git a/components/mus/ws/event_dispatcher.h b/components/mus/ws/event_dispatcher.h
index ca7e6a6fc9fe09824f1245654df009958c25e055..cea8aad708ffc4c8143246420b0d92b8d54ab6b4 100644
--- a/components/mus/ws/event_dispatcher.h
+++ b/components/mus/ws/event_dispatcher.h
@@ -12,7 +12,6 @@
#include <utility>
#include "base/macros.h"
-#include "cc/surfaces/surface_id.h"
#include "components/mus/public/interfaces/event_matcher.mojom.h"
#include "components/mus/ws/modal_window_controller.h"
#include "components/mus/ws/server_window_observer.h"
@@ -43,8 +42,6 @@ class EventDispatcher : public ServerWindowObserver {
void set_root(ServerWindow* root) { root_ = root; }
- void set_surface_id(cc::SurfaceId surface_id) { surface_id_ = surface_id; }
-
// Cancels capture and stops tracking any pointer events. This does not send
// any events to the delegate.
void Reset();
@@ -207,8 +204,6 @@ class EventDispatcher : public ServerWindowObserver {
// bounds of |mouse_cursor_source_window_|, which can capture the cursor.
gfx::Point mouse_pointer_last_location_;
- cc::SurfaceId surface_id_;
-
using Entry = std::pair<uint32_t, std::unique_ptr<Accelerator>>;
std::map<uint32_t, std::unique_ptr<Accelerator>> accelerators_;
« no previous file with comments | « components/mus/ws/display.cc ('k') | components/mus/ws/event_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698