[EFL][WK2] Build break after r157967 and r157972
https://bugs.webkit.org/show_bug.cgi?id=123324

Patch by Ryuan Choi <ryuan.choi@samsung.com> on 2013-10-25
Reviewed by Tim Horton.

Since r157967 and r157972, visibilityDidChange was removed from DrawingAreaProxy.

* UIProcess/CoordinatedGraphics/CoordinatedDrawingAreaProxy.cpp:
(WebKit::CoordinatedDrawingAreaProxy::visibilityDidChange):
Removed common logic which r157967 moved to WebProcess.
* UIProcess/CoordinatedGraphics/CoordinatedDrawingAreaProxy.h:
Make visibilityDidChange to public method.
* UIProcess/CoordinatedGraphics/WebView.cpp:
(WebKit::WebView::setVisible):
(WebKit::WebView::isWindowVisible): Added.
* UIProcess/CoordinatedGraphics/WebView.h:
* WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::WebPage):
(WebKit::WebPage::setWindowIsVisible):
* WebProcess/WebPage/WebPage.h:
Moved m_windowIsVisible to use at all WK2 based port.
(WebKit::WebPage::windowIsVisible):
* WebProcess/WebPage/WebPage.messages.in:
Moved SetWindowIsVisible message to use at all WK2 based port.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@157996 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[CSS Regions] Rename CSS classes and JS methods in vertical layout tests about selection
https://bugs.webkit.org/show_bug.cgi?id=123327

Reviewed by Mihnea Ovidenie.

For consistency with Blink we use Vertical instead of Vert in CSS
classes and JS methods related to the selection layout tests for CSS
Regions.

* fast/regions/resources/helper.js:
(selectContentByIdsVertical):
* fast/regions/resources/region-style.css:
* fast/regions/selection/selecting-text-ignoring-region-vert-lr-expected.html:
* fast/regions/selection/selecting-text-ignoring-region-vert-lr.html:
* fast/regions/selection/selecting-text-ignoring-region-vert-rl-expected.html:
* fast/regions/selection/selecting-text-ignoring-region-vert-rl.html:
* fast/regions/selection/selecting-text-in-2-regions-vert-lr-expected.html:
* fast/regions/selection/selecting-text-in-2-regions-vert-lr.html:
* fast/regions/selection/selecting-text-in-2-regions-vert-rl-expected.html:
* fast/regions/selection/selecting-text-in-2-regions-vert-rl.html:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@157997 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Non-SVG build broken after r157950
https://bugs.webkit.org/show_bug.cgi?id=123328

Reviewed by Xan Lopez.

The isSVGInlineTest() check should be done only if SVG is enabled.

* rendering/SimpleLineLayout.cpp:
(WebCore::SimpleLineLayout::canUseFor):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@157998 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Use a Vector instead of HashSet to computed the orderValues in RenderFlexibleBox
https://bugs.webkit.org/show_bug.cgi?id=118620

Reviewed by Antti Koivisto.

PerformanceTests:

From Blink r152960 by <ojan@chromium.org>

New performance test for layouts in flexboxes.

* Layout/flexbox-lots-of-data.html: Added.

Source/WebCore:

Turns out that order is extremelly uncommon so using a Vector is
much less expensive. This also special-cases the much common case
of only having order of value 0 by using Vectors with just one
preallocated member.

Also added the performance test that shows a ~1% win when using a
vector instead of the HashSet.

* rendering/RenderFlexibleBox.cpp:
(WebCore::RenderFlexibleBox::OrderIterator::setOrderValues):
(WebCore::RenderFlexibleBox::layoutBlock):
(WebCore::RenderFlexibleBox::computeMainAxisPreferredSizes):
* rendering/RenderFlexibleBox.h:

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