Quick fix for 3760903. The real fix is described in 3760920. Needed
authorrjw <rjw@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 12 Aug 2004 23:19:23 +0000 (23:19 +0000)
committerrjw <rjw@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 12 Aug 2004 23:19:23 +0000 (23:19 +0000)
        by Java plugin guys so they can be unblocked for feature freeze.

        Reviewed by Chris.

        * WebView.subproj/WebFrame.m:
        (-[WebFrame _reloadForPluginChanges]):
        * WebView.subproj/WebHTMLView.m:
        (-[WebHTMLView addSubview:]):

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

WebKit/ChangeLog
WebKit/WebView.subproj/WebFrame.m
WebKit/WebView.subproj/WebHTMLView.m

index e5b5e9470c25954d279e2761844ad0316d40e62d..d23b786f86ad9c8f0afc09f18b0365573973d5ec 100644 (file)
@@ -1,3 +1,15 @@
+2004-08-12  Richard Williamson   <rjw@apple.com>
+
+        Quick fix for 3760903.  The real fix is described in 3760920.  Needed
+        by Java plugin guys so they can be unblocked for feature freeze.
+               
+        Reviewed by Chris.
+
+        * WebView.subproj/WebFrame.m:
+        (-[WebFrame _reloadForPluginChanges]):
+        * WebView.subproj/WebHTMLView.m:
+        (-[WebHTMLView addSubview:]):
+
 2004-08-12  Chris Blumenberg  <cblu@apple.com>
 
        Fixed: <rdar://problem/3760898> error pages in subframes attempt to load appledata URLs when reloaded
index f3714bcadc9dddc374d7db9ae3b647a3dd91a6d7..fe1c50048b9a323722e6a89203a1587d927751ad 100644 (file)
@@ -2447,7 +2447,8 @@ static CFAbsoluteTime _timeOfLastCompletedLoad;
             if ([view isKindOfClass:[WebNetscapePluginEmbeddedView class]] ||
                 [view isKindOfClass:[WebNullPluginView class]] ||
                 [[view class] respondsToSelector:@selector(plugInViewWithArguments:)] ||
-                [view respondsToSelector:@selector(pluginInitialize)]) {
+                [view respondsToSelector:@selector(pluginInitialize)] ||
+                [view respondsToSelector:@selector(webPlugInInitialize)]) {
                 [self reload];
                 break;
             }
index 074dc56676684787acdc5be7f3401c370aaadda8..300ad828c78409bb9aafcee3ec92c4fe6a284807 100644 (file)
@@ -1473,7 +1473,7 @@ static WebHTMLView *lastHitView = nil;
 {
     [super addSubview:view];
 
-    if ([[view class] respondsToSelector:@selector(plugInViewWithArguments:)] || [view respondsToSelector:@selector(pluginInitialize)]) {
+    if ([[view class] respondsToSelector:@selector(plugInViewWithArguments:)] || [view respondsToSelector:@selector(pluginInitialize)] || [view respondsToSelector:@selector(webPlugInInitialize)]) {
         [[self _pluginController] addPlugin:view];
     }
 }