Unreviewed watchlist change to monitor Inspector IDLs.

* Scripts/webkitpy/common/config/watchlist:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132221 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Qt] Port QWebPreferences to C++
https://bugs.webkit.org/show_bug.cgi?id=100121

Reviewed by Kenneth Rohde Christiansen.

Port all the WebPreference calls to using the direct API instead of going through
the auto-generated C API.

* UIProcess/API/qt/qwebpreferences.cpp:
(QWebPreferencesPrivate::testAttribute):
(QWebPreferencesPrivate::setAttribute):
(QWebPreferencesPrivate::setFontFamily):
(QWebPreferencesPrivate::fontFamily):
(QWebPreferencesPrivate::setFontSize):
(QWebPreferencesPrivate::fontSize):
(QWebPreferencesPrivate::preferences):
* UIProcess/API/qt/qwebpreferences_p_p.h:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132222 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[chromium] Expose setAutomaticallyComputeRasterScale on the WebLayer API
https://bugs.webkit.org/show_bug.cgi?id=100013

Reviewed by James Robinson.

This allows web content to opt-in to having their contentsScale
determined from their CSS transforms, without having this behaviour
unconditionally enabled globally.

Supports http://crbug.com/149943

* chromium/public/WebLayer.h:
(WebLayer):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132223 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[BlackBerry] Let WebKit manage the SelectionOverlay
https://bugs.webkit.org/show_bug.cgi?id=99585

Reviewed by Rob Buis.

The SelectionOverlay was exposed to clients of the BlackBerry::WebKit
API. However, all the information and notifications necessary to manage
the SelectionOverlay are available within WebKit, so the client does
not have to shoulder this responsibility.

Remove WebSelection and all the related plumbing. Now that nobody is
using the class from the user interface thread, remove the message
related code in SelectionOverlay.

Add two calls to SelectionOverlay::hide() that are necessary now that
the client is no longer responsible for hiding it.

RIM PR: 225789

Reviewed internally by Mike Fenton.

* Api/WebPage.cpp:
(BlackBerry::WebKit::WebPagePrivate::~WebPagePrivate):
* Api/WebPage.h:
(WebKit):
* Api/WebPage_p.h:
(WebPagePrivate):
* Api/WebSelectionOverlay.h: Removed.
* WebKitSupport/SelectionHandler.cpp:
(BlackBerry::WebKit::SelectionHandler::cancelSelection): Hide the overlay here, because state is reset and selection mode is no longer active
(BlackBerry::WebKit::SelectionHandler::selectionPositionChanged): Also hide overlay here, to go with the call to cancelSelectionVisuals
* WebKitSupport/SelectionOverlay.cpp:
(BlackBerry::WebKit::SelectionOverlay::SelectionOverlay):
* WebKitSupport/SelectionOverlay.h:
(BlackBerry::WebKit::SelectionOverlay::create):
(SelectionOverlay):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132224 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Adding myself to commiters.py
https://bugs.webkit.org/show_bug.cgi?id=100122

Unreviewed update to commiters.py.

* Scripts/webkitpy/common/config/committers.py:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132225 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Qt][WK2] Unreviewed gardening.

* platform/qt-5.0-wk2/http/tests/navigation/forward-and-cancel-expected.txt:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132226 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Add support for resolution media query
https://bugs.webkit.org/show_bug.cgi?id=99077

Reviewed by Antti Koivisto.

.:

* Source/cmake/OptionsEfl.cmake:
* Source/cmake/WebKitFeatures.cmake:
* Source/cmakeconfig.h.cmake:

    Add support for the RESOLUTION_MEDIA_QUERY feature flag.

* Source/autotools/symbols.filter:

    Export the WebCore::Settings setting.

Source/WebCore:

Add support for 'resolution' media query feature.

Background info:
http://www.w3.org/blog/CSS/2012/06/14/unprefix-webkit-device-pixel-ratio

Related spec links:
http://www.w3.org/TR/css3-mediaqueries/#resolution (recommendation)
http://www.w3.org/TR/css3-values/#resolution (candidate recommentation)

