Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
2011-04-22 Jer Noble <jer.noble@apple.com>
Reviewed by Maciej Stachowiak. Disable MediaPlayerPrivateAVFoundation when using old full screen mode. https://bugs.webkit.org/show_bug.cgi?id=59147 Add a new isAVFoundationEnabled setting and check it before adding MediaPlayerPrivateAVFoundationObjC to the media engine registry. * WebCore.exp.in: * page/Settings.cpp: * page/Settings.h: (WebCore::Settings::setAVFoundationEnabled): Added. (WebCore::Settings::isAVFoundationEnabled): Added. * platform/graphics/MediaPlayer.cpp: (WebCore::installedMediaEngines): Check the settings added above. 2011-04-22 Jer Noble <jer.noble@apple.com> Reviewed by Maciej Stachowiak. Disable MediaPlayerPrivateAVFoundation when using old full screen mode. https://bugs.webkit.org/show_bug.cgi?id=59147 Add a new user default preference, and plumb that preference down to WebCore Settings. Allow the fullScreenEnabled preference to override the new isAVFoundationEnabled preference, so that clients of the legacy full screen mode will continue to use that mode normally. * WebView/WebPreferenceKeysPrivate.h: Add new preference key. * WebView/WebPreferences.mm: (+[WebPreferences initialize]): Set the default value of new preference. (-[WebPreferences setAVFoundationEnabled:]): Added. (-[WebPreferences isAVFoundationEnabled]): Added. * WebView/WebPreferencesPrivate.h: * WebView/WebView.mm: (-[WebView _preferencesChanged:]): Update the WebCore settings with the new values from WebPreferences. Canonical link: https://commits.webkit.org/74381@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@84646 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing
10 changed files
with
84 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters