summaryrefslogtreecommitdiffstats
path: root/ui/gfx/transform_util.h
diff options
context:
space:
mode:
authorxiyuan@chromium.org <xiyuan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-14 17:06:59 +0000
committerxiyuan@chromium.org <xiyuan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-14 17:06:59 +0000
commit665e2b7b8351b2ce82b7279325f65876df8f5283 (patch)
tree5b3e988e926b42d1e15037448628c17997029e81 /ui/gfx/transform_util.h
parent8cb6d6e6d51c6abd996558daad179b1c4264e93f (diff)
downloadchromium_src-665e2b7b8351b2ce82b7279325f65876df8f5283.zip
chromium_src-665e2b7b8351b2ce82b7279325f65876df8f5283.tar.gz
chromium_src-665e2b7b8351b2ce82b7279325f65876df8f5283.tar.bz2
ash: Update app list UI to match latest crwm.
- Tile app list item horizontally; - Move item title to the bottom; - Update padding for model view: 45px from left/right and 32px from top/bottom; - Change shade from 0.4 black to 0.2 black; - Update animation; - Defer app list widget activation until showing animation is finished; BUG=117238,117073 TEST=Verify fix for issue 117238. Review URL: https://chromiumcodereview.appspot.com/9677065 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@126665 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/gfx/transform_util.h')
-rw-r--r--ui/gfx/transform_util.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/ui/gfx/transform_util.h b/ui/gfx/transform_util.h
new file mode 100644
index 0000000..02fb0a8
--- /dev/null
+++ b/ui/gfx/transform_util.h
@@ -0,0 +1,23 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef UI_GFX_TRANSFORM_UTIL_H_
+#define UI_GFX_TRANSFORM_UTIL_H_
+#pragma once
+
+#include "ui/base/ui_export.h"
+#include "ui/gfx/transform.h"
+
+namespace gfx {
+class Point;
+}
+
+namespace ui {
+
+// Returns a scale transform at |anchor| point.
+UI_EXPORT Transform GetScaleTransform(const gfx::Point& anchor, float scale);
+
+} // namespace ui
+
+#endif // UI_GFX_TRANSFORM_UTIL_H_