Reviewed by Darin.
authormjs <mjs@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 21 Mar 2005 00:27:47 +0000 (00:27 +0000)
committermjs <mjs@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 21 Mar 2005 00:27:47 +0000 (00:27 +0000)
<rdar://problem/4060020> Add stub version of security SPI for QuickTime plug-in so QuickTime team has something to compile and link against

* Plugins.subproj/WebPluginContainerPrivate.h: Added.
        * Plugins.subproj/WebPluginController.m:
        (-[WebPluginController _webPluginContainerCheckIfAllowedToLoadRequest:inFrame:resultObject:selector:]):
        (-[WebPluginController _webPluginContainerCancelCheckIfAllowedToLoadRequest:]):
        * WebKit.pbproj/project.pbxproj:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@8945 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebKit/ChangeLog
WebKit/Plugins.subproj/WebPluginContainerPrivate.h [new file with mode: 0644]
WebKit/Plugins.subproj/WebPluginController.m
WebKit/WebKit.pbproj/project.pbxproj

index 70c2501f9fa0db81c442e30090d251884851823e..e75938eed53b4c046d23034a2117331acc54d31c 100644 (file)
@@ -1,3 +1,15 @@
+2005-03-20  Maciej Stachowiak  <mjs@apple.com>
+
+        Reviewed by Darin.
+
+       <rdar://problem/4060020> Add stub version of security SPI for QuickTime plug-in so QuickTime team has something to compile and link against
+        
+       * Plugins.subproj/WebPluginContainerPrivate.h: Added.
+        * Plugins.subproj/WebPluginController.m:
+        (-[WebPluginController _webPluginContainerCheckIfAllowedToLoadRequest:inFrame:resultObject:selector:]):
+        (-[WebPluginController _webPluginContainerCancelCheckIfAllowedToLoadRequest:]):
+        * WebKit.pbproj/project.pbxproj:
+
 2005-03-19  David Harrison  <harrison@apple.com>
 
         Reviewed by Maciej.
diff --git a/WebKit/Plugins.subproj/WebPluginContainerPrivate.h b/WebKit/Plugins.subproj/WebPluginContainerPrivate.h
new file mode 100644 (file)
index 0000000..05726ff
--- /dev/null
@@ -0,0 +1,16 @@
+/*
+    WebPluginContainer.h
+    Copyright 2004, Apple, Inc. All rights reserved.
+    
+    Public header file.
+*/
+
+#import <Cocoa/Cocoa.h>
+
+@interface NSObject (WebPlugInContainerPrivate)
+
+- (id)_webPluginContainerCheckIfAllowedToLoadRequest:(NSURLRequest *)Request inFrame:(NSString *)target resultObject:(id)obj selector:(SEL)selector;
+
+- (void)_webPluginContainerCancelCheckIfAllowedToLoadRequest:(id)checkIdentifier;
+
+@end
index aa57f4f1464fe5924efa93eecb7d74d4317aec1f..3b6d2560a64b424ed1fb3ba7a8ad3c0d92b759f4 100644 (file)
@@ -179,6 +179,18 @@ static NSMutableSet *pluginViews = nil;
     _documentView = nil;
 }
 
+- (id)_webPluginContainerCheckIfAllowedToLoadRequest:(NSURLRequest *)Request inFrame:(NSString *)target resultObject:(id)obj selector:(SEL)selector
+{
+    // FIXME: really implement this
+    [obj performSelector:selector withObject:(id)YES];
+    return nil;
+}
+
+- (void)_webPluginContainerCancelCheckIfAllowedToLoadRequest:(id)checkIdentifier
+{
+    // FIXME: really implement this
+}
+
 - (void)webPlugInContainerLoadRequest:(NSURLRequest *)request inFrame:(NSString *)target
 {
     if (!request) {
index 19ad7b0a9bede3814080b83d270bb25187d3fc87..df0896b86eada3de2165edf17e0fc9f34b5733f8 100644 (file)
                                514C4C2E075E7DE500B89CAD,
                                514C4C30075E7DE500B89CAD,
                                93C6F14607920B93002449CD,
+                               65836F5F07EE425900682F95,
                        );
                        isa = PBXHeadersBuildPhase;
                        runOnlyForDeploymentPostprocessing = 0;
                        settings = {
                        };
                };
+               65836F5E07EE425900682F95 = {
+                       fileEncoding = 30;
+                       isa = PBXFileReference;
+                       lastKnownFileType = sourcecode.c.h;
+                       path = WebPluginContainerPrivate.h;
+                       refType = 4;
+                       sourceTree = "<group>";
+               };
+               65836F5F07EE425900682F95 = {
+                       fileRef = 65836F5E07EE425900682F95;
+                       isa = PBXBuildFile;
+                       settings = {
+                               ATTRIBUTES = (
+                                       Private,
+                               );
+                       };
+               };
                65A7D44A0568AB2600E70EF6 = {
                        fileEncoding = 30;
                        isa = PBXFileReference;
                };
                848DFF430365F71500CA2ACA = {
                        children = (
+                               65836F5E07EE425900682F95,
                                848DFF840365FE6A00CA2ACA,
                                848DFF850365FE6A00CA2ACA,
                                8467275C0367158500CA2ACA,