Changeset 108715 in webkit


Ignore:
Timestamp:
Feb 23, 2012 7:05:58 PM (12 years ago)
Author:
leo.yang@torchmobile.com.cn
Message:

[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):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r108714 r108715  
     12012-02-23  Leo Yang  <leo.yang@torchmobile.com.cn>
     2
     3        [BlackBerry] Upstream the BlackBerry change to platform/graphics/IntPoint.h
     4        https://bugs.webkit.org/show_bug.cgi?id=79094
     5
     6        Reviewed by Antonio Gomes.
     7
     8        Add conversion convenience between WebCore::IntPoint and BlackBerry::Platform::IntPoint.
     9
     10        The porting can't be built yet, no new tests.
     11
     12        * platform/graphics/IntPoint.h:
     13        (Platform):
     14        (IntPoint):
     15
    1162012-02-23  Justin Novosad  <junov@chromium.org>
    217
  • trunk/Source/WebCore/platform/graphics/IntPoint.h

    r95922 r108715  
    5656#elif PLATFORM(GTK)
    5757typedef struct _GdkPoint GdkPoint;
     58#elif PLATFORM(BLACKBERRY)
     59namespace BlackBerry {
     60namespace Platform {
     61class IntPoint;
     62}
     63}
    5864#elif PLATFORM(EFL)
    5965typedef struct _Evas_Point Evas_Point;
     
    137143    IntPoint(const GdkPoint&);
    138144    operator GdkPoint() const;
     145#elif PLATFORM(BLACKBERRY)
     146    IntPoint(const BlackBerry::Platform::IntPoint&);
     147    operator BlackBerry::Platform::IntPoint() const;
    139148#elif PLATFORM(EFL)
    140149    explicit IntPoint(const Evas_Point&);
Note: See TracChangeset for help on using the changeset viewer.