Changeset 57148 in webkit


Ignore:
Timestamp:
Apr 6, 2010 7:32:49 AM (14 years ago)
Author:
tonikitoo@webkit.org
Message:

Remove unused DIRECTIONAL_PAD_NAVIGATION
https://bugs.webkit.org/show_bug.cgi?id=37134

Reviewed by Laszlo Gombos.
Patch by Antonio Gomes <tonikitoo@webkit.org>

Android browser was planning to have a "directional pad navigation" available on
trunk, under a build guard called DIRECTIONAL_PAD_NAVIGATION, but according to
https://bugs.webkit.org/show_bug.cgi?id=23145#c3 , the plan was dropped.

However bug 23163 landed some code relying on the build flag supposedly to be added,
and is now dead code in trunk.

  • dom/Element.cpp:

(WebCore::Element::updateFocusAppearance):

Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r57146 r57148  
     12010-04-05  Antonio Gomes  <tonikitoo@webkit.org>
     2
     3        Reviewed by Laszlo Gombos.
     4
     5        Remove unused DIRECTIONAL_PAD_NAVIGATION
     6        https://bugs.webkit.org/show_bug.cgi?id=37134
     7
     8        Android browser was planning to have a "directional pad navigation" available on
     9        trunk, guarded by a build flag named DIRECTIONAL_PAD_NAVIGATION, but according to
     10        https://bugs.webkit.org/show_bug.cgi?id=23145#c3 , the plan was dropped.
     11
     12        However bug 23163 landed some code relying on the build flag supposedly to be added,
     13        and is now dead code in trunk.
     14
     15        * dom/Element.cpp:
     16        (WebCore::Element::updateFocusAppearance):
     17
    1182010-04-06  Mattias Nissler  <mnissler@chromium.org>
    219
  • trunk/WebCore/dom/Element.cpp

    r57093 r57148  
    13381338            frame->revealSelection();
    13391339        }
    1340     }
    1341     // FIXME: I'm not sure all devices will want this off, but this is
    1342     // currently turned off for Android.
    1343 #if !ENABLE(DIRECTIONAL_PAD_NAVIGATION)
    1344     else if (renderer() && !renderer()->isWidget())
     1340    } else if (renderer() && !renderer()->isWidget())
    13451341        renderer()->enclosingLayer()->scrollRectToVisible(getRect());
    1346 #endif
    13471342}
    13481343
Note: See TracChangeset for help on using the changeset viewer.