Changeset 57118 in webkit


Ignore:
Timestamp:
Apr 5, 2010 8:50:46 PM (14 years ago)
Author:
eric@webkit.org
Message:

2010-04-05 Leandro Pereira <leandro@profusion.mobi>

Reviewed by Kenneth Rohde Christiansen.

Add EFL-specific code to platform/graphics/*.h.
http://webkit.org/b/36308

  • platform/graphics/Icon.h:
  • platform/graphics/IntRect.h:
  • platform/graphics/FloatRect.h:
  • platform/graphics/IntPoint.h:
Location:
trunk/WebCore
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r57117 r57118  
     12010-04-05  Leandro Pereira  <leandro@profusion.mobi>
     2
     3        Reviewed by Kenneth Rohde Christiansen.
     4
     5        Add EFL-specific code to platform/graphics/*.h.
     6        http://webkit.org/b/36308
     7
     8        * platform/graphics/Icon.h:
     9        * platform/graphics/IntRect.h:
     10        * platform/graphics/FloatRect.h:
     11        * platform/graphics/IntPoint.h:
     12
    1132010-04-05  Robert Hogan  <robert@webkit.org>
    214
  • trunk/WebCore/platform/graphics/FloatRect.h

    r54845 r57118  
    3030#include "FloatPoint.h"
    3131
     32#if PLATFORM(EFL)
     33#include <Evas.h>
     34#endif
     35
    3236#if PLATFORM(CG)
    3337typedef struct CGRect CGRect;
     
    146150#endif
    147151
     152#if PLATFORM(EFL)
     153    explicit FloatRect(const Eina_Rectangle&);
     154    operator Eina_Rectangle() const;
     155#endif
     156
    148157#if PLATFORM(WX) && USE(WXGC)
    149158    FloatRect(const wxRect2DDouble&);
  • trunk/WebCore/platform/graphics/Icon.h

    r56439 r57118  
    4040#elif PLATFORM(GTK)
    4141typedef struct _GdkPixbuf GdkPixbuf;
     42#elif PLATFORM(EFL)
     43#include <Evas.h>
    4244#elif PLATFORM(CHROMIUM)
    4345#include "PlatformIcon.h"
     
    7577    Icon();
    7678    GdkPixbuf* m_icon;
     79#elif PLATFORM(EFL)
     80    Icon();
     81    Evas_Object* m_icon;
    7782#elif PLATFORM(CHROMIUM)
    7883    Icon(const PlatformIcon&);
  • trunk/WebCore/platform/graphics/IntPoint.h

    r55633 r57118  
    5757#elif PLATFORM(HAIKU)
    5858class BPoint;
     59#elif PLATFORM(EFL)
     60typedef struct _Evas_Point Evas_Point;
    5961#endif
    6062
     
    130132    explicit IntPoint(const BPoint&);
    131133    operator BPoint() const;
     134#elif PLATFORM(EFL)
     135    explicit IntPoint(const Evas_Point&);
     136    operator Evas_Point() const;
    132137#endif
    133138
  • trunk/WebCore/platform/graphics/IntRect.h

    r55633 r57118  
    5252#elif PLATFORM(HAIKU)
    5353class BRect;
     54#elif PLATFORM(EFL)
     55#include <Evas.h>
    5456#endif
    5557
     
    154156    explicit IntRect(const BRect&);
    155157    operator BRect() const;
     158#elif PLATFORM(EFL)
     159    explicit IntRect(const Eina_Rectangle&);
     160    operator Eina_Rectangle() const;
    156161#endif
    157162
Note: See TracChangeset for help on using the changeset viewer.