[SCM] WebKit Debian packaging branch, debian/unstable, updated. debian/1.1.15-1-40151-g37bb677

cblu cblu at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 08:39:49 UTC 2009


The following commit has been merged in the debian/unstable branch:
commit 78388f92312494bd044fd38089df1ae48d6c4c34
Author: cblu <cblu at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Thu May 13 23:58:43 2004 +0000

    Tests:
    
    	Updated Blot to use new API's.
    
            * Blot/BlotDocument.m:
            (-[BlotDocument dataRepresentationOfType:]):
            (-[BlotDocument webView:didFinishLoadForFrame:]):
    
    WebCore:
    
    	Fixed: <rdar://problem/3616555>: (API: Make DOM extensions and WebKit DOM operations public)
    
            Reviewed by rjw.
    
            * kwq/DOM.h: added DOMExtensions.h
            * kwq/DOMHTML.h: renamed frame on DOMHTMLTableElement to frameBorders to avoid NSView conflicts
            * kwq/DOMHTML.mm:
            (-[DOMHTMLTableElement frameBorders]):
            (-[DOMHTMLTableElement setFrameBorders:]):
    
    WebKit:
    
    	- Added stubs for WebView action and drag & drop customization API's
    	- Fixed: <rdar://problem/3616555>: (API: Make DOM extensions and WebKit DOM operations public)
    
            Reviewed by rjw.
    
            * DOM.subproj/WebDOMOperations.h: added remaining DOM operations
            * DOM.subproj/WebDOMOperationsPrivate.h:
    	* Misc.subproj/WebKit.h: added new public headers
            * WebKit.pbproj/project.pbxproj:
    	* WebKit.exp: added symbol for WebElementDOMNodeKey
            * WebView.subproj/WebUIDelegate.h: added new UI delegate methods
            * WebView.subproj/WebView.h: added new pasteboard related methods
            * WebView.subproj/WebView.m:
            (+[WebView URLFromPasteboard:]): new stub
            (+[WebView URLTitleFromPasteboard:]): new stub
            (-[WebView dragOperationForDraggingInfo:]): new stub
            (-[WebView pasteboardTypesForSelection]): new stub
            (-[WebView writeSelectionWithPasteboardTypes:toPasteboard:]): new stub
            (-[WebView pasteboardTypesForElement:]): new stub
            (-[WebView writeElement:withPasteboardTypes:toPasteboard:]): new stub
            * WebView.subproj/WebViewPrivate.h:
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@6590 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/ChangeLog-2005-08-23 b/WebCore/ChangeLog-2005-08-23
index 0d027b5..2e1c902 100644
--- a/WebCore/ChangeLog-2005-08-23
+++ b/WebCore/ChangeLog-2005-08-23
@@ -1,3 +1,15 @@
+2004-05-13  Chris Blumenberg  <cblu at apple.com>
+
+	Fixed: <rdar://problem/3616555>: (API: Make DOM extensions and WebKit DOM operations public)
+
+        Reviewed by rjw.
+
+        * kwq/DOM.h: added DOMExtensions.h
+        * kwq/DOMHTML.h: renamed frame on DOMHTMLTableElement to frameBorders to avoid NSView conflicts
+        * kwq/DOMHTML.mm:
+        (-[DOMHTMLTableElement frameBorders]):
+        (-[DOMHTMLTableElement setFrameBorders:]):
+
 2004-05-13  Richard Williamson   <rjw at apple.com>
 
 	Changed imports of all DOM headers.  DOM headers
diff --git a/WebCore/kwq/DOM.h b/WebCore/kwq/DOM.h
index 851e548..9121c99 100644
--- a/WebCore/kwq/DOM.h
+++ b/WebCore/kwq/DOM.h
@@ -24,10 +24,11 @@
  */
 
 #import <WebCore/DOMCore.h>
