diff options
author | The Android Open Source Project <initial-contribution@android.com> | 2008-12-17 18:05:15 -0800 |
---|---|---|
committer | The Android Open Source Project <initial-contribution@android.com> | 2008-12-17 18:05:15 -0800 |
commit | 1cbdecfa9fc428ac2d8aca0fa91c9580b3d57353 (patch) | |
tree | 4457a7306ea5acb43fe05bfe0973b1f7faf97ba2 /WebKitTools/DumpRenderTree/mac/DumpRenderTreePasteboard.m | |
parent | 9364f22aed35e1a1e9d07c121510f80be3ab0502 (diff) | |
download | external_webkit-1cbdecfa9fc428ac2d8aca0fa91c9580b3d57353.zip external_webkit-1cbdecfa9fc428ac2d8aca0fa91c9580b3d57353.tar.gz external_webkit-1cbdecfa9fc428ac2d8aca0fa91c9580b3d57353.tar.bz2 |
Code drop from //branches/cupcake/...@124589
Diffstat (limited to 'WebKitTools/DumpRenderTree/mac/DumpRenderTreePasteboard.m')
-rw-r--r-- | WebKitTools/DumpRenderTree/mac/DumpRenderTreePasteboard.m | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/WebKitTools/DumpRenderTree/mac/DumpRenderTreePasteboard.m b/WebKitTools/DumpRenderTree/mac/DumpRenderTreePasteboard.m index b5a9b7a..a797b5c 100644 --- a/WebKitTools/DumpRenderTree/mac/DumpRenderTreePasteboard.m +++ b/WebKitTools/DumpRenderTree/mac/DumpRenderTreePasteboard.m @@ -28,14 +28,17 @@ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#import "DumpRenderTreeMac.h" #import "DumpRenderTreePasteboard.h" +#import <WebKit/WebTypesInternal.h> + @interface LocalPasteboard : NSPasteboard { NSMutableArray *typesArray; NSMutableSet *typesSet; NSMutableDictionary *dataByType; - int changeCount; + NSInteger changeCount; } @end @@ -68,7 +71,7 @@ static NSMutableDictionary *localPasteboards; // Convenience method for JS so that it doesn't have to try and create a NSArray on the objc side instead // of the usual WebScriptObject that is passed around -- (int)declareType:(NSString *)type owner:(id)newOwner +- (NSInteger)declareType:(NSString *)type owner:(id)newOwner { return [self declareTypes:[NSArray arrayWithObject:type] owner:newOwner]; } @@ -107,7 +110,7 @@ static NSMutableDictionary *localPasteboards; { } -- (int)declareTypes:(NSArray *)newTypes owner:(id)newOwner +- (NSInteger)declareTypes:(NSArray *)newTypes owner:(id)newOwner { [typesArray removeAllObjects]; [typesSet removeAllObjects]; @@ -115,7 +118,7 @@ static NSMutableDictionary *localPasteboards; return [self addTypes:newTypes owner:newOwner]; } -- (int)addTypes:(NSArray *)newTypes owner:(id)newOwner +- (NSInteger)addTypes:(NSArray *)newTypes owner:(id)newOwner { unsigned count = [newTypes count]; unsigned i; @@ -134,7 +137,7 @@ static NSMutableDictionary *localPasteboards; return ++changeCount; } -- (int)changeCount +- (NSInteger)changeCount { return changeCount; } |