+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.
- (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: {