[SCM] WebKit Debian packaging branch, debian/unstable, updated. debian/1.1.15-1-40151-g37bb677
rjw
rjw at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 07:41:50 UTC 2009
The following commit has been merged in the debian/unstable branch:
commit 9e77d5cfb967cbe120ab7189367a7d7c1086cd6a
Author: rjw <rjw at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Tue May 13 01:19:06 2003 +0000
Fixed 3251316. *** Public API Change ***
Added -(void)setGroupName:(NSString *) and -(NSString *)groupName;
Reviewed by mjs.
* WebView.subproj/WebView.h:
* WebView.subproj/WebView.m:
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@4357 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebKit/ChangeLog b/WebKit/ChangeLog
index 9a80c5f..028fd01 100644
--- a/WebKit/ChangeLog
+++ b/WebKit/ChangeLog
@@ -1,5 +1,16 @@
2003-05-12 Richard Williamson <rjw at apple.com>
+ Fixed 3251316. *** Public API Change ***
+
+ Added -(void)setGroupName:(NSString *) and -(NSString *)groupName;
+
+ Reviewed by mjs.
+
+ * WebView.subproj/WebView.h:
+ * WebView.subproj/WebView.m:
+
+2003-05-12 Richard Williamson <rjw at apple.com>
+
Fixed 3194614 and 3194751. Add SPI to set 'renderless' mode
for a frame.
diff --git a/WebKit/WebView.subproj/WebView.h b/WebKit/WebView.subproj/WebView.h
index 9c42528..8698df8 100644
--- a/WebKit/WebView.subproj/WebView.h
+++ b/WebKit/WebView.subproj/WebView.h
@@ -356,6 +356,19 @@ extern NSString *WebElementLinkLabelKey; // NSString of the text within the anch
+ (void)registerViewClass:(Class)viewClass representationClass:(Class)representationClass forMIMEType:(NSString *)MIMEType;
+/*!
+ @method setGroupName:
+ @param groupName The name of the group for this WebView.
+ @discussion JavaScript may access named frames within the same group.
+*/
+- (void)setGroupName:(NSString *)groupName;
+
+/*!
+ @method groupName
+ @discussion The group name for this WebView.
+*/
+- (NSString *)groupName;
+
@end
diff --git a/WebKit/WebView.subproj/WebView.m b/WebKit/WebView.subproj/WebView.m
index c72001f..4a08ed6 100644
--- a/WebKit/WebView.subproj/WebView.m
+++ b/WebKit/WebView.subproj/WebView.m
@@ -90,10 +90,7 @@ NSString *WebElementLinkTitleKey = @"WebElementLinkTitle";
{
_private = [[WebViewPrivate alloc] init];
_private->mainFrame = [[WebFrame alloc] initWithName: frameName webFrameView: wv webView: self];
- _private->setName = [groupName copy];
- if (_private->setName != nil) {
- [WebViewSets addWebView:self toSetNamed:_private->setName];
- }
+ [self setGroupName:groupName];
[self setMaintainsBackForwardList: YES];
@@ -578,6 +575,21 @@ static WebFrame *incrementFrame(WebFrame *curr, BOOL forward, BOOL wrapFlag)
[[WebDataSource _repTypesAllowImageTypeOmission:YES] setObject:representationClass forKey:MIMEType];
}
+- (void)setGroupName:(NSString *)groupName
+{
+ if (groupName != _private->setName){
+ [_private->setName release];
+ _private->setName = [groupName copy];
+ [WebViewSets addWebView:self toSetNamed:_private->setName];
+ }
+}
+
+- (NSString *)groupName
+{
+ return _private->setName;
+}
+
+
@end
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list