Changeset 45576 in webkit
- Timestamp:
- Jul 6, 2009 5:44:23 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r45568 r45576 1 2009-07-06 Eric Carlson <eric.carlson@apple.com> 2 3 Reviewed by Simon Fraser. 4 5 <rdar://problem/7035474> Make new media controller UI default on SnowLeopard 6 7 Disable media tests that depend on controller size/position on SnowLeopard until 8 <rdar://problem/6502936> Update run-webkit-tests to deal with new media controller look 9 has been fixed 10 11 * platform/mac-snowleopard/Skipped: 12 1 13 2009-07-06 Shinichiro Hamaji <hamaji@chromium.org> 2 14 -
trunk/LayoutTests/platform/mac-snowleopard/Skipped
r44486 r45576 25 25 svg/custom/viewbox-syntax.svg 26 26 svg/hixie/perf/007.xml 27 28 # Disable media tests that depend on controller size/position until 29 # <rdar://problem/6502936> Update run-webkit-tests to deal with new media controller look 30 # has been fixed 31 media/audio-controls-rendering.html 32 media/controls-strict.html 33 media/video-controls-rendering.html 34 media/video-controls-transformed.html 35 media/video-controls-visible-audio-only.html 36 media/video-controls-zoomed.html 37 media/video-display-toggle.html 38 media/video-empty-source.html 39 media/video-zoom-controls.html -
trunk/WebCore/ChangeLog
r45574 r45576 1 2009-07-06 Eric Carlson <eric.carlson@apple.com> 2 3 Reviewed by Simon Fraser. 4 5 <rdar://problem/7035474> Make new media controller UI default on SnowLeopard 6 7 * rendering/RenderThemeMac.mm: 8 (WebCore::mediaControllerTheme): 9 New media controller UI is enabled by default on SnowLeopard. 10 1 11 2009-07-06 Nate Chapin <japhet@chromium.org> 2 12 -
trunk/WebCore/rendering/RenderThemeMac.mm
r45572 r45576 1424 1424 static const long minimumQuickTimeVersion = 0x07600000; // 7.6 1425 1425 static SInt32 quickTimeVersion = 0; 1426 static int controllerTheme = -1; 1427 1428 if (controllerTheme != -1) 1429 return controllerTheme; 1430 1431 controllerTheme = MediaControllerThemeClassic; 1426 1432 1427 1433 if (!quickTimeVersion) { … … 1429 1435 err = Gestalt(gestaltQuickTime, &quickTimeVersion); 1430 1436 if (err != noErr) 1431 return MediaControllerThemeClassic;1437 return controllerTheme; 1432 1438 } 1433 1439 if (quickTimeVersion < minimumQuickTimeVersion) 1434 return MediaControllerThemeClassic; 1435 1436 // keep the feature off for now without an explicit opt-in 1440 return controllerTheme; 1441 1437 1442 Boolean validKey; 1438 1443 Boolean useQTMediaUI = CFPreferencesGetAppBooleanValue(CFSTR("UseQuickTimeMediaUI"), CFSTR("com.apple.WebCore"), &validKey); 1444 1445 #if !defined(BUILDING_ON_TIGER) && !defined(BUILDING_ON_LEOPARD) 1446 if (validKey && !useQTMediaUI) 1447 return controllerTheme; 1448 #else 1439 1449 if (!validKey || !useQTMediaUI) 1440 return MediaControllerThemeClassic; 1441 1442 return MediaControllerThemeQT; 1450 return controllerTheme; 1451 #endif 1452 1453 controllerTheme = MediaControllerThemeQT; 1454 return controllerTheme; 1443 1455 } 1444 1456 #endif
Note: See TracChangeset
for help on using the changeset viewer.