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

Unified Diff: ui/gfx/transform_util.h

Issue 23498059: Remove last dependencies on ui/base from ui/gfx (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: last rebase Created 7 years, 3 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
« no previous file with comments | « ui/gfx/transform.h ('k') | ui/gfx/utf16_indexing.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/transform_util.h
diff --git a/ui/gfx/transform_util.h b/ui/gfx/transform_util.h
index e5a2138fb11f79197daafb373110dc65c745b69d..07bf0d5703ebb6e0768e0510566201a052bd27a2 100644
--- a/ui/gfx/transform_util.h
+++ b/ui/gfx/transform_util.h
@@ -13,11 +13,11 @@ namespace gfx {
class Point;
// Returns a scale transform at |anchor| point.
-UI_EXPORT Transform GetScaleTransform(const Point& anchor, float scale);
+GFX_EXPORT Transform GetScaleTransform(const Point& anchor, float scale);
// Contains the components of a factored transform. These components may be
// blended and recomposed.
-struct UI_EXPORT DecomposedTransform {
+struct GFX_EXPORT DecomposedTransform {
// The default constructor initializes the components in such a way that
// if used with Compose below, will produce the identity transform.
DecomposedTransform();
@@ -37,21 +37,21 @@ struct UI_EXPORT DecomposedTransform {
// routines described in http://www.w3.org/TR/css3-3d-transform/.
// |progress| is in the range [0, 1] (0 leaves |out| unchanged, and 1
// assigns |from| to |out|).
-UI_EXPORT bool BlendDecomposedTransforms(DecomposedTransform* out,
- const DecomposedTransform& to,
- const DecomposedTransform& from,
- double progress);
+GFX_EXPORT bool BlendDecomposedTransforms(DecomposedTransform* out,
+ const DecomposedTransform& to,
+ const DecomposedTransform& from,
+ double progress);
// Decomposes this transform into its translation, scale, skew, perspective,
// and rotation components following the routines detailed in this spec:
// http://www.w3.org/TR/css3-3d-transforms/.
-UI_EXPORT bool DecomposeTransform(DecomposedTransform* out,
- const Transform& transform);
+GFX_EXPORT bool DecomposeTransform(DecomposedTransform* out,
+ const Transform& transform);
// Composes a transform from the given translation, scale, skew, prespective,
// and rotation components following the routines detailed in this spec:
// http://www.w3.org/TR/css3-3d-transforms/.
-UI_EXPORT Transform ComposeTransform(const DecomposedTransform& decomp);
+GFX_EXPORT Transform ComposeTransform(const DecomposedTransform& decomp);
} // namespace gfx
« no previous file with comments | « ui/gfx/transform.h ('k') | ui/gfx/utf16_indexing.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698