Commit 5a67c05d authored by leo.yang@torchmobile.com.cn's avatar leo.yang@torchmobile.com.cn
Browse files

[BlackBerry] Upstream the BlackBerry change to platform/graphics/IntPoint.h

https://bugs.webkit.org/show_bug.cgi?id=79094

Reviewed by Antonio Gomes.

Add conversion convenience between WebCore::IntPoint and BlackBerry::Platform::IntPoint.

The porting can't be built yet, no new tests.

* platform/graphics/IntPoint.h:
(Platform):
(IntPoint):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108715 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent b911ca86
2012-02-23 Leo Yang <leo.yang@torchmobile.com.cn>
[BlackBerry] Upstream the BlackBerry change to platform/graphics/IntPoint.h
https://bugs.webkit.org/show_bug.cgi?id=79094
Reviewed by Antonio Gomes.
Add conversion convenience between WebCore::IntPoint and BlackBerry::Platform::IntPoint.
The porting can't be built yet, no new tests.
* platform/graphics/IntPoint.h:
(Platform):
(IntPoint):
2012-02-23 Justin Novosad <junov@chromium.org>
 
[Chromium] Add profiling trace for deferred canvas rendering
......@@ -55,6 +55,12 @@ class QPoint;
QT_END_NAMESPACE
#elif PLATFORM(GTK)
typedef struct _GdkPoint GdkPoint;
#elif PLATFORM(BLACKBERRY)
namespace BlackBerry {
namespace Platform {
class IntPoint;
}
}
#elif PLATFORM(EFL)
typedef struct _Evas_Point Evas_Point;
#endif
......@@ -136,6 +142,9 @@ public:
#elif PLATFORM(GTK)
IntPoint(const GdkPoint&);
operator GdkPoint() const;
#elif PLATFORM(BLACKBERRY)
IntPoint(const BlackBerry::Platform::IntPoint&);
operator BlackBerry::Platform::IntPoint() const;
#elif PLATFORM(EFL)
explicit IntPoint(const Evas_Point&);
operator Evas_Point() const;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment