Changeset 167788 in webkit


Ignore:
Timestamp:
Apr 24, 2014 6:24:27 PM (10 years ago)
Author:
rniwa@webkit.org
Message:

Unreviewed, rolling out r167700.
https://bugs.webkit.org/show_bug.cgi?id=132142

Incorrectly reverted the change in r167547 for
webkit.org/b/131898 (Requested by rniwa on #webkit).

Reverted changeset:

"Cursor doesn't change back to pointer when leaving the Safari
window"
https://bugs.webkit.org/show_bug.cgi?id=132038
http://trac.webkit.org/changeset/167700

Patch by Commit Queue <commit-queue@webkit.org> on 2014-04-24

Location:
trunk/Source
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r167786 r167788  
     12014-04-24  Commit Queue  <commit-queue@webkit.org>
     2
     3        Unreviewed, rolling out r167700.
     4        https://bugs.webkit.org/show_bug.cgi?id=132142
     5
     6        Incorrectly reverted the change in r167547 for
     7        webkit.org/b/131898 (Requested by rniwa on #webkit).
     8
     9        Reverted changeset:
     10
     11        "Cursor doesn't change back to pointer when leaving the Safari
     12        window"
     13        https://bugs.webkit.org/show_bug.cgi?id=132038
     14        http://trac.webkit.org/changeset/167700
     15
    1162014-04-24  Brady Eidson  <beidson@apple.com>
    217
  • trunk/Source/WebCore/page/EventHandler.cpp

    r167784 r167788  
    13121312
    13131313    Node* node = result.targetNode();
    1314     auto renderer = node ? node->renderer() : 0;
     1314    if (!node)
     1315        return NoCursorChange;
     1316
     1317    auto renderer = node->renderer();
    13151318    RenderStyle* style = renderer ? &renderer->style() : nullptr;
    13161319    bool horizontalText = !style || style->isHorizontalWritingMode();
     
    13841387    switch (style ? style->cursor() : CURSOR_AUTO) {
    13851388    case CURSOR_AUTO: {
    1386         bool editable = node && node->hasEditableStyle();
     1389        bool editable = node->hasEditableStyle();
    13871390
    13881391        if (useHandCursor(node, result.isOverLink(), shiftKey))
  • trunk/Source/WebKit/mac/ChangeLog

    r167786 r167788  
     12014-04-24  Commit Queue  <commit-queue@webkit.org>
     2
     3        Unreviewed, rolling out r167700.
     4        https://bugs.webkit.org/show_bug.cgi?id=132142
     5
     6        Incorrectly reverted the change in r167547 for
     7        webkit.org/b/131898 (Requested by rniwa on #webkit).
     8
     9        Reverted changeset:
     10
     11        "Cursor doesn't change back to pointer when leaving the Safari
     12        window"
     13        https://bugs.webkit.org/show_bug.cgi?id=132038
     14        http://trac.webkit.org/changeset/167700
     15
    1162014-04-24  Brady Eidson  <beidson@apple.com>
    217
  • trunk/Source/WebKit/mac/WebCoreSupport/WebChromeClient.mm

    r167700 r167788  
    774774
    775775    NSWindow *window = [m_webView window];
    776     if (!window || ![window isKeyWindow])
     776    if (!window)
     777        return;
     778
     779    if ([window windowNumber] != [NSWindow windowNumberAtPoint:[NSEvent mouseLocation] belowWindowWithWindowNumber:0])
    777780        return;
    778781
  • trunk/Source/WebKit2/ChangeLog

    r167786 r167788  
     12014-04-24  Commit Queue  <commit-queue@webkit.org>
     2
     3        Unreviewed, rolling out r167700.
     4        https://bugs.webkit.org/show_bug.cgi?id=132142
     5
     6        Incorrectly reverted the change in r167547 for
     7        webkit.org/b/131898 (Requested by rniwa on #webkit).
     8
     9        Reverted changeset:
     10
     11        "Cursor doesn't change back to pointer when leaving the Safari
     12        window"
     13        https://bugs.webkit.org/show_bug.cgi?id=132038
     14        http://trac.webkit.org/changeset/167700
     15
    1162014-04-24  Brady Eidson  <beidson@apple.com>
    217
  • trunk/Source/WebKit2/UIProcess/mac/PageClientImpl.mm

    r167700 r167788  
    325325
    326326    NSWindow *window = [m_wkView window];
    327     if (!window || ![window isKeyWindow])
     327    if (!window)
     328        return;
     329
     330    if ([window windowNumber] != [NSWindow windowNumberAtPoint:[NSEvent mouseLocation] belowWindowWithWindowNumber:0])
    328331        return;
    329332
Note: See TracChangeset for help on using the changeset viewer.