Changeset 23654 in webkit


Ignore:
Timestamp:
Jun 20, 2007, 2:16:26 PM (18 years ago)
Author:
justing
Message:

Reviewed by Darin.


<rdar://problem/5263541> REGRESSION (Safari 3 Beta 1): Pressing Delete doesn't delete an HTML message in Mail


Mail wasn't receiving the keyDown event because WebFrameView was blocking it.
It blocks the event and moves back/forward on Delete/Shift+Delete if the
back/forward list is enabled.

  • WebView/WebFrameView.mm: (-[WebFrameView keyDown:]): Check to see if the BackForwardList is enabled. It always exists.
Location:
trunk/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKit/ChangeLog

    r23627 r23654  
     12007-06-20  Justin Garcia  <justin.garcia@apple.com>
     2
     3        Reviewed by Darin.
     4       
     5        <rdar://problem/5263541> REGRESSION (Safari 3 Beta 1): Pressing Delete doesn't delete an HTML message in Mail
     6       
     7        Mail wasn't receiving the keyDown event because WebFrameView was blocking it.
     8        It blocks the event and moves back/forward on Delete/Shift+Delete if the
     9        back/forward list is enabled.
     10
     11        * WebView/WebFrameView.mm:
     12        (-[WebFrameView keyDown:]): Check to see if the BackForwardList is
     13        enabled.  It always exists.
     14
    1152007-06-19  Anders Carlsson  <andersca@apple.com>
    216
  • trunk/WebKit/WebView/WebFrameView.mm

    r21632 r23654  
    626626    int index, count;
    627627    BOOL callSuper = YES;
    628     BOOL maintainsBackForwardList = core([self webFrame])->page()->backForwardList() ? YES : NO;
     628    BOOL maintainsBackForwardList = core([self webFrame])->page()->backForwardList()->enabled() ? YES : NO;
    629629   
    630630    count = [characters length];
Note: See TracChangeset for help on using the changeset viewer.