Index: components/mus/ws/window_tree_host_impl.h |
diff --git a/components/mus/ws/window_tree_host_impl.h b/components/mus/ws/window_tree_host_impl.h |
index 5247b01ba83be0f97fb99523a0f188c5f3c99844..850b3ee3107c12cac350ea619b6658946c3981f0 100644 |
--- a/components/mus/ws/window_tree_host_impl.h |
+++ b/components/mus/ws/window_tree_host_impl.h |
@@ -56,6 +56,8 @@ class WindowTreeHostImpl : public DisplayManagerDelegate, |
// Initializes state that depends on the existence of a WindowTreeHostImpl. |
void Init(WindowTreeHostDelegate* delegate); |
+ uint32_t id() const { return id_; } |
+ |
const WindowTreeImpl* GetWindowTree() const; |
WindowTreeImpl* GetWindowTree(); |
@@ -80,6 +82,8 @@ class WindowTreeHostImpl : public DisplayManagerDelegate, |
// Returns the metrics for this viewport. |
const mojom::ViewportMetrics& GetViewportMetrics() const; |
+ mojom::Rotation GetRotation() const; |
+ |
ConnectionManager* connection_manager() { return connection_manager_; } |
mojom::WindowManager* window_manager() { return window_manager_.get(); } |
@@ -222,6 +226,8 @@ class WindowTreeHostImpl : public DisplayManagerDelegate, |
std::queue<scoped_ptr<QueuedEvent>> event_queue_; |
base::OneShotTimer event_ack_timer_; |
+ const uint32_t id_; |
+ |
DISALLOW_COPY_AND_ASSIGN(WindowTreeHostImpl); |
}; |