summaryrefslogtreecommitdiffstats
path: root/base/gfx/point.h
diff options
context:
space:
mode:
authornsylvain@google.com <nsylvain@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-05 19:19:25 +0000
committernsylvain@google.com <nsylvain@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-05 19:19:25 +0000
commit13f29d976aa29c24a5f912f3d0e2484f397dca42 (patch)
treed078eaaa2ff642f2a029646a12a5127cf6cd9c47 /base/gfx/point.h
parentc213ae3cecdb13d713efe1dea8564cd03aec3588 (diff)
downloadchromium_src-13f29d976aa29c24a5f912f3d0e2484f397dca42.zip
chromium_src-13f29d976aa29c24a5f912f3d0e2484f397dca42.tar.gz
chromium_src-13f29d976aa29c24a5f912f3d0e2484f397dca42.tar.bz2
Revert base\gfx changes because it breaks the build
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@386 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/gfx/point.h')
-rw-r--r--base/gfx/point.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/base/gfx/point.h b/base/gfx/point.h
index e4a5038..3e09a81 100644
--- a/base/gfx/point.h
+++ b/base/gfx/point.h
@@ -30,17 +30,11 @@
#ifndef BASE_GFX_POINT_H__
#define BASE_GFX_POINT_H__
-#include "build/build_config.h"
-
#ifdef UNIT_TEST
#include <iostream>
#endif
-#if defined(OS_WIN)
typedef struct tagPOINT POINT;
-#elif defined(OS_MACOSX)
-#import <ApplicationServices/ApplicationServices.h>
-#endif
namespace gfx {
@@ -51,11 +45,7 @@ class Point {
public:
Point();
Point(int x, int y);
-#if defined(OS_WIN)
explicit Point(const POINT& point);
-#elif defined(OS_MACOSX)
- explicit Point(const CGPoint& point);
-#endif
~Point() {}
@@ -78,11 +68,7 @@ class Point {
return !(*this == rhs);
}
-#if defined(OS_WIN)
POINT ToPOINT() const;
-#elif defined(OS_MACOSX)
- CGPoint ToCGPoint() const;
-#endif
private:
int x_;