Remove excessive nesting from _EnumState.process_clean_line at cpp style checker
https://bugs.webkit.org/show_bug.cgi?id=125317

Patch by Daker Fernandes Pinheiro <daker.pinheiro@openbossa.org> on 2014-07-12
Reviewed by Darin Adler.

* Scripts/webkitpy/style/checkers/cpp.py:
(_EnumState.process_clean_line):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@171039 268f45cc-cd09-0410-ab3c-d52691b4dbfc
REGRESSION(r171034) [GTK] Build broken.
https://bugs.webkit.org/show_bug.cgi?id=134861

Unreviewed GTK build fix.


* UIProcess/API/gtk/PageClientImpl.cpp:
(WebKit::PageClientImpl::navigationGestureDidBegin):
(WebKit::PageClientImpl::navigationGestureWillEnd):
(WebKit::PageClientImpl::navigationGestureDidEnd):
* UIProcess/API/gtk/PageClientImpl.h:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@171040 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Try to fix 32-bit Mac build.

* UIProcess/mac/PageClientImpl.mm:
(WebKit::PageClientImpl::navigationGestureDidBegin): Added WK_API_ENABLED conditional.
(WebKit::PageClientImpl::navigationGestureWillEnd): Ditto.
(WebKit::PageClientImpl::navigationGestureDidEnd): Ditto.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@171041 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed, fix EFL build break since r171034.

* UIProcess/CoordinatedGraphics/WebView.h:
* UIProcess/efl/WebContextEfl.cpp:
(WebKit::WebContext::platformMediaCacheDirectory):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@171042 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Rename selectorListContainsUncommonAttributeSelector() to selectorListContainsAttributeSelector()
https://bugs.webkit.org/show_bug.cgi?id=134862

Reviewed by Sam Weinig.

Unlike containsUncommonAttributeSelector(), selectorListContainsUncommonAttributeSelector() does not
evaluate the attribute for "uncommon" types.

It would be possible to change the function instead to evaluate common attributes based
on the match type and the pseudo class type. Such change would be more risky
and we would get very little benefit from it, I leave that for later if that ever becomes useful.

* css/RuleSet.cpp:
(WebCore::selectorListContainsAttributeSelector):
(WebCore::containsUncommonAttributeSelector):
(WebCore::selectorListContainsUncommonAttributeSelector): Deleted.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@171043 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Style checker complains about namespace indentation when there is no namespace
https://bugs.webkit.org/show_bug.cgi?id=105427

Patch by Peter Szanka <h868064@stud.u-szeged.hu> on 2014-07-12
Reviewed by Darin Adler.

* Scripts/webkitpy/style/checkers/cpp.py:
(check_namespace_indentation):
* Scripts/webkitpy/style/checkers/cpp_unittest.py:
(WebKitStyleTest.test_indentation):

The indentation level depends on the parantheses too, to avoid false warning in case of several statements inside macros.

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