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

Side by Side Diff: services/ui/ws/event_targeter_delegate.h

Issue 2911293002: Add EventTargeterDelegate for EventTargeter in mus-ws. (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 unified diff | Download patch
« no previous file with comments | « services/ui/ws/event_targeter.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef SERVICES_UI_WS_EVENT_TARGETER_DELEGATE_H_
6 #define SERVICES_UI_WS_EVENT_TARGETER_DELEGATE_H_
7
8 #include <stdint.h>
9
10 namespace gfx {
11 class Point;
12 }
13
14 namespace ui {
15 namespace ws {
16 class ServerWindow;
17
18 // Used by EventTargeter to talk to WindowManagerState.
19 class EventTargeterDelegate {
20 public:
21 // Calls EventDispatcherDelegate::GetRootWindowContaining, see
22 // event_dispatcher_delegate.h for details.
23 virtual ServerWindow* GetRootWindowContaining(gfx::Point* location_in_display,
24 int64_t* display_id) = 0;
25
26 protected:
27 virtual ~EventTargeterDelegate() {}
28 };
29
30 } // namespace ws
31 } // namespace ui
32
33 #endif // SERVICES_UI_WS_EVENT_TARGETER_DELEGATE_H_
OLDNEW
« no previous file with comments | « services/ui/ws/event_targeter.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698