Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(448)

Side by Side Diff: Tools/DumpRenderTree/mac/DumpRenderTree.mm

Issue 10633026: Merge 120629 - [chromium/mac] Unbreak smooth scrolling. (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1180/
Patch Set: Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « Tools/ChangeLog ('k') | Tools/TestWebKitAPI/mac/InjectedBundleControllerMac.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved.
3 * (C) 2007 Graham Dennis (graham.dennis@gmail.com) 3 * (C) 2007 Graham Dennis (graham.dennis@gmail.com)
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 572 matching lines...) Expand 10 before | Expand all | Expand 10 after
583 [defaults setObject:@"DoubleMax" forKey:@"AppleScrollBarVariant"]; 583 [defaults setObject:@"DoubleMax" forKey:@"AppleScrollBarVariant"];
584 RetainPtr<CFTypeRef> initialValue = CFPreferencesCopyValue(CFSTR("AppleScrol lBarVariant"), kCFPreferencesAnyApplication, kCFPreferencesCurrentUser, kCFPrefe rencesAnyHost); 584 RetainPtr<CFTypeRef> initialValue = CFPreferencesCopyValue(CFSTR("AppleScrol lBarVariant"), kCFPreferencesAnyApplication, kCFPreferencesCurrentUser, kCFPrefe rencesAnyHost);
585 CFPreferencesSetValue(CFSTR("AppleScrollBarVariant"), CFSTR("DoubleMax"), kC FPreferencesAnyApplication, kCFPreferencesCurrentUser, kCFPreferencesAnyHost); 585 CFPreferencesSetValue(CFSTR("AppleScrollBarVariant"), CFSTR("DoubleMax"), kC FPreferencesAnyApplication, kCFPreferencesCurrentUser, kCFPreferencesAnyHost);
586 #ifndef __LP64__ 586 #ifndef __LP64__
587 // See <rdar://problem/6347388>. 587 // See <rdar://problem/6347388>.
588 ThemeScrollBarArrowStyle style; 588 ThemeScrollBarArrowStyle style;
589 GetThemeScrollBarArrowStyle(&style); // Force HIToolbox to read from CFPrefe rences 589 GetThemeScrollBarArrowStyle(&style); // Force HIToolbox to read from CFPrefe rences
590 #endif 590 #endif
591 591
592 592
593 #if !defined(BUILDING_ON_SNOW_LEOPARD) && !defined(BUILDING_ON_LION) 593 #if !defined(BUILDING_ON_SNOW_LEOPARD) && !defined(BUILDING_ON_LION) && !PLATFOR M(CHROMIUM)
594 [defaults setBool:NO forKey:@"NSScrollAnimationEnabled"]; 594 [defaults setBool:NO forKey:@"NSScrollAnimationEnabled"];
595 #else 595 #else
596 [defaults setBool:NO forKey:@"AppleScrollAnimationEnabled"]; 596 [defaults setBool:NO forKey:@"AppleScrollAnimationEnabled"];
597 #endif 597 #endif
598 598
599 [defaults setBool:NO forKey:@"NSOverlayScrollersEnabled"]; 599 [defaults setBool:NO forKey:@"NSOverlayScrollersEnabled"];
600 [defaults setObject:@"Always" forKey:@"AppleShowScrollBars"]; 600 [defaults setObject:@"Always" forKey:@"AppleShowScrollBars"];
601 601
602 if (initialValue) 602 if (initialValue)
603 CFPreferencesSetValue(CFSTR("AppleScrollBarVariant"), initialValue.get() , kCFPreferencesAnyApplication, kCFPreferencesCurrentUser, kCFPreferencesAnyHost ); 603 CFPreferencesSetValue(CFSTR("AppleScrollBarVariant"), initialValue.get() , kCFPreferencesAnyApplication, kCFPreferencesCurrentUser, kCFPreferencesAnyHost );
(...skipping 832 matching lines...) Expand 10 before | Expand all | Expand 10 after
1436 1436
1437 @implementation DumpRenderTreeApplication 1437 @implementation DumpRenderTreeApplication
1438 1438
1439 - (BOOL)isRunning 1439 - (BOOL)isRunning
1440 { 1440 {
1441 // <rdar://problem/7686123> Java plug-in freezes unless NSApplication is run ning 1441 // <rdar://problem/7686123> Java plug-in freezes unless NSApplication is run ning
1442 return YES; 1442 return YES;
1443 } 1443 }
1444 1444
1445 @end 1445 @end
OLDNEW
« no previous file with comments | « Tools/ChangeLog ('k') | Tools/TestWebKitAPI/mac/InjectedBundleControllerMac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698