Changeset 58487 in webkit


Ignore:
Timestamp:
Apr 29, 2010 1:46:29 AM (14 years ago)
Author:
eric@webkit.org
Message:

2010-04-29 Gustavo Sverzut Barbieri <barbieri@profusion.mobi>

Reviewed by Eric Seidel.

Add EFL-specific code to Widget.h and move the empty
frameRectsChanged() definition to Widget.cpp, since the EFL port
needs to override that.
http://webkit.org/b/36317

No new tests required.

  • WebCore.base.exp:
  • platform/Widget.cpp: (WebCore::Widget::frameRectsChanged):
  • platform/Widget.h:
Location:
trunk/WebCore
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r58484 r58487  
     12010-04-29  Gustavo Sverzut Barbieri  <barbieri@profusion.mobi>
     2
     3        Reviewed by Eric Seidel.
     4
     5        Add EFL-specific code to Widget.h and move the empty
     6        frameRectsChanged() definition to Widget.cpp, since the EFL port
     7        needs to override that.
     8        http://webkit.org/b/36317
     9
     10        No new tests required.
     11
     12        * WebCore.base.exp:
     13        * platform/Widget.cpp:
     14        (WebCore::Widget::frameRectsChanged):
     15        * platform/Widget.h:
     16
    1172010-04-29  Jarkko Sakkinen  <jarkko.j.sakkinen@gmail.com>
    218
  • trunk/WebCore/WebCore.base.exp

    r58072 r58487  
    610610__ZN7WebCore6WidgetC2EP6NSView
    611611__ZN7WebCore6WidgetD2Ev
     612__ZN7WebCore6Widget17frameRectsChangedEv
    612613__ZN7WebCore7Console21shouldPrintExceptionsEv
    613614__ZN7WebCore7Console24setShouldPrintExceptionsEb
  • trunk/WebCore/platform/Widget.cpp

    r52489 r58487  
    175175}
    176176
     177#if !PLATFORM(EFL)
     178void Widget::frameRectsChanged()
     179{
     180}
     181#endif
     182
    177183} // namespace WebCore
  • trunk/WebCore/platform/Widget.h

    r57521 r58487  
    7373#endif
    7474
     75#if PLATFORM(EFL)
     76#include <Ecore_Evas.h>
     77#include <Evas.h>
     78typedef Evas_Object* PlatformWidget;
     79#endif
     80
    7581#if PLATFORM(QT)
    7682class QWebPageClient;
     
    95101class ScrollView;
    96102class WidgetPrivate;
     103#if PLATFORM(EFL)
     104class String;
     105#endif
    97106
    98107// The Widget class serves as a base class for three kinds of objects:
     
    190199    IntPoint convertFromContainingWindow(const IntPoint&) const;
    191200
    192     virtual void frameRectsChanged() {}
     201    virtual void frameRectsChanged();
    193202
    194203    // Notifies this widget that other widgets on the page have been repositioned.
     
    202211
    203212    void removeFromSuperview();
     213#endif
     214
     215#if PLATFORM(EFL)
     216    // FIXME: These should really go to PlatformWidget. They're here currently since
     217    // the EFL port considers that Evas_Object (a C object) is a PlatformWidget, but
     218    // encapsulating that into a C++ class will make this header clean as it should be.
     219    Evas* evas() const;
     220
     221    void setEvasObject(Evas_Object*);
     222    Evas_Object* evasObject() const;
     223
     224    const String edjeTheme() const;
     225    void setEdjeTheme(const String &);
     226    const String edjeThemeRecursive() const;
    204227#endif
    205228
     
    232255    IntRect m_frame; // Not used when a native widget exists.
    233256
    234 #if PLATFORM(MAC)
     257#if PLATFORM(EFL)
     258    // FIXME: Please see the previous #if PLATFORM(EFL) block.
     259    Ecore_Evas* ecoreEvas() const;
     260
     261    void applyFallbackCursor();
     262    void applyCursor();
     263#endif
     264
     265#if PLATFORM(MAC) || PLATFORM(EFL)
    235266    WidgetPrivate* m_data;
    236267#endif
     268
    237269#if PLATFORM(HAIKU)
    238270    PlatformWidget m_topLevelPlatformWidget;
Note: See TracChangeset for help on using the changeset viewer.