[SCM] WebKit Debian packaging branch, debian/unstable, updated. debian/1.1.15-1-40151-g37bb677
kocienda
kocienda at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 08:11:31 UTC 2009
The following commit has been merged in the debian/unstable branch:
commit 995dbef0471738da94ed943ca8364cbf27a97e7e
Author: kocienda <kocienda at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Thu Nov 13 21:37:17 2003 +0000
Reviewed by John
Fix for this bug:
<rdar://problem/3481719>: WebKit needs preference for tabbing to links
* WebView.subproj/WebPreferences.m:
(+[WebPreferences initialize]): Add initialization of new
WebKitTabToLinksPreferenceKey.
(-[WebPreferences setTabsToLinks:]): Added preference setter.
(-[WebPreferences tabsToLinks]): Added preference getter.
* WebView.subproj/WebPreferencesPrivate.h: Declared new methods as
SPI on WebPreferences.
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@5479 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebKit/ChangeLog b/WebKit/ChangeLog
index 4930b00..a796f70 100644
--- a/WebKit/ChangeLog
+++ b/WebKit/ChangeLog
@@ -1,3 +1,19 @@
+2003-11-13 Ken Kocienda <kocienda at apple.com>
+
+ Reviewed by John
+
+ Fix for this bug:
+
+ <rdar://problem/3481719>: WebKit needs preference for tabbing to links
+
+ * WebView.subproj/WebPreferences.m:
+ (+[WebPreferences initialize]): Add initialization of new
+ WebKitTabToLinksPreferenceKey.
+ (-[WebPreferences setTabsToLinks:]): Added preference setter.
+ (-[WebPreferences tabsToLinks]): Added preference getter.
+ * WebView.subproj/WebPreferencesPrivate.h: Declared new methods as
+ SPI on WebPreferences.
+
2003-11-12 Richard Williamson <rjw at apple.com>
Fixed 3475082. Remove unnecessary orderKey before showKey.
diff --git a/WebKit/WebView.subproj/WebPreferences.m b/WebKit/WebView.subproj/WebPreferences.m
index c262eb3..5d7d50a 100644
--- a/WebKit/WebView.subproj/WebPreferences.m
+++ b/WebKit/WebView.subproj/WebPreferences.m
@@ -45,6 +45,7 @@
#define WebKitPageCacheSizePreferenceKey @"WebKitPageCacheSizePreferenceKey"
#define WebKitObjectCacheSizePreferenceKey @"WebKitObjectCacheSizePreferenceKey"
#define WebKitBackForwardCacheExpirationIntervalKey @"WebKitBackForwardCacheExpirationIntervalKey"
+#define WebKitTabToLinksPreferenceKey @"WebKitTabToLinksPreferenceKey"
NSString *WebPreferencesChangedNotification = @"WebPreferencesChangedNotification";
@@ -75,6 +76,12 @@ enum { WebPreferencesVersion = 1 };
@interface WebPreferences (WebInternal)
+ (NSString *)_concatenateKeyWithIBCreatorID:(NSString *)key;
+ (NSString *)_IBCreatorID;
+- (NSString *)_stringValueForKey: (NSString *)key;
+- (void)_setStringValue: (NSString *)value forKey: (NSString *)key;
+- (int)_integerValueForKey: (NSString *)key;
+- (void)_setIntegerValue: (int)value forKey: (NSString *)key;
+- (int)_boolValueForKey: (NSString *)key;
+- (void)_setBoolValue: (BOOL)value forKey: (NSString *)key;
@end
@implementation WebPreferences
@@ -226,6 +233,7 @@ NS_ENDHANDLER
[NSNumber numberWithBool:YES], WebKitAllowAnimatedImageLoopingPreferenceKey,
[NSNumber numberWithBool:YES], WebKitDisplayImagesKey,
@"1800", WebKitBackForwardCacheExpirationIntervalKey,
+ [NSNumber numberWithBool:NO], WebKitTabToLinksPreferenceKey,
nil];
[[NSUserDefaults standardUserDefaults] registerDefaults:dict];
@@ -590,6 +598,16 @@ NS_ENDHANDLER
return (NSTimeInterval)[[NSUserDefaults standardUserDefaults] floatForKey:WebKitBackForwardCacheExpirationIntervalKey];
}
+- (void)setTabsToLinks:(BOOL)flag
+{
+ [self _setBoolValue: flag forKey: WebKitTabToLinksPreferenceKey];
+}
+
+- (BOOL)tabsToLinks
+{
+ return [[NSUserDefaults standardUserDefaults] boolForKey:WebKitTabToLinksPreferenceKey];
+}
+
static NSMutableDictionary *webPreferencesInstances = nil;
+ (WebPreferences *)_getInstanceForIdentifier:(NSString *)ident
diff --git a/WebKit/WebView.subproj/WebPreferencesPrivate.h b/WebKit/WebView.subproj/WebPreferencesPrivate.h
index c241357..48f1cad 100644
--- a/WebKit/WebView.subproj/WebPreferencesPrivate.h
+++ b/WebKit/WebView.subproj/WebPreferencesPrivate.h
@@ -22,4 +22,7 @@
+ (void)_setIBCreatorID:(NSString *)string;
+- (void)setTabsToLinks:(BOOL)flag;
+- (BOOL)tabsToLinks;
+
@end
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list