[webkit-changes] cvs commit: WebKit/WebView.subproj WebFrame.m

Adele adele at opensource.apple.com
Thu Jul 14 14:48:43 PDT 2005


adele       05/07/14 14:48:43

  Modified:    .        Tag: Safari-2-0-branch ChangeLog
               kwq      Tag: Safari-2-0-branch WebCoreBridge.h
                        WebCoreBridge.mm
               .        Tag: Safari-2-0-branch ChangeLog
               WebView.subproj Tag: Safari-2-0-branch WebFrame.m
  Log:
  WebCore:
  
         Merged fix from TOT to Safari-2-0-branch
         <rdar://problem/4180841> [GENENTECH] window.opener not available when child opened via target="_new"
  
      2005-07-14  Vicki Murley  <vicki at apple.com>
  
          Reviewed by Kocienda.
  
          - WebCore part of fix for  <rdar://problem/4172380> [GENENTECH] window.opener
          not available when child opened via target="_new"
  
          Add a setOpener function to the WebCore bridge, and call this function when opening
          new windows through Web Kit.
  
          * kwq/WebCoreBridge.h:
          * kwq/WebCoreBridge.mm:
  
  WebKit:
  
          Merged fix from TOT to Safari-2-0-branch
          <rdar://problem/4180841> [GENENTECH] window.opener not available when child opened via target="_new"
  
      2005-07-14  Vicki Murley  <vicki at apple.com>
  
          Reviewed by Kocienda.
  
  	- WebKit part of fix for  <rdar://problem/4172380> [GENENTECH] window.opener
  	not available when child opened via target="_new"
  
  	Add a setOpener function to the WebCore bridge, and call this function when opening
  	new windows through Web Kit.
  
          * WebView.subproj/WebFrame.m:
          (-[WebFrame _continueLoadRequestAfterNewWindowPolicy:frameName:formState:]):
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.4104.2.65 +18 -0     WebCore/ChangeLog
  
  Index: ChangeLog
  ===================================================================
  RCS file: /cvs/root/WebCore/ChangeLog,v
  retrieving revision 1.4104.2.64
  retrieving revision 1.4104.2.65
  diff -u -r1.4104.2.64 -r1.4104.2.65
  --- ChangeLog	14 Jul 2005 00:14:30 -0000	1.4104.2.64
  +++ ChangeLog	14 Jul 2005 21:48:31 -0000	1.4104.2.65
  @@ -1,3 +1,21 @@
  +2005-07-14  Adele Peterson  <adele at apple.com>
  +
  +       Merged fix from TOT to Safari-2-0-branch
  +       <rdar://problem/4180841> [GENENTECH] window.opener not available when child opened via target="_new"
  +
  +    2005-07-14  Vicki Murley  <vicki at apple.com>
  +
  +        Reviewed by Kocienda.
  +
  +        - WebCore part of fix for  <rdar://problem/4172380> [GENENTECH] window.opener 
  +        not available when child opened via target="_new"
  +
  +        Add a setOpener function to the WebCore bridge, and call this function when opening
  +        new windows through Web Kit.
  +
  +        * kwq/WebCoreBridge.h:
  +        * kwq/WebCoreBridge.mm:
  +
   2005-07-13  Adele Peterson  <adele at apple.com>
   
           Merged fix from TOT to Safari-2-0-branch
  
  
  
  No                   revision
  
  
  No                   revision
  
  
  1.327.8.3 +1 -0      WebCore/kwq/WebCoreBridge.h
  
  Index: WebCoreBridge.h
  ===================================================================
  RCS file: /cvs/root/WebCore/kwq/WebCoreBridge.h,v
  retrieving revision 1.327.8.2
  retrieving revision 1.327.8.3
  diff -u -r1.327.8.2 -r1.327.8.3
  --- WebCoreBridge.h	2 Jul 2005 01:32:59 -0000	1.327.8.2
  +++ WebCoreBridge.h	14 Jul 2005 21:48:37 -0000	1.327.8.3
  @@ -223,6 +223,7 @@
   - (NSString *)referrer;
   - (NSString *)domain;
   - (WebCoreBridge *)opener;
  +- (void)setOpener:(WebCoreBridge *)bridge;
   
   - (void)installInFrame:(NSView *)view;
   - (void)removeFromFrame;
  
  
  
  1.382.2.4 +8 -0      WebCore/kwq/WebCoreBridge.mm
  
  Index: WebCoreBridge.mm
  ===================================================================
  RCS file: /cvs/root/WebCore/kwq/WebCoreBridge.mm,v
  retrieving revision 1.382.2.3
  retrieving revision 1.382.2.4
  diff -u -r1.382.2.3 -r1.382.2.4
  --- WebCoreBridge.mm	14 Jun 2005 01:27:51 -0000	1.382.2.3
  +++ WebCoreBridge.mm	14 Jul 2005 21:48:38 -0000	1.382.2.4
  @@ -1350,6 +1350,14 @@
       return nil;
   }
   
  +- (void)setOpener:(WebCoreBridge *)bridge;
  +{
  +    KHTMLPart *p = [bridge part];
  +    
  +    if (p)
  +        p->setOpener(_part);
  +}
  +
   + (NSString *)stringWithData:(NSData *)data textEncoding:(CFStringEncoding)textEncoding
   {
       if (textEncoding == kCFStringEncodingInvalidId || textEncoding == kCFStringEncodingISOLatin1) {
  
  
  
  No                   revision
  
  
  No                   revision
  
  
  1.3118.4.19 +18 -0     WebKit/ChangeLog
  
  Index: ChangeLog
  ===================================================================
  RCS file: /cvs/root/WebKit/ChangeLog,v
  retrieving revision 1.3118.4.18
  retrieving revision 1.3118.4.19
  diff -u -r1.3118.4.18 -r1.3118.4.19
  --- ChangeLog	12 Jul 2005 20:10:14 -0000	1.3118.4.18
  +++ ChangeLog	14 Jul 2005 21:48:39 -0000	1.3118.4.19
  @@ -1,3 +1,21 @@
  +2005-07-14  Adele Peterson  <adele at apple.com>
  +
  +        Merged fix from TOT to Safari-2-0-branch
  +        <rdar://problem/4180841> [GENENTECH] window.opener not available when child opened via target="_new"
  +
  +    2005-07-14  Vicki Murley  <vicki at apple.com>
  +
  +        Reviewed by Kocienda.
  +
  +	- WebKit part of fix for  <rdar://problem/4172380> [GENENTECH] window.opener 
  +	not available when child opened via target="_new"
  +
  +	Add a setOpener function to the WebCore bridge, and call this function when opening
  +	new windows through Web Kit.
  +
  +        * WebView.subproj/WebFrame.m:
  +        (-[WebFrame _continueLoadRequestAfterNewWindowPolicy:frameName:formState:]):
  +
   2005-07-12  Adele Peterson  <adele at apple.com>
   
           Merged fix from TOT to Safari-2-0-branch
  
  
  
  No                   revision
  
  
  No                   revision
  
  
  1.223.8.3 +1 -0      WebKit/WebView.subproj/WebFrame.m
  
  Index: WebFrame.m
  ===================================================================
  RCS file: /cvs/root/WebKit/WebView.subproj/WebFrame.m,v
  retrieving revision 1.223.8.2
  retrieving revision 1.223.8.3
  diff -u -r1.223.8.2 -r1.223.8.3
  --- WebFrame.m	14 Jun 2005 01:27:44 -0000	1.223.8.2
  +++ WebFrame.m	14 Jul 2005 21:48:42 -0000	1.223.8.3
  @@ -1837,6 +1837,7 @@
       [[webView _UIDelegateForwarder] webViewShow:webView];
       WebFrame *frame = [webView mainFrame];
   
  +    [[self _bridge] setOpener:[frame _bridge]];
       [frame _loadRequest:request triggeringAction:nil loadType:WebFrameLoadTypeStandard formState:formState];
   }
   
  
  
  



More information about the webkit-changes mailing list