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

Unified Diff: services/ui/ws/platform_display.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.h
diff --git a/services/ui/ws/platform_display.h b/services/ui/ws/platform_display.h
index a33f6383cc5b9bb11796485f334ac9c730d74de6..7daf169071879981d15fb1b2445774887e4ac903 100644
--- a/services/ui/ws/platform_display.h
+++ b/services/ui/ws/platform_display.h
@@ -16,6 +16,10 @@
#include "ui/events/event_source.h"
#include "ui/gfx/native_widget_types.h"
+namespace base {
+class SingleThreadTaskRunner;
+}
+
namespace ui {
struct TextInputState;
@@ -34,7 +38,8 @@ 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);
virtual void Init(PlatformDisplayDelegate* delegate) = 0;

Powered by Google App Engine
This is Rietveld 408576698