Index: services/ui/ws/platform_display.h |
diff --git a/services/ui/ws/platform_display.h b/services/ui/ws/platform_display.h |
index fb567d733458e13f6c87e8c7b7ece173f0c65f42..9ca77e8b19ff81089774f6283ec38e3dd41d14fa 100644 |
--- a/services/ui/ws/platform_display.h |
+++ b/services/ui/ws/platform_display.h |
@@ -16,9 +16,14 @@ |
#include "ui/events/event_source.h" |
#include "ui/gfx/native_widget_types.h" |
+namespace base { |
+class SingleThreadTaskRunner; |
+} |
+ |
namespace ui { |
enum class CursorSize; |
+class ImageCursors; |
struct TextInputState; |
namespace ws { |
@@ -35,7 +40,9 @@ class PlatformDisplay : public ui::EventSource { |
static std::unique_ptr<PlatformDisplay> Create( |
ServerWindow* root_window, |
- const display::ViewportMetrics& metrics); |
+ const display::ViewportMetrics& metrics, |
+ scoped_refptr<base::SingleThreadTaskRunner>& resource_runner, |
+ base::WeakPtr<ui::ImageCursors> image_cursors_weak_ptr); |
virtual void Init(PlatformDisplayDelegate* delegate) = 0; |