Index: ui/ozone/platform/wayland/wayland_connection.h |
diff --git a/ui/ozone/platform/wayland/wayland_connection.h b/ui/ozone/platform/wayland/wayland_connection.h |
index 108cac558b2e1f8080665d618157ba4d229c3b87..8f837b586e4b993b7d3a5bdf31a6eca19a2c26ed 100644 |
--- a/ui/ozone/platform/wayland/wayland_connection.h |
+++ b/ui/ozone/platform/wayland/wayland_connection.h |
@@ -11,6 +11,7 @@ |
#include "ui/events/platform/platform_event_source.h" |
#include "ui/gfx/native_widget_types.h" |
#include "ui/ozone/platform/wayland/wayland_object.h" |
+#include "ui/ozone/platform/wayland/wayland_output.h" |
#include "ui/ozone/platform/wayland/wayland_pointer.h" |
namespace ui { |
@@ -38,6 +39,9 @@ class WaylandConnection : public PlatformEventSource, |
void AddWindow(gfx::AcceleratedWidget widget, WaylandWindow* window); |
void RemoveWindow(gfx::AcceleratedWidget widget); |
+ const std::vector<std::unique_ptr<WaylandOutput>>& GetOutputList() const; |
+ WaylandOutput* PrimaryOutput() const; |
+ |
private: |
void Flush(); |
void DispatchUiEvent(Event* event); |
@@ -79,6 +83,8 @@ class WaylandConnection : public PlatformEventSource, |
bool watching_ = false; |
base::MessagePumpLibevent::FileDescriptorWatcher controller_; |
+ std::vector<std::unique_ptr<WaylandOutput>> output_list_; |
+ |
DISALLOW_COPY_AND_ASSIGN(WaylandConnection); |
}; |