Add infrastructure to make it testable.

Test: fast/media/mq-resolution.html

* css/CSSParser.cpp:
(WebCore::CSSParser::validUnit):
(WebCore::CSSParser::createPrimitiveNumericValue):
(WebCore::CSSParser::parseValidPrimitive):
(WebCore::CSSParser::detectNumberToken):
* css/CSSParser.h:
* css/CSSPrimitiveValue.cpp:
(WebCore::isValidCSSUnitTypeForDoubleConversion):
(WebCore::unitCategory):
(WebCore::CSSPrimitiveValue::canonicalUnitTypeForCategory):
(WebCore::CSSPrimitiveValue::customCssText):
(WebCore::CSSPrimitiveValue::cloneForCSSOM):
* css/CSSPrimitiveValue.h:

    Enable dpi, dpcm and dppx units when RESOLUTION_MEDIA_QUERY
    is enabled.

* WebCore.exp.in:

    Export the WebCore::Settings setting.

* css/CSSPrimitiveValue.h:
(WebCore::CSSPrimitiveValue::isDotsPerInch):
(WebCore::CSSPrimitiveValue::isDotsPerPixel):
(WebCore::CSSPrimitiveValue::isDotsPerCentimeter):
(CSSPrimitiveValue):

    Add function for checking the recently added density types.

* css/MediaFeatureNames.h:
(MediaFeatureNames):

    Add support for resolution, min-resolution and max-resolution.

* css/MediaQueryEvaluator.cpp:
(WebCore::compareResolution): Add methods for comparing resolutions.
(WebCore):
(WebCore::resolutionMediaFeatureEval):
(WebCore::min_resolutionMediaFeatureEval):
(WebCore::max_resolutionMediaFeatureEval):

    Implement the resolution method evaluation.

* css/MediaQueryExp.cpp:
(WebCore::featureWithValidPositiveDensity):
(WebCore):
(WebCore::featureWithoutValue):
(WebCore::MediaQueryExp::MediaQueryExp):

    Hook up resolution with the right pre-checks.

       * page/Screen.cpp:
(WebCore::Screen::horizontalDPI):
(WebCore::Screen::verticalDPI):

    Check whether an override exists, and if so, uses it.
    If not calculate the value given the device scale factor.

* page/Settings.cpp:
(WebCore::Settings::setResolutionOverride):
(WebCore):
* page/Settings.h:
(Settings):
(WebCore::Settings::resolutionOverride):

    Add a resolution override to settings.

* testing/InternalSettings.cpp:
(WebCore::InternalSettings::Backup::Backup):
(WebCore::InternalSettings::Backup::restoreTo):
(WebCore::InternalSettings::setResolutionOverride):
(WebCore):
* testing/InternalSettings.h:
(Backup):
(InternalSettings):
* testing/InternalSettings.idl:

    Add a new setResolutionOverride method to internals.settings.

Source/WebKit/chromium:

Add support for the RESOLUTION_MEDIA_QUERY feature flag.

* features.gypi:

Source/WebKit/mac:

Add support for the RESOLUTION_MEDIA_QUERY feature flag.

* Configurations/FeatureDefines.xcconfig:

Source/WebKit2:

* win/WebKit2.def:

    Add exports for the WebCore::Settings setting.

* Configurations/FeatureDefines.xcconfig:

    Add support for the RESOLUTION_MEDIA_QUERY feature flag.

Tools:

Add support for the RESOLUTION_MEDIA_QUERY feature flag.

* Scripts/webkitperl/FeatureList.pm:
* qmake/mkspecs/features/features.pri:

LayoutTests:

Test (resolution: x) media query to ensure compliance
with spec plus proposed dppx values.

* fast/media/mq-resolution-expected.txt: Added.
* fast/media/mq-resolution.html: Added.

* LayoutTests/platform/mac/TestExpectations:
* LayoutTests/platform/chromium/TestExpectations:

    Skip the test as the ports do not enable CSS Image Resolution.

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