summaryrefslogtreecommitdiffstats
path: root/ui/aura/window.h
diff options
context:
space:
mode:
authorsadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-20 21:51:43 +0000
committersadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-20 21:51:43 +0000
commit593ddfa5b36b3fcea4ba20b054f00338adb4caf3 (patch)
treeb31eafeb93112c5e9eaa183e54a0051984462ba8 /ui/aura/window.h
parent0bc2efd12616518e3952be87a078d53ab5adfca5 (diff)
downloadchromium_src-593ddfa5b36b3fcea4ba20b054f00338adb4caf3.zip
chromium_src-593ddfa5b36b3fcea4ba20b054f00338adb4caf3.tar.gz
chromium_src-593ddfa5b36b3fcea4ba20b054f00338adb4caf3.tar.bz2
aura: Add transform support to Desktop.
For painting, the transform gets applied to the root layer of the compositor. For testing purposes, ctrl+Home is set to rotate the desktop (this can be made better when there's hotkey support). BUG=100600 TEST=none Review URL: http://codereview.chromium.org/8329019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106594 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/aura/window.h')
-rw-r--r--ui/aura/window.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ui/aura/window.h b/ui/aura/window.h
index a2b9617..0eb8d98 100644
--- a/ui/aura/window.h
+++ b/ui/aura/window.h
@@ -25,6 +25,7 @@ namespace ui {
class Animation;
class Compositor;
class Layer;
+class Transform;
}
namespace aura {
@@ -115,6 +116,8 @@ class AURA_EXPORT Window : public ui::LayerDelegate {
virtual ToplevelWindowContainer* AsToplevelWindowContainer();
virtual const ToplevelWindowContainer* AsToplevelWindowContainer() const;
+ virtual void SetTransform(const ui::Transform& transform);
+
// Assigns a LayoutManager to size and place child windows.
// The Window takes ownership of the LayoutManager.
void SetLayoutManager(LayoutManager* layout_manager);