Changeset 112095 in webkit


Ignore:
Timestamp:
Mar 26, 2012 7:49:18 AM (12 years ago)
Author:
commit-queue@webkit.org
Message:

[Qt] Disable focus ring in the mobile theme.
https://bugs.webkit.org/show_bug.cgi?id=81934

For mobile devices intended to be used only through
touch, the focus rings makes little sense and feels
awkward.

Patch by Pierre Rossi <pierre.rossi@nokia.com> on 2012-03-26
Reviewed by Kenneth Rohde Christiansen.

No new tests. This is merely a cosmetic touch.

  • platform/qt/RenderThemeQtMobile.h:

(RenderThemeQtMobile):
(WebCore::RenderThemeQtMobile::platformFocusRingColor):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r112092 r112095  
     12012-03-26  Pierre Rossi  <pierre.rossi@nokia.com>
     2
     3        [Qt] Disable focus ring in the mobile theme.
     4        https://bugs.webkit.org/show_bug.cgi?id=81934
     5
     6        For mobile devices intended to be used only through
     7        touch, the focus rings makes little sense and feels
     8        awkward.
     9
     10        Reviewed by Kenneth Rohde Christiansen.
     11
     12        No new tests. This is merely a cosmetic touch.
     13
     14        * platform/qt/RenderThemeQtMobile.h:
     15        (RenderThemeQtMobile):
     16        (WebCore::RenderThemeQtMobile::platformFocusRingColor):
     17
    1182012-03-26  Charles Wei  <charles.wei@torchmobile.com.cn>
    219
  • trunk/Source/WebCore/platform/qt/RenderThemeQtMobile.h

    r110730 r112095  
    5353
    5454    virtual bool delegatesMenuListRendering() const { return true; }
     55
     56    // drawFocusRing() will return early if the color is invalid.
     57    virtual Color platformFocusRingColor() const { return Color(); }
    5558
    5659protected:
Note: See TracChangeset for help on using the changeset viewer.