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

Unified Diff: services/ui/ws/platform_display.h

Issue 2712963003: mustash: Use ui::chromeos::EventRewriter in mus (Closed)
Patch Set: Fix build issues. Created 3 years, 9 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 | « services/ui/ws/display_unittest.cc ('k') | services/ui/ws/platform_display_default.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ws/platform_display.h
diff --git a/services/ui/ws/platform_display.h b/services/ui/ws/platform_display.h
index f358754d9d72e8d15a723e5d90e9931ad5d1c215..75240b322083dc5889f9f094e874b57f166f58bb 100644
--- a/services/ui/ws/platform_display.h
+++ b/services/ui/ws/platform_display.h
@@ -13,6 +13,7 @@
#include "base/strings/string16.h"
#include "services/ui/display/viewport_metrics.h"
#include "services/ui/public/interfaces/cursor.mojom.h"
+#include "ui/events/event_source.h"
#include "ui/gfx/native_widget_types.h"
namespace ui {
@@ -27,9 +28,9 @@ class PlatformDisplayFactory;
class ServerWindow;
// PlatformDisplay is used to connect the root ServerWindow to a display.
-class PlatformDisplay {
+class PlatformDisplay : public ui::EventSource {
public:
- virtual ~PlatformDisplay() {}
+ ~PlatformDisplay() override {}
static std::unique_ptr<PlatformDisplay> Create(
ServerWindow* root_window,
« no previous file with comments | « services/ui/ws/display_unittest.cc ('k') | services/ui/ws/platform_display_default.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698