[iOS] Video in an <embed> has a bad aspect ratio when in fullscreen mode.
https://bugs.webkit.org/show_bug.cgi?id=135481

Reviewed by Simon Fraser.

Do not change the gravity of our AVPlayerLayer when in full screen mode; its gravity
is controlled by setVideoFullscreenGravity(), and should not be affected by style changes.

* platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
(WebCore::MediaPlayerPrivateAVFoundationObjC::updateVideoLayerGravity):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@171895 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Subpixel rendering: Region painting needs to take subpixel accumulation into account.
https://bugs.webkit.org/show_bug.cgi?id=135469

Similar to non-region painting, when the context is translated, we need to propagate
the subpixel difference so that renderers get snapped to the same position as if they
were not part of a region.

Reviewed by Simon Fraser.

Covered by existing tests/not testable (webkit.org/b/135470)

* html/shadow/MediaControlElements.cpp:
(WebCore::MediaControlTextTrackContainerElement::createTextTrackRepresentationImage):
* page/FrameView.cpp:
(WebCore::FrameView::paintContents):
* rendering/RenderLayer.cpp:
(WebCore::RenderLayer::paint):
(WebCore::RenderLayer::calculateClipRects):
* rendering/RenderLayer.h:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@171896 268f45cc-cd09-0410-ab3c-d52691b4dbfc
MiniBrowser Should Support Fullscreen Videos in WebKit2 Mode
https://bugs.webkit.org/show_bug.cgi?id=135482

Reviewed by Simon Fraser.

Source/WebKit2: 
        
Add accessors for the missing Fullscreen API so that MiniBrowser
can use them.

* UIProcess/API/Cocoa/WKPreferences.mm:
(-[WKPreferences _fullScreenIsEnabled]): Added.
(-[WKPreferences _setFullScreenEnabled:]): Added.
* UIProcess/API/Cocoa/WKPreferencesPrivate.h: Add accessor for
Fullscreen mode.

Tools: 

* MiniBrowser/mac/WK2BrowserWindowController.m:
(-[WK2BrowserWindowController awakeFromNib]): Activate the Fullscreen
feature.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@171897 268f45cc-cd09-0410-ab3c-d52691b4dbfc
platform/mac/fast/scrolling/scroll-select-bottom-test.html failing on Mavericks 
(after 171891?)
https://bugs.webkit.org/show_bug.cgi?id=135485

Skipping this test for now to allow some time to investigate the failure.

* platform/mac/TestExpectations:



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@171898 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed typo correction.
https://bugs.webkit.org/show_bug.cgi?id=135482

Rename '_fullScreenIsEnabled' -> '_fullScreenEnabled'

* UIProcess/API/Cocoa/WKPreferences.mm:
(-[WKPreferences _fullScreenEnabled]): Added
(-[WKPreferences _fullScreenIsEnabled]): Deleted.
* UIProcess/API/Cocoa/WKPreferencesPrivate.h:



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@171899 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed typo correction (and build fix).

* MiniBrowser/mac/WK2BrowserWindowController.m:
(-[WK2BrowserWindowController awakeFromNib]): Use correct
property name (_fullScreenIsEnabled -> _fullScreenEnabled)



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@171900 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[EFL] remove ewk_defines.h
https://bugs.webkit.org/show_bug.cgi?id=135456

Reviewed by Gyuyoung Kim.

* UIProcess/API/efl/ewk_context_menu.h:
* UIProcess/API/efl/ewk_context_menu_item.h: Moved the declaration from ewk_defines.h
* UIProcess/API/efl/ewk_defines.h: Removed.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@171901 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Reverted r171893, because it broke http/tests/appcache/different-https-origin-resource-main.html,
which loads HTTPS content without calling the delegate.

Rubber-stamped by Alexey Proskuryakov.

* WebKitTestRunner/InjectedBundle/ios/InjectedBundleIOS.mm:
(WTR::InjectedBundle::platformInitialize):
* WebKitTestRunner/InjectedBundle/mac/InjectedBundleMac.mm:
(WTR::InjectedBundle::platformInitialize):



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@171902 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Win] Use RC_PROJECTBUILDVERSION as build portion of version
https://bugs.webkit.org/show_bug.cgi?id=135478

Reviewed by David Kilzer.


Tools: 
Add new test suite for the version-stamp program.

* Scripts/webkitperl/auto-version_unittest/versionStampTests.pl: Added.

WebKitLibraries: 
* win/tools/scripts/version-stamp.pl: Check environment for
RC_PROJECTBUILDVERSION, and use it for the build portion of
the file version resource. Otherwise, use the __VERSION_BUILD__
value we calculated from the version string.


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