[Mac] Add helper methods to convert CMTime <--> MediaTime
https://bugs.webkit.org/show_bug.cgi?id=123285

Reviewed by Eric Carlson.

Source/WebCore:

Add utility methods to convert between CMTime (a rational time class) and MediaTime.
Once there, PlatformClockCM can now vend and accept MediaTimes for currentTime.

* platform/mac/MediaTimeMac.h:
* platform/mac/MediaTimeMac.cpp:
(WebCore::toMediaTime): Added conversion utility method.
(WebCore::toCMTime): Ditto.

* platform/mac/PlatformClockCM.h:
* platform/mac/PlatformClockCM.mm:
(PlatformClockCM::setCurrentMediaTime): Added.
(PlatformClockCM::currentMediaTime): Added.

* WebCore.xcodeproj/project.pbxproj: Add new files to project.

Source/WTF:

Add a #ifdef header_h protector.

* wtf/MediaTime.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@157991 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[WTF] Add a multiplication operator (and a few others) to MediaTime
https://bugs.webkit.org/show_bug.cgi?id=123137

Reviewed by Eric Carlson.

Source/WTF:

Add a multiplication operator and an inequality operator to the
MediaTime class for use by MSE.

* wtf/MediaTime.cpp:
(WTF::signum): Moved to top of file.
(WTF::MediaTime::operator*): Added.
(WTF::MediaTime::operator!=): Added.
* wtf/MediaTime.h:
(WTF::operator*): Added non-class version of operator*.

Tools:

Add tests for new MediaTime operators.

* TestWebKitAPI/Tests/WTF/MediaTime.cpp:
(TestWebKitAPI::TEST):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@157992 268f45cc-cd09-0410-ab3c-d52691b4dbfc
It turns out that the current instruction only works on Mountain Lion.

Also fixed some typos.

* Install.md:



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@157993 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed GTK gardening. Several fast/regions/selection tests are failing in WK2.

Patch by Javier Fernandez <jfernandez@igalia.com> on 2013-10-25

* platform/gtk-wk2/TestExpectations:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@157994 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Build fix after r157815. Don't resolve the path from webkit_base. Use the relative path as is.

* Scripts/webkitpy/port/base.py:
(Port.repository_paths):



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