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

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

Issue 2916823002: Move Mus into chrome's process when running with --mus.
Patch Set: Addressing most feedback, making this work on device. 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 side-by-side diff with in-line comments
Download patch
Index: services/ui/ws/platform_display_default.h
diff --git a/services/ui/ws/platform_display_default.h b/services/ui/ws/platform_display_default.h
index 5f942b19f973c61807a6d5b7053a3196bfe136ef..51263e0896e43fa13fa7886c7e60e89c35544522 100644
--- a/services/ui/ws/platform_display_default.h
+++ b/services/ui/ws/platform_display_default.h
@@ -18,11 +18,12 @@
namespace ui {
class EventSink;
-class ImageCursors;
class PlatformWindow;
namespace ws {
+class ThreadedImageCursors;
+
// PlatformDisplay implementation that connects to a PlatformWindow and
// FrameGenerator for Chrome OS.
class PlatformDisplayDefault : public PlatformDisplay,
@@ -31,7 +32,7 @@ class PlatformDisplayDefault : public PlatformDisplay,
// |image_cursors| may be null, for example on Android or in tests.
PlatformDisplayDefault(ServerWindow* root_window,
const display::ViewportMetrics& metrics,
- std::unique_ptr<ImageCursors> image_cursors);
+ std::unique_ptr<ThreadedImageCursors> image_cursors);
~PlatformDisplayDefault() override;
// EventSource::
@@ -67,7 +68,7 @@ class PlatformDisplayDefault : public PlatformDisplay,
ServerWindow* root_window_;
- std::unique_ptr<ui::ImageCursors> image_cursors_;
+ std::unique_ptr<ThreadedImageCursors> image_cursors_;
PlatformDisplayDelegate* delegate_ = nullptr;
std::unique_ptr<FrameGenerator> frame_generator_;

Powered by Google App Engine
This is Rietveld 408576698