| OLD | NEW |
| (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_ |
| OLD | NEW |