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

Unified Diff: ash/host/ash_window_tree_host_unified.h

Issue 1119953002: Enable display rotation, magnifier in unified desktop mode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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: ash/host/ash_window_tree_host_unified.h
diff --git a/ash/host/ash_window_tree_host_unified.h b/ash/host/ash_window_tree_host_unified.h
index 024b8dfd446b244f70fc130df10dfe2453626f29..aa9ab4c36b207d333848ef298faa7b7d1c081386 100644
--- a/ash/host/ash_window_tree_host_unified.h
+++ b/ash/host/ash_window_tree_host_unified.h
@@ -8,6 +8,7 @@
#include <vector>
#include "ash/host/ash_window_tree_host.h"
+#include "ash/host/transformer_helper.h"
#include "ui/aura/window_observer.h"
#include "ui/aura/window_tree_host.h"
#include "ui/events/event_source.h"
@@ -50,6 +51,10 @@ class AshWindowTreeHostUnified : public AshWindowTreeHost,
void Hide() override;
gfx::Rect GetBounds() const override;
void SetBounds(const gfx::Rect& bounds) override;
+ gfx::Transform GetRootTransform() const override;
+ void SetRootTransform(const gfx::Transform& transform) override;
+ gfx::Transform GetInverseRootTransform() const override;
+ void UpdateRootWindowSize(const gfx::Size& host_size) override;
void SetCapture() override;
void ReleaseCapture() override;
gfx::Point GetLocationOnNativeScreen() const override;
@@ -67,6 +72,8 @@ class AshWindowTreeHostUnified : public AshWindowTreeHost,
gfx::Rect bounds_;
+ TransformerHelper transformer_helper_;
+
DISALLOW_COPY_AND_ASSIGN(AshWindowTreeHostUnified);
};

Powered by Google App Engine
This is Rietveld 408576698