[webkit-changes] cvs commit: WebKit/WebKit.xcodeproj project.pbxproj

Tim tomernic at opensource.apple.com
Tue Nov 1 17:59:17 PST 2005


tomernic    05/11/01 17:59:17

  Modified:    .        ChangeLog WebKit.exp
               English.lproj StringsNotToBeLocalized.txt
               WebKit.xcodeproj project.pbxproj
  Added:       Plugins.subproj WebPluginsPrivate.h WebPluginsPrivate.m
  Log:
          Reviewed by John Sullivan.
  
  	<rdar://problem/4318632>
  
  	I've added a new notification, WebPluginWillPresentNativeUserInterfaceNotification.  Plugins are expected to post this
  	notification before presenting "native UI", such as dialog boxes.  A Dashboard client can observe this notification to
  	hide the Dashboard layer when plugins present external UI.
  
          * English.lproj/StringsNotToBeLocalized.txt:
  	Added "WebPluginWillPresentNativeUserInterface".
  
          * Plugins.subproj/WebPluginsPrivate.h: Added.
          * Plugins.subproj/WebPluginsPrivate.m: Added.
  	Declare WebPluginWillPresentNativeUserInterfaceNotification.
  
          * WebKit.xcodeproj/project.pbxproj:
  	Added WebPluginsPrivate.[hm]
  
  	* WebKit.exp:
  	Added _WebPluginWillPresentNativeUserInterfaceNotification.
  
  Revision  Changes    Path
  1.3366    +23 -0     WebKit/ChangeLog
  
  Index: ChangeLog
  ===================================================================
  RCS file: /cvs/root/WebKit/ChangeLog,v
  retrieving revision 1.3365
  retrieving revision 1.3366
  diff -u -r1.3365 -r1.3366
  --- ChangeLog	2 Nov 2005 00:27:28 -0000	1.3365
  +++ ChangeLog	2 Nov 2005 01:59:07 -0000	1.3366
  @@ -1,3 +1,26 @@
  +2005-11-01  Tim Omernick  <timo at apple.com>
  +
  +        Reviewed by John Sullivan.
  +
  +	<rdar://problem/4318632>
  +
  +	I've added a new notification, WebPluginWillPresentNativeUserInterfaceNotification.  Plugins are expected to post this
  +	notification before presenting "native UI", such as dialog boxes.  A Dashboard client can observe this notification to
  +	hide the Dashboard layer when plugins present external UI.
  +	
  +        * English.lproj/StringsNotToBeLocalized.txt:
  +	Added "WebPluginWillPresentNativeUserInterface".
  +
  +        * Plugins.subproj/WebPluginsPrivate.h: Added.
  +        * Plugins.subproj/WebPluginsPrivate.m: Added.
  +	Declare WebPluginWillPresentNativeUserInterfaceNotification.
  +
  +        * WebKit.xcodeproj/project.pbxproj:
  +	Added WebPluginsPrivate.[hm]
  +
  +	* WebKit.exp:
  +	Added _WebPluginWillPresentNativeUserInterfaceNotification.
  +
   2005-11-01  John Sullivan  <sullivan at apple.com>
   
           Reviewed by Darin Adler.
  
  
  
  1.77      +1 -0      WebKit/WebKit.exp
  
  Index: WebKit.exp
  ===================================================================
  RCS file: /cvs/root/WebKit/WebKit.exp,v
  retrieving revision 1.76
  retrieving revision 1.77
  diff -u -r1.76 -r1.77
  --- WebKit.exp	20 Jun 2005 22:00:39 -0000	1.76
  +++ WebKit.exp	2 Nov 2005 01:59:11 -0000	1.77
  @@ -86,6 +86,7 @@
   _WebPlugInAttributesKey
   _WebPlugInContainerKey
   _WebPlugInModeKey
  +_WebPluginWillPresentNativeUserInterfaceNotification
   
   ##
   ## Carbon Support
  
  
  
  1.143     +1 -0      WebKit/English.lproj/StringsNotToBeLocalized.txt
  
  Index: StringsNotToBeLocalized.txt
  ===================================================================
  RCS file: /cvs/root/WebKit/English.lproj/StringsNotToBeLocalized.txt,v
  retrieving revision 1.142
  retrieving revision 1.143
  diff -u -r1.142 -r1.143
  --- StringsNotToBeLocalized.txt	23 Aug 2005 23:00:31 -0000	1.142
  +++ StringsNotToBeLocalized.txt	2 Nov 2005 01:59:15 -0000	1.143
  @@ -293,6 +293,7 @@
   "WebPluginName"
   "WebPluginTypeDescription"
   "WebPluginTypeEnabled"
  +"WebPluginWillPresentNativeUserInterface"
   "WebPreferencesChangedNotification"
   "WebProgressEstimateChangedNotification"
   "WebProgressFinishedNotification"
  
  
  
  1.1                  WebKit/Plugins.subproj/WebPluginsPrivate.h
  
  Index: WebPluginsPrivate.h
  ===================================================================
  /*
   * Copyright (C) 2005 Apple Computer, Inc.  All rights reserved.
   *
   * Redistribution and use in source and binary forms, with or without
   * modification, are permitted provided that the following conditions
   * are met:
   *
   * 1.  Redistributions of source code must retain the above copyright
   *     notice, this list of conditions and the following disclaimer. 
   * 2.  Redistributions in binary form must reproduce the above copyright
   *     notice, this list of conditions and the following disclaimer in the
   *     documentation and/or other materials provided with the distribution. 
   * 3.  Neither the name of Apple Computer, Inc. ("Apple") nor the names of
   *     its contributors may be used to endorse or promote products derived
   *     from this software without specific prior written permission. 
   *
   * THIS SOFTWARE IS PROVIDED BY APPLE AND ITS CONTRIBUTORS "AS IS" AND ANY
   * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
   * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
   * DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR ANY
   * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
   * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
   * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
   * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
   * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
   * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
   */
  
  // WebPluginWillPresentNativeUserInterfaceNotification is sent by plugins to notify the WebKit client
  // application that the plugin will present a dialog or some other "native" user interface to the user.
  // This is currently only needed by Dashboard, which must hide itself when a plugin presents a dialog
  // box (4318632).
  extern NSString *WebPluginWillPresentNativeUserInterfaceNotification;
  
  
  
  1.1                  WebKit/Plugins.subproj/WebPluginsPrivate.m
  
  Index: WebPluginsPrivate.m
  ===================================================================
  /*
   * Copyright (C) 2005 Apple Computer, Inc.  All rights reserved.
   *
   * Redistribution and use in source and binary forms, with or without
   * modification, are permitted provided that the following conditions
   * are met:
   *
   * 1.  Redistributions of source code must retain the above copyright
   *     notice, this list of conditions and the following disclaimer. 
   * 2.  Redistributions in binary form must reproduce the above copyright
   *     notice, this list of conditions and the following disclaimer in the
   *     documentation and/or other materials provided with the distribution. 
   * 3.  Neither the name of Apple Computer, Inc. ("Apple") nor the names of
   *     its contributors may be used to endorse or promote products derived
   *     from this software without specific prior written permission. 
   *
   * THIS SOFTWARE IS PROVIDED BY APPLE AND ITS CONTRIBUTORS "AS IS" AND ANY
   * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
   * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
   * DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR ANY
   * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
   * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
   * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
   * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
   * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
   * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
   */
  
  #include "WebPluginsPrivate.h"
  
  NSString *WebPluginWillPresentNativeUserInterfaceNotification = @"WebPluginWillPresentNativeUserInterface";
  
  
  
  1.13      +8 -0      WebKit/WebKit.xcodeproj/project.pbxproj
  
  Index: project.pbxproj
  ===================================================================
  RCS file: /cvs/root/WebKit/WebKit.xcodeproj/project.pbxproj,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- project.pbxproj	25 Oct 2005 19:32:34 -0000	1.12
  +++ project.pbxproj	2 Nov 2005 01:59:16 -0000	1.13
  @@ -7,6 +7,8 @@
   	objects = {
   
   /* Begin PBXBuildFile section */
  +		224100F3091818D900D2D266 /* WebPluginsPrivate.h in Headers */ = {isa = PBXBuildFile; fileRef = 224100F2091818D900D2D266 /* WebPluginsPrivate.h */; settings = {ATTRIBUTES = (Private, ); }; };
  +		224100F90918190100D2D266 /* WebPluginsPrivate.m in Sources */ = {isa = PBXBuildFile; fileRef = 224100F80918190100D2D266 /* WebPluginsPrivate.m */; };
   		22F219CC08D236730030E078 /* WebBackForwardListPrivate.h in Headers */ = {isa = PBXBuildFile; fileRef = 22F219CB08D236730030E078 /* WebBackForwardListPrivate.h */; settings = {ATTRIBUTES = (Private, ); }; };
   		65488DA1084FBCCB00831AD0 /* WebNSDictionaryExtras.h in Headers */ = {isa = PBXBuildFile; fileRef = 65488D9F084FBCCB00831AD0 /* WebNSDictionaryExtras.h */; };
   		65488DA2084FBCCB00831AD0 /* WebNSDictionaryExtras.m in Sources */ = {isa = PBXBuildFile; fileRef = 65488DA0084FBCCB00831AD0 /* WebNSDictionaryExtras.m */; };
  @@ -328,6 +330,8 @@
   /* End PBXBuildStyle section */
   
   /* Begin PBXFileReference section */
  +		224100F2091818D900D2D266 /* WebPluginsPrivate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WebPluginsPrivate.h; sourceTree = "<group>"; };
  +		224100F80918190100D2D266 /* WebPluginsPrivate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = WebPluginsPrivate.m; sourceTree = "<group>"; };
   		22F219CB08D236730030E078 /* WebBackForwardListPrivate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WebBackForwardListPrivate.h; sourceTree = "<group>"; };
   		2568C72C0174912D0ECA149E /* WebKit.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WebKit.h; sourceTree = "<group>"; };
   		2D36FD5E03F78F9E00A80166 /* WebFormDelegatePrivate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WebFormDelegatePrivate.h; sourceTree = "<group>"; };
  @@ -1027,6 +1031,8 @@
   		F5EBC45202134BB601CA1520 /* Plugins */ = {
   			isa = PBXGroup;
   			children = (
  +				224100F2091818D900D2D266 /* WebPluginsPrivate.h */,
  +				224100F80918190100D2D266 /* WebPluginsPrivate.m */,
   				848DFF410365F6FB00CA2ACA /* Netscape Plug-ins */,
   				848DFF430365F71500CA2ACA /* WebKit Plug-ins */,
   				83E4AF46036652150000E506 /* WebBasePluginPackage.h */,
  @@ -1258,6 +1264,7 @@
   				7E6FEF0A08985A7200C44C3F /* WebScriptDebugDelegatePrivate.h in Headers */,
   				22F219CC08D236730030E078 /* WebBackForwardListPrivate.h in Headers */,
   				ABDDF20D08EB0DDC001E1241 /* WebDownloadInternal.h in Headers */,
  +				224100F3091818D900D2D266 /* WebPluginsPrivate.h in Headers */,
   			);
   			runOnlyForDeploymentPostprocessing = 0;
   		};
  @@ -1798,6 +1805,7 @@
   				ED6BE2E8088C32B50044DEDC /* WebNSAttributedStringExtras.m in Sources */,
   				7E6FEF0208985A3E00C44C3F /* WebDefaultScriptDebugDelegate.m in Sources */,
   				7E6FEF0908985A7200C44C3F /* WebScriptDebugDelegate.m in Sources */,
  +				224100F90918190100D2D266 /* WebPluginsPrivate.m in Sources */,
   			);
   			runOnlyForDeploymentPostprocessing = 0;
   		};
  
  
  



More information about the webkit-changes mailing list