[webkit-changes] cvs commit: WebCore/kwq WebCoreBridge.h WebCoreBridge.mm

Eric eseidel at opensource.apple.com
Tue Sep 20 01:31:49 PDT 2005


eseidel     05/09/20 01:31:49

  Modified:    .        ChangeLog
               kwq      WebCoreBridge.h WebCoreBridge.mm
  Log:
  Bug #: 5037
  Submitted by: eseidel
  Reviewed by: mjs
          Moved MIME types list from WebKit into WebCore.
          http://bugzilla.opendarwin.org/show_bug.cgi?id=5037
  
          * kwq/WebCoreBridge.h:
          * kwq/WebCoreBridge.mm:
          (+[WebCoreBridge supportedMIMETypes]): added.
  
  Revision  Changes    Path
  1.137     +11 -0     WebCore/ChangeLog
  
  Index: ChangeLog
  ===================================================================
  RCS file: /cvs/root/WebCore/ChangeLog,v
  retrieving revision 1.136
  retrieving revision 1.137
  diff -u -r1.136 -r1.137
  --- ChangeLog	20 Sep 2005 08:08:56 -0000	1.136
  +++ ChangeLog	20 Sep 2005 08:31:46 -0000	1.137
  @@ -1,3 +1,14 @@
  +2005-09-20  Eric Seidel  <eseidel at apple.com>
  +
  +        Reviewed by mjs.
  +
  +        Moved MIME types list from WebKit into WebCore.
  +        http://bugzilla.opendarwin.org/show_bug.cgi?id=5037
  +
  +        * kwq/WebCoreBridge.h:
  +        * kwq/WebCoreBridge.mm:
  +        (+[WebCoreBridge supportedMIMETypes]): added.
  +
   2005-09-20  Geoffrey Garen  <ggaren at apple.com>
   
           - Added test case for fix to http://bugzilla.opendarwin.org/show_bug.cgi?id=4892
  
  
  
  1.347     +2 -0      WebCore/kwq/WebCoreBridge.h
  
  Index: WebCoreBridge.h
  ===================================================================
  RCS file: /cvs/root/WebCore/kwq/WebCoreBridge.h,v
  retrieving revision 1.346
  retrieving revision 1.347
  diff -u -r1.346 -r1.347
  --- WebCoreBridge.h	15 Sep 2005 01:25:54 -0000	1.346
  +++ WebCoreBridge.h	20 Sep 2005 08:31:48 -0000	1.347
  @@ -193,6 +193,8 @@
   
   + (WebCoreBridge *)bridgeForDOMDocument:(DOMDocument *)document;
   
  ++ (NSArray *)supportedMIMETypes;
  +
   - (void)initializeSettings:(WebCoreSettings *)settings;
   
   - (void)setRenderPart:(KHTMLRenderPart *)renderPart;
  
  
  
  1.416     +18 -0     WebCore/kwq/WebCoreBridge.mm
  
  Index: WebCoreBridge.mm
  ===================================================================
  RCS file: /cvs/root/WebCore/kwq/WebCoreBridge.mm,v
  retrieving revision 1.415
  retrieving revision 1.416
  diff -u -r1.415 -r1.416
  --- WebCoreBridge.mm	19 Sep 2005 18:52:13 -0000	1.415
  +++ WebCoreBridge.mm	20 Sep 2005 08:31:48 -0000	1.416
  @@ -223,6 +223,24 @@
   static bool initializedObjectCacheSize = FALSE;
   static bool initializedKJS = FALSE;
   
  ++ (NSArray *)supportedMIMETypes
  +{
  +    return [NSArray arrayWithObjects:
  +        @"text/html",
  +        @"text/xml",
  +        @"text/xsl",
  +        @"application/xml",
  +        @"application/xhtml+xml",
  +        @"application/rss+xml",
  +        @"application/atom+xml",
  +        @"application/x-webarchive",
  +        @"multipart/x-mixed-replace",
  +#if SVG_SUPPORT
  +        @"image/svg+xml",
  +#endif
  +        nil];
  +}
  +
   + (WebCoreBridge *)bridgeForDOMDocument:(DOMDocument *)document
   {
       return ((KWQKHTMLPart *)[document _documentImpl]->part())->bridge();
  
  
  



More information about the webkit-changes mailing list