Changeset 39200 in webkit


Ignore:
Timestamp:
Dec 11, 2008, 2:03:28 AM (16 years ago)
Author:
zecke@webkit.org
Message:

Reimplement RenderTheme::caretBlinkInterval for Qt.

The QApplication::cursorFlashTime is in milliseconds and describes
the whole cycle while WebCore expects half a cycle.

Location:
trunk/WebCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r39199 r39200  
     12008-12-11  Holger Hans Peter Freyther  <zecke@selfish.org>
     2
     3        Reviewed and implemented with Tor Arne Vestbø.
     4
     5        Reimplement RenderTheme::caretBlinkInterval for Qt.
     6
     7        The QApplication::cursorFlashTime is in milliseconds and describes
     8        the whole cycle while WebCore expects half a cycle.
     9
     10        * platform/qt/RenderThemeQt.cpp:
     11        (WebCore::RenderThemeQt::caretBlinkInterval):
     12        * platform/qt/RenderThemeQt.h:
     13
    1142008-12-09  Trenton Schulz <trenton.schulz@nokia.com>
    215
  • trunk/WebCore/platform/qt/RenderThemeQt.cpp

    r38789 r39200  
    943943}
    944944
     945double RenderThemeQt::caretBlinkInterval() const
     946{
     947    return  QApplication::cursorFlashTime() / 1000.0 / 2.0;
     948}
     949
    945950}
    946951
  • trunk/WebCore/platform/qt/RenderThemeQt.h

    r38788 r39200  
    7272
    7373    virtual void adjustSliderThumbSize(RenderObject*) const;
     74
     75    virtual double caretBlinkInterval() const;
    7476
    7577protected:
Note: See TracChangeset for help on using the changeset viewer.