-#import <WebCore/DOMViews.h>
+#import <WebCore/DOMCSS.h>
+#import <WebCore/DOMExtensions.h>
 #import <WebCore/DOMEvents.h>
+#import <WebCore/DOMHTML.h>
+#import <WebCore/DOMRange.h>
 #import <WebCore/DOMStylesheets.h>
-#import <WebCore/DOMCSS.h>
 #import <WebCore/DOMTraversal.h>
-#import <WebCore/DOMRange.h>
-#import <WebCore/DOMHTML.h>
+#import <WebCore/DOMViews.h>
diff --git a/WebCore/kwq/DOMHTML.h b/WebCore/kwq/DOMHTML.h
index 319ef46..8287251 100644
--- a/WebCore/kwq/DOMHTML.h
+++ b/WebCore/kwq/DOMHTML.h
@@ -629,8 +629,9 @@
 - (void)setCellPadding:(NSString *)cellPadding;
 - (NSString *)cellSpacing;
 - (void)setCellSpacing:(NSString *)cellSpacing;
-- (NSString *)frame;
-- (void)setFrame:(NSString *)frame;
+// frameBorders corresponds to the frame method
+- (NSString *)frameBorders; 
+- (void)setFrameBorders:(NSString *)frameBorders;
 - (NSString *)rules;
 - (void)setRules:(NSString *)rules;
 - (NSString *)summary;
diff --git a/WebCore/kwq/DOMHTML.mm b/WebCore/kwq/DOMHTML.mm
index 3edd057..ff2deff 100644
--- a/WebCore/kwq/DOMHTML.mm
+++ b/WebCore/kwq/DOMHTML.mm
@@ -3202,14 +3202,14 @@ using DOM::NodeImpl;
     [self _tableElementImpl]->setAttribute(ATTR_CELLSPACING, cellSpacing);
 }
 
-- (NSString *)frame
+- (NSString *)frameBorders
 {
     return [self _tableElementImpl]->getAttribute(ATTR_FRAME);
 }
 
-- (void)setFrame:(NSString *)frame
+- (void)setFrameBorders:(NSString *)frameBorders
 {
-    [self _tableElementImpl]->setAttribute(ATTR_FRAME, frame);
+    [self _tableElementImpl]->setAttribute(ATTR_FRAME, frameBorders);
 }
 
 - (NSString *)rules
diff --git a/WebKit/ChangeLog b/WebKit/ChangeLog
index a947d8a..30af763 100644
--- a/WebKit/ChangeLog
+++ b/WebKit/ChangeLog
@@ -1,3 +1,27 @@
+2004-05-13  Chris Blumenberg  <cblu at apple.com>
+
+	- Added stubs for WebView action and drag & drop customization API's
+	- Fixed: <rdar://problem/3616555>: (API: Make DOM extensions and WebKit DOM operations public)
+
+        Reviewed by rjw.
+
+        * DOM.subproj/WebDOMOperations.h: added remaining DOM operations
+        * DOM.subproj/WebDOMOperationsPrivate.h:
+	* Misc.subproj/WebKit.h: added new public headers
+        * WebKit.pbproj/project.pbxproj:
+	* WebKit.exp: added symbol for WebElementDOMNodeKey
+        * WebView.subproj/WebUIDelegate.h: added new UI delegate methods
+        * WebView.subproj/WebView.h: added new pasteboard related methods
+        * WebView.subproj/WebView.m:
+        (+[WebView URLFromPasteboard:]): new stub
+        (+[WebView URLTitleFromPasteboard:]): new stub
+        (-[WebView dragOperationForDraggingInfo:]): new stub
+        (-[WebView pasteboardTypesForSelection]): new stub
+        (-[WebView writeSelectionWithPasteboardTypes:toPasteboard:]): new stub
+        (-[WebView pasteboardTypesForElement:]): new stub
+        (-[WebView writeElement:withPasteboardTypes:toPasteboard:]): new stub
+        * WebView.subproj/WebViewPrivate.h:
+
 2004-05-13  Richard Williamson   <rjw at apple.com>
 
 	Changed imports of all DOM headers.  DOM headers
diff --git a/WebKit/DOM.subproj/DOM.h b/WebKit/DOM.subproj/DOM.h
index 9f71fdf..edb6880 100644
--- a/WebKit/DOM.subproj/DOM.h
+++ b/WebKit/DOM.subproj/DOM.h
@@ -24,10 +24,11 @@
  */
 
 #import <WebKit/DOMCore.h>
-#import <WebKit/DOMViews.h>
+#import <WebKit/DOMCSS.h>
+#import <WebKit/DOMExtensions.h>
 #import <WebKit/DOMEvents.h>
+#import <WebKit/DOMHTML.h>
+#import <WebKit/DOMRange.h>
 #import <WebKit/DOMStylesheets.h>
-#import <WebKit/DOMCSS.h>
 #import <WebKit/DOMTraversal.h>
-#import <WebKit/DOMRange.h>
-#import <WebKit/DOMHTML.h>
+#import <WebKit/DOMViews.h>
diff --git a/WebKit/DOM.subproj/DOMCore.h b/WebKit/DOM.subproj/DOMCore.h
index 9779a05..4ba424d 100644
--- a/WebKit/DOM.subproj/DOMCore.h
+++ b/WebKit/DOM.subproj/DOMCore.h
@@ -47,7 +47,7 @@ extern NSString * const DOMException;
 
 enum {
     //
-    // DOM exception codesxx
+    // DOM exception codes
     //
     DOM_INDEX_SIZE_ERR                = 1,
     DOM_DOMSTRING_SIZE_ERR            = 2,
diff --git a/WebKit/DOM.subproj/DOMHTML.h b/WebKit/DOM.subproj/DOMHTML.h
index 4ca9124..fd07970 100644
--- a/WebKit/DOM.subproj/DOMHTML.h
+++ b/WebKit/DOM.subproj/DOMHTML.h
@@ -629,8 +629,9 @@
 - (void)setCellPadding:(NSString *)cellPadding;
 - (NSString *)cellSpacing;
 - (void)setCellSpacing:(NSString *)cellSpacing;
-- (NSString *)frame;
-- (void)setFrame:(NSString *)frame;
+// frameBorders corresponds to the frame method
+- (NSString *)frameBorders; 
+- (void)setFrameBorders:(NSString *)frameBorders;
 - (NSString *)rules;
 - (void)setRules:(NSString *)rules;
 - (NSString *)summary;
diff --git a/WebKit/DOM.subproj/WebDOMOperations.h b/WebKit/DOM.subproj/WebDOMOperations.h
index d10f86f..16246dd 100644
--- a/WebKit/DOM.subproj/WebDOMOperations.h
+++ b/WebKit/DOM.subproj/WebDOMOperations.h
@@ -30,6 +30,15 @@
 */
 - (WebFrame *)webFrame;
 
+/*!
+    @method URLWithAttributeString:
+    @abstract Constructs a URL given an attribute string.
+    @discussion This method constructs a URL given an attribute string just as WebKit does. 
+    An attribute string is the value of an attribute of an element such as the href attribute on 
+    the DOMHTMLAnchorElement class. This method is only applicable to attributes that refer to URLs.
+*/
+- (NSURL *)URLWithAttributeString:(NSString *)string;
+
 @end
 
 @interface DOMRange (WebDOMRangeOperations)
@@ -40,6 +49,12 @@
 */
 - (WebArchive *)webArchive;
 
+/*!
+    @method markupString
+    @result A markup string representing the range.
+*/
+- (NSString *)markupString;
+
 @end
 
 @interface DOMHTMLFrameElement (WebDOMHTMLFrameElementOperations)
diff --git a/WebKit/DOM.subproj/WebDOMOperationsPrivate.h b/WebKit/DOM.subproj/WebDOMOperationsPrivate.h
index 2e89774..a72116c 100644
--- a/WebKit/DOM.subproj/WebDOMOperationsPrivate.h
+++ b/WebKit/DOM.subproj/WebDOMOperationsPrivate.h
@@ -9,35 +9,12 @@
 
 #import <WebKit/WebDOMOperations.h>
 
- at interface DOMDocument (ToBeMadePublic)
-
-/*!
-    @method URLWithAttributeString
-    @abstract Constructs a URL given an attribute string.
-    @discussion This method constructs a URL given an attribute string just as WebKit does. 
-    An attribute string is the value of an attribute of an element such as the href attribute on 
-    the DOMHTMLAnchorElement class. This method is only applicable to attributes that refer to URLs.
-*/
-- (NSURL *)URLWithAttributeString:(NSString *)string;
-
- at end
-
 @interface DOMNode (WebDOMNodeOperationsPrivate)
 - (WebBridge *)_bridge;
 - (NSArray *)_URLsFromSelectors:(SEL)firstSel, ...;
 - (NSArray *)_subresourceURLs;
 @end
 
- at interface DOMRange (ToBeMadePublic)
-
-/*!
-    @method markupString
-    @result A markup string representing the range.
-*/
-- (NSString *)markupString;
-
- at end
-
 @interface DOMRange (WebDOMRangeOperationsPrivate)
 - (WebBridge *)_bridge;
 @end
diff --git a/WebKit/Misc.subproj/WebKit.h b/WebKit/Misc.subproj/WebKit.h
index e9ee09c..9c9e6bd 100644
--- a/WebKit/Misc.subproj/WebKit.h
+++ b/WebKit/Misc.subproj/WebKit.h
@@ -5,18 +5,27 @@
     Public header file.
 */
 
+#import <WebKit/DOM.h>
+#import <WebKit/WebArchive.h>
 #import <WebKit/WebBackForwardList.h>
 #import <WebKit/WebDataSource.h>
 #import <WebKit/WebDocument.h>
+#import <WebKit/WebDOMOperations.h>
 #import <WebKit/WebDownload.h>
+#import <WebKit/WebEditingDelegate.h>
 #import <WebKit/WebFrame.h>
 #import <WebKit/WebFrameLoadDelegate.h>
 #import <WebKit/WebFrameView.h>
 #import <WebKit/WebHistory.h>
 #import <WebKit/WebHistoryItem.h>
 #import <WebKit/WebKitErrors.h>
+#import <WebKit/WebPlugin.h>
+#import <WebKit/WebPluginContainer.h>
+#import <WebKit/WebPluginViewFactory.h>
 #import <WebKit/WebPolicyDelegate.h>
 #import <WebKit/WebPreferences.h>
+#import <WebKit/WebResource.h>
 #import <WebKit/WebResourceLoadDelegate.h>
+#import <WebKit/WebScriptObject.h>
 #import <WebKit/WebUIDelegate.h>
 #import <WebKit/WebView.h>
diff --git a/WebKit/Plugins.subproj/WebJavaPlugIn.h b/WebKit/Plugins.subproj/WebJavaPlugIn.h
index b2f87b2..4e65531 100644
--- a/WebKit/Plugins.subproj/WebJavaPlugIn.h
+++ b/WebKit/Plugins.subproj/WebJavaPlugIn.h
@@ -12,7 +12,7 @@
     access to Java VM via the plug-in.
 */
 
- at interface NSObject <WebJavaPlugIn>
+ at interface NSObject (WebJavaPlugIn)
 
 /*!
 	@method webPlugInGetApplet
diff --git a/WebKit/WebKit.exp b/WebKit/WebKit.exp
index ce87e09..da4ce89 100644
--- a/WebKit/WebKit.exp
+++ b/WebKit/WebKit.exp
@@ -34,6 +34,7 @@ _WebActionModifierFlagsKey
 _WebActionNavigationTypeKey
 _WebActionNavigationTypeKey
 _WebActionOriginalURLKey
+_WebElementDOMNodeKey
 _WebElementFrameKey
 _WebElementImageAltStringKey
 _WebElementImageKey
diff --git a/WebKit/WebKit.pbproj/project.pbxproj b/WebKit/WebKit.pbproj/project.pbxproj
index 170e112..2dc26ac 100644
--- a/WebKit/WebKit.pbproj/project.pbxproj
+++ b/WebKit/WebKit.pbproj/project.pbxproj
@@ -2068,7 +2068,7 @@
 			isa = PBXBuildFile;
 			settings = {
 				ATTRIBUTES = (
-					Private,
+					Public,
 				);
 			};
 		};
diff --git a/WebKit/WebView.subproj/WebUIDelegate.h b/WebKit/WebView.subproj/WebUIDelegate.h
index fdd0cb8..3d31901 100644
--- a/WebKit/WebView.subproj/WebUIDelegate.h
+++ b/WebKit/WebView.subproj/WebUIDelegate.h
@@ -320,4 +320,66 @@ enum {
 */
 - (NSArray *)webView:(WebView *)sender contextMenuItemsForElement:(NSDictionary *)element defaultMenuItems:(NSArray *)defaultMenuItems;
 
+/*!
+    @method webView:validateUserInterfaceItem:defaultValidation:
+    @abstract Controls UI validation
+    @param webView The WebView sending the delegate method
+    @param item The user interface item being validated
+    @pararm defaultValidation Whether or not the WebView thinks the item is valid
+    @discussion This method allows the UI delegate to control WebView's validation of user interface items.
+    See WebView.h to see the methods to that WebView can currently validate. See NSUserInterfaceValidations and
+    NSValidatedUserInterfaceItem for information about UI validation.
+*/
+- (BOOL)webView:(WebView *)webView validateUserInterfaceItem:(id <NSValidatedUserInterfaceItem>)item defaultValidation:(BOOL)defaultValidation;
+
+/*!
+    @method webView:shouldPerformAction:fromSender:
+    @abstract Controls actions
+    @param webView The WebView sending the delegate method
+    @param action The action being sent
+    @param sender The sender of the action
+    @discussion This method allows the UI delegate to control WebView's behavior when an action is being sent.
+    For example, if the action is copy:, the delegate can return YES to allow WebView to perform its default
+    copy behavior or return NO and perform copy: in some other way. See WebView.h to see the actions that
+    WebView can perform.
+*/
+- (BOOL)webView:(WebView *)webView shouldPerformAction:(SEL)action fromSender:(id)sender;
+
+/*!
+    @method webView:shouldBeginDragForElement:dragImage:mouseDownEvent:mouseDraggedEvent:
+    @abstract Controls behavior when dragging from a WebView
+    @param webView The WebView sending the delegate method
+    @param element The element being dragged
+    @param dragImage The drag image representing the element being dragged
+    @param mouseDownEvent The mouse down event that started the drag
+    @param mouseDraggedEvent The mouse dragged event that started the drag
+    @discussion This method allows the UI delegate to control WebView's behavior when a drag has begun. The delegate
+    can return YES to allow WebView to start the drag or return NO to disallow the drag or customize the drag in some
+    other way.
+*/
+- (BOOL)webView:(WebView *)webView shouldBeginDragForElement:(NSDictionary *)element dragImage:(NSImage *)dragImage mouseDownEvent:(NSEvent *)mouseDownEvent mouseDraggedEvent:(NSEvent *)mouseDraggedEvent;
+
+/*!
+    @method webView:dragOperationForDraggingInfo:overElement:
+    @abstract Controls behavior when dragging to a WebView
+    @param webView The WebView sending the delegate method
+    @param draggingInfo The dragging info of the drag
+    @param element The element that is under the drag
+    @discussion This method allows the UI delegate to control WebView's behavior when something is being dragged to
+    the WebView. The delegate can return the value returned by WebView's dragOperationForDraggingInfo: method,
+    NSDragOperationNone to invalidate the drag or another drag operation.
+*/
+- (NSDragOperation)webView:(WebView *)webView dragOperationForDraggingInfo:(id <NSDraggingInfo>)draggingInfo overElement:(NSDictionary *)element;
+
+/*!
+    @method webView:shouldProcessDragWithDraggingInfo:overElement:
+    @abstract Controls behavior when something is dropped on a WebView
+    @param webView The WebView sending the delegate method
+    @param draggingInfo The dragging info of the drag
+    @param element The element that is under the drag
+    @discussion This method allows the UI delegate to control WebView's behavior when something is dropped on a WebView.
+    The delegate can return YES to allow WebView to process the drag or return NO and process the drag in some other way.
+*/
+- (BOOL)webView:(WebView *)webView shouldProcessDragWithDraggingInfo:(id <NSDraggingInfo>)draggingInfo overElement:(NSDictionary *)element;
+
 @end
diff --git a/WebKit/WebView.subproj/WebView.h b/WebKit/WebView.subproj/WebView.h
index 8f5a76b..ab15457 100644
--- a/WebKit/WebView.subproj/WebView.h
+++ b/WebKit/WebView.subproj/WebView.h
@@ -26,6 +26,7 @@
 // These strings are keys into the element dictionary provided in
 // the WebContextMenuDelegate's contextMenuItemsForElement and the WebwebViewPolicyDelegate's clickPolicyForElement.
 
+extern NSString *WebElementDOMNodeKey;          // DOMNode of the element
 extern NSString *WebElementFrameKey;		// WebFrame of the element
 extern NSString *WebElementImageAltStringKey;	// NSString of the ALT attribute of the image element
 extern NSString *WebElementImageKey;		// NSImage of the image element
@@ -125,6 +126,26 @@ extern NSString *WebViewProgressFinishedNotification;
 + (void)setMIMETypesShownAsHTML:(NSArray *)MIMETypes;
 
 /*!
+    @method URLFromPasteboard:
+    @abstract Returns a URL from a pasteboard
+    @param pasteboard The pasteboard with a URL
+    @result A URL if the pasteboard has one. Nil if it does not.
+    @discussion This method differs than NSURL's URLFromPasteboard method in that it tries multiple pasteboard types
+    including NSURLPboardType to find a URL on the pasteboard.
+*/
++ (NSURL *)URLFromPasteboard:(NSPasteboard *)pasteboard;
+
+/*!
+    @method URLTitleFromPasteboard:
+    @abstract Returns a URL title from a pasteboard
+    @param pasteboard The pasteboard with a URL title
+    @result A URL title if the pasteboard has one. Nil if it does not.
+    @discussion This method returns a title that refers a URL on the pasteboard. An example of this is the link label
+    which is the text inside the anchor tag.
+*/
++ (NSURL *)URLTitleFromPasteboard:(NSPasteboard *)pasteboard;
+
+/*!
     @method initWithFrame:frameName:groupName:
     @abstract The designated initializer for WebView.
     @discussion Initialize a WebView with the supplied parameters. This method will 
@@ -458,6 +479,44 @@ extern NSString *WebViewProgressFinishedNotification;
 */
 - (double)estimatedProgress;
 
+/*!
+    @method dragOperationForDraggingInfo:
+    @abstract Returns a drag operation for a dragging info
+    @param draggingInfo The dragging info
+    @result The drag operation
+*/
+- (NSDragOperation)dragOperationForDraggingInfo:(id <NSDraggingInfo>)draggingInfo;
+
+/*!
+    @method pasteboardTypesForSelection
+    @abstract Returns the pasteboard types that WebView can use for the current selection
+*/
+- (NSArray *)pasteboardTypesForSelection;
+
+/*!
+    @method writeSelectionWithPasteboardTypes:toPasteboard:
+    @abstract Writes the current selection to the pasteboard
+    @param types The types that WebView will write to the pasteboard
+    @param pasteboard The pasteboard to write to
+*/
+- (void)writeSelectionWithPasteboardTypes:(NSArray *)types toPasteboard:(NSPasteboard *)pasteboard;
+
+/*!
+    @method pasteboardTypesForElement:
+    @abstract Returns the pasteboard types that WebView can use for an element
+    @param element The element
+*/
+- (NSArray *)pasteboardTypesForElement:(NSDictionary *)element;
+
+/*!
+    @method writeElement:withPasteboardTypes:toPasteboard:
+    @abstract Writes an element to the pasteboard
+    @param element The element to write to the pasteboard
+    @param types The types that WebView will write to the pasteboard
+    @param pasteboard The pasteboard to write to
+*/
+- (void)writeElement:(NSDictionary *)element withPasteboardTypes:(NSArray *)types toPasteboard:(NSPasteboard *)pasteboard;
+
 @end
 
 
diff --git a/WebKit/WebView.subproj/WebView.m b/WebKit/WebView.subproj/WebView.m
index d0ff31e..61a629b 100644
--- a/WebKit/WebView.subproj/WebView.m
+++ b/WebKit/WebView.subproj/WebView.m
@@ -1204,6 +1204,17 @@ NSMutableDictionary *countInvocations;
     }
 }
 
++ (NSURL *)URLFromPasteboard:(NSPasteboard *)pasteboard
+{
+    ERROR("unimplemented");
+    return nil;
+}
+
++ (NSURL *)URLTitleFromPasteboard:(NSPasteboard *)pasteboard
+{
+    ERROR("unimplemented");
+    return nil;
+}
 
 - (void)_commonInitializationWithFrameName:(NSString *)frameName groupName:(NSString *)groupName
 {
@@ -1821,6 +1832,34 @@ static WebFrame *incrementFrame(WebFrame *curr, BOOL forward, BOOL wrapFlag)
     return _private->progressValue;
 }
 
+- (NSDragOperation)dragOperationForDraggingInfo:(id <NSDraggingInfo>)draggingInfo
+{
+    ERROR("unimplemented");
+    return NSDragOperationNone;
+}
+
+- (NSArray *)pasteboardTypesForSelection
+{
+    ERROR("unimplemented");
+    return nil;
+}
+
+- (void)writeSelectionWithPasteboardTypes:(NSArray *)types toPasteboard:(NSPasteboard *)pasteboard
+{
+    ERROR("unimplemented");
+}
+
+- (NSArray *)pasteboardTypesForElement:(NSDictionary *)element
+{
+    ERROR("unimplemented");
+    return nil;
+}
+
+- (void)writeElement:(NSDictionary *)element withPasteboardTypes:(NSArray *)types toPasteboard:(NSPasteboard *)pasteboard
+{
+    ERROR("unimplemented");
+}
+
 @end
 
 @implementation WebView (WebIBActions)
diff --git a/WebKit/WebView.subproj/WebViewPrivate.h b/WebKit/WebView.subproj/WebViewPrivate.h
index 786cda3..cc664ed 100644
--- a/WebKit/WebView.subproj/WebViewPrivate.h
+++ b/WebKit/WebView.subproj/WebViewPrivate.h
@@ -26,9 +26,6 @@ typedef struct _WebResourceDelegateImplementationCache {
     uint delegateImplementsIdentifierForRequest:1;
 } WebResourceDelegateImplementationCache;
 
-// To be made public:
-extern NSString *WebElementDOMNodeKey;
-
 extern NSString *_WebCanGoBackKey;
 extern NSString *_WebCanGoForwardKey;
 extern NSString *_WebEstimatedProgressKey;

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list