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

Unified Diff: ui/gfx/interpolated_transform.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/insets_f.h ('k') | ui/gfx/matrix3_f.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/interpolated_transform.h
diff --git a/ui/gfx/interpolated_transform.h b/ui/gfx/interpolated_transform.h
index 474e3a9dc9017e6dce9b2f77ce4e587ebaba5ee1..dea9ce91fb3447f725b9e0e654d7de997e832e03 100644
--- a/ui/gfx/interpolated_transform.h
+++ b/ui/gfx/interpolated_transform.h
@@ -25,7 +25,7 @@ namespace ui {
// scale from 0.3 to 1 from between times 0.75 and 1.
//
///////////////////////////////////////////////////////////////////////////////
-class UI_EXPORT InterpolatedTransform {
+class GFX_EXPORT InterpolatedTransform {
public:
InterpolatedTransform();
// The interpolated transform varies only when t in (start_time, end_time).
@@ -84,7 +84,7 @@ class UI_EXPORT InterpolatedTransform {
// Represents an animated rotation.
//
///////////////////////////////////////////////////////////////////////////////
-class UI_EXPORT InterpolatedRotation : public InterpolatedTransform {
+class GFX_EXPORT InterpolatedRotation : public InterpolatedTransform {
public:
InterpolatedRotation(float start_degrees, float end_degrees);
InterpolatedRotation(float start_degrees,
@@ -109,7 +109,7 @@ class UI_EXPORT InterpolatedRotation : public InterpolatedTransform {
// Represents an animated rotation.
//
///////////////////////////////////////////////////////////////////////////////
-class UI_EXPORT InterpolatedAxisAngleRotation : public InterpolatedTransform {
+class GFX_EXPORT InterpolatedAxisAngleRotation : public InterpolatedTransform {
public:
InterpolatedAxisAngleRotation(const gfx::Vector3dF& axis,
float start_degrees,
@@ -138,7 +138,7 @@ class UI_EXPORT InterpolatedAxisAngleRotation : public InterpolatedTransform {
// Represents an animated scale.
//
///////////////////////////////////////////////////////////////////////////////
-class UI_EXPORT InterpolatedScale : public InterpolatedTransform {
+class GFX_EXPORT InterpolatedScale : public InterpolatedTransform {
public:
InterpolatedScale(float start_scale, float end_scale);
InterpolatedScale(float start_scale, float end_scale,
@@ -161,7 +161,7 @@ class UI_EXPORT InterpolatedScale : public InterpolatedTransform {
DISALLOW_COPY_AND_ASSIGN(InterpolatedScale);
};
-class UI_EXPORT InterpolatedTranslation : public InterpolatedTransform {
+class GFX_EXPORT InterpolatedTranslation : public InterpolatedTransform {
public:
InterpolatedTranslation(const gfx::Point& start_pos,
const gfx::Point& end_pos);
@@ -190,7 +190,7 @@ class UI_EXPORT InterpolatedTranslation : public InterpolatedTransform {
// See InterpolatedTransformAboutPivot for an example of its usage.
//
///////////////////////////////////////////////////////////////////////////////
-class UI_EXPORT InterpolatedConstantTransform : public InterpolatedTransform {
+class GFX_EXPORT InterpolatedConstantTransform : public InterpolatedTransform {
public:
explicit InterpolatedConstantTransform(const gfx::Transform& transform);
virtual ~InterpolatedConstantTransform();
@@ -212,7 +212,8 @@ class UI_EXPORT InterpolatedConstantTransform : public InterpolatedTransform {
// P * T * P^-1 where P is a constant transform to the new origin.
//
///////////////////////////////////////////////////////////////////////////////
-class UI_EXPORT InterpolatedTransformAboutPivot : public InterpolatedTransform {
+class GFX_EXPORT InterpolatedTransformAboutPivot
+ : public InterpolatedTransform {
public:
// Takes ownership of the passed transform.
InterpolatedTransformAboutPivot(const gfx::Point& pivot,
@@ -236,7 +237,7 @@ class UI_EXPORT InterpolatedTransformAboutPivot : public InterpolatedTransform {
DISALLOW_COPY_AND_ASSIGN(InterpolatedTransformAboutPivot);
};
-class UI_EXPORT InterpolatedMatrixTransform : public InterpolatedTransform {
+class GFX_EXPORT InterpolatedMatrixTransform : public InterpolatedTransform {
public:
InterpolatedMatrixTransform(const gfx::Transform& start_transform,
const gfx::Transform& end_transform);
« no previous file with comments | « ui/gfx/insets_f.h ('k') | ui/gfx/matrix3_f.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698