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

darin darin at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 06:39:48 UTC 2009


The following commit has been merged in the debian/unstable branch:
commit 1c7d81533b953b0ebc1e015f3a69b4d9caa73c94
Author: darin <darin at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Wed Sep 18 19:27:02 2002 +0000

            * WebView.subproj/WebController.h: Add getters.
            * WebView.subproj/WebController.m:
            (-[WebController applicationNameForUserAgent]): Added.
            (-[WebController userAgent]): Added.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2084 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebKit/ChangeLog b/WebKit/ChangeLog
index 760f8a2..ad75e3e 100644
--- a/WebKit/ChangeLog
+++ b/WebKit/ChangeLog
@@ -1,3 +1,10 @@
+2002-09-18  Darin Adler  <darin at apple.com>
+
+        * WebView.subproj/WebController.h: Add getters.
+        * WebView.subproj/WebController.m:
+        (-[WebController applicationNameForUserAgent]): Added.
+        (-[WebController userAgent]): Added.
+
 2002-09-17  Darin Adler  <darin at apple.com>
 
 	Fix bug where image documents were broken.
diff --git a/WebKit/ChangeLog-2002-12-03 b/WebKit/ChangeLog-2002-12-03
index 760f8a2..ad75e3e 100644
--- a/WebKit/ChangeLog-2002-12-03
+++ b/WebKit/ChangeLog-2002-12-03
@@ -1,3 +1,10 @@
+2002-09-18  Darin Adler  <darin at apple.com>
+
+        * WebView.subproj/WebController.h: Add getters.
+        * WebView.subproj/WebController.m:
+        (-[WebController applicationNameForUserAgent]): Added.
+        (-[WebController userAgent]): Added.
+
 2002-09-17  Darin Adler  <darin at apple.com>
 
 	Fix bug where image documents were broken.
diff --git a/WebKit/WebView.subproj/WebController.h b/WebKit/WebView.subproj/WebController.h
index 28340c7..03c31c2 100644
--- a/WebKit/WebView.subproj/WebController.h
+++ b/WebKit/WebView.subproj/WebController.h
@@ -207,6 +207,7 @@ extern NSString *WebContextMenuElementFrameKey;
 // Set the application name. This name will be used in user-agent strings
 // that are chosen for best results in rendering web pages.
 - (void)setApplicationNameForUserAgent:(NSString *)applicationName;
+- (NSString *)setApplicationNameForUserAgent;
 
 // Set the user agent explicitly. Setting the user-agent string to nil means
 // that WebKit should construct the best possible user-agent string for each URL
@@ -214,6 +215,7 @@ extern NSString *WebContextMenuElementFrameKey;
 // that WebKit should use that user-agent string for all purposes until it is set
 // back to nil.
 - (void)setUserAgent:(NSString *)userAgentString;
+- (NSString *)userAgent;
 
 // Get the appropriate user-agent string for a particular URL.
 - (NSString *)userAgentForURL:(NSURL *)URL;
diff --git a/WebKit/WebView.subproj/WebController.m b/WebKit/WebView.subproj/WebController.m
index e160ad5..e9999c2 100644
--- a/WebKit/WebView.subproj/WebController.m
+++ b/WebKit/WebView.subproj/WebController.m
@@ -410,6 +410,11 @@ NSString * WebContextMenuElementFrameKey = @"WebContextFrame";
     [_private->userAgentLock unlock];
 }
 
+- (NSString *)applicationNameForUserAgent
+{
+    return [[_private->applicationNameForUserAgent copy] autorelease];
+}
+
 // Set the user agent explicitly. Setting the user-agent string to nil means
 // that WebKit should construct the best possible user-agent string for each URL
 // for best results rendering web pages. Setting it to any string means
@@ -424,6 +429,11 @@ NSString * WebContextMenuElementFrameKey = @"WebContextFrame";
     [_private->userAgentLock unlock];
 }
 
+- (NSString *)userAgent
+{
+    return [[_private->userAgentOverride copy] autorelease];
+}
+
 // Get the appropriate user-agent string for a particular URL.
 - (NSString *)userAgentForURL:(NSURL *)URL
 {
diff --git a/WebKit/WebView.subproj/WebView.h b/WebKit/WebView.subproj/WebView.h
index 28340c7..03c31c2 100644
--- a/WebKit/WebView.subproj/WebView.h
+++ b/WebKit/WebView.subproj/WebView.h
@@ -207,6 +207,7 @@ extern NSString *WebContextMenuElementFrameKey;
 // Set the application name. This name will be used in user-agent strings
 // that are chosen for best results in rendering web pages.
 - (void)setApplicationNameForUserAgent:(NSString *)applicationName;
+- (NSString *)setApplicationNameForUserAgent;
 
 // Set the user agent explicitly. Setting the user-agent string to nil means
 // that WebKit should construct the best possible user-agent string for each URL
@@ -214,6 +215,7 @@ extern NSString *WebContextMenuElementFrameKey;
 // that WebKit should use that user-agent string for all purposes until it is set
 // back to nil.
 - (void)setUserAgent:(NSString *)userAgentString;
+- (NSString *)userAgent;
 
 // Get the appropriate user-agent string for a particular URL.
 - (NSString *)userAgentForURL:(NSURL *)URL;
diff --git a/WebKit/WebView.subproj/WebView.m b/WebKit/WebView.subproj/WebView.m
index e160ad5..e9999c2 100644
--- a/WebKit/WebView.subproj/WebView.m
+++ b/WebKit/WebView.subproj/WebView.m
@@ -410,6 +410,11 @@ NSString * WebContextMenuElementFrameKey = @"WebContextFrame";
     [_private->userAgentLock unlock];
 }
 
+- (NSString *)applicationNameForUserAgent
+{
+    return [[_private->applicationNameForUserAgent copy] autorelease];
+}
+
 // Set the user agent explicitly. Setting the user-agent string to nil means
 // that WebKit should construct the best possible user-agent string for each URL
 // for best results rendering web pages. Setting it to any string means
@@ -424,6 +429,11 @@ NSString * WebContextMenuElementFrameKey = @"WebContextFrame";
     [_private->userAgentLock unlock];
 }
 
+- (NSString *)userAgent
+{
+    return [[_private->userAgentOverride copy] autorelease];
+}
+
 // Get the appropriate user-agent string for a particular URL.
 - (NSString *)userAgentForURL:(NSURL *)URL
 {

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list