Rolled out the WebDashboardBehaviorUseBackwardCompatibilityModeEnabled
authorggaren <ggaren@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 5 Dec 2006 00:37:53 +0000 (00:37 +0000)
committerggaren <ggaren@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 5 Dec 2006 00:37:53 +0000 (00:37 +0000)
        part of my last checkin.

        We have to turn on support for backward compatibility mode to avoid Dashboard
        regressions in the short term.

        * WebView/WebView.mm:
        (-[WebView _setDashboardBehavior:to:]):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@18010 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebKit/ChangeLog
WebKit/WebView/WebView.mm

index 3d71fe017fd8c8194572cb20e68156145fc2ccaf..f51b687191ad1e9ae6499349bc622483fc5b1b4c 100644 (file)
@@ -1,3 +1,14 @@
+2006-12-04  Geoffrey Garen  <ggaren@apple.com>
+
+        Rolled out the WebDashboardBehaviorUseBackwardCompatibilityModeEnabled
+        part of my last checkin.
+        
+        We have to turn on support for backward compatibility mode to avoid Dashboard
+        regressions in the short term.
+
+        * WebView/WebView.mm:
+        (-[WebView _setDashboardBehavior:to:]):
+
 2006-12-02  Geoffrey Garen  <ggaren@apple.com>
 
         Reviewed by Darin Adler.
index 25401f91944af4c479238c8d77c1c84c64b8f660..13f6476cf4d2f2b3135a69fba73992b4171be9ca 100644 (file)
@@ -1445,14 +1445,10 @@ WebResourceDelegateImplementationCache WebViewGetResourceLoadDelegateImplementat
 
 - (void)_setDashboardBehavior:(WebDashboardBehavior)behavior to:(BOOL)flag
 {
-    // FIXME: Remove this defaults read once we decide to "turn on" compatibility
-    // mode support for good.
-    if ([[NSUserDefaults standardUserDefaults] boolForKey:@"WebDashboardBehaviorUseBackwardCompatibilityModeEnabled"]) {
-        // FIXME: Remove this blanket assignment once Dashboard and Dashcode implement 
-        // specific support for the backward compatibility mode flag.
-        if (behavior == WebDashboardBehaviorAllowWheelScrolling && flag == NO)
-            [_private->settings setShouldUseDashboardBackwardCompatibilityMode:YES];
-    }
+    // FIXME: Remove this blanket assignment once Dashboard and Dashcode implement 
+    // specific support for the backward compatibility mode flag.
+    if (behavior == WebDashboardBehaviorAllowWheelScrolling && flag == NO)
+        [_private->settings setShouldUseDashboardBackwardCompatibilityMode:YES];
     
     switch (behavior) {
         case WebDashboardBehaviorAlwaysSendMouseEventsToAllWindows: {