Fix the indentation of SpaceSplitString
https://bugs.webkit.org/show_bug.cgi?id=120390

Reviewed by Ryosuke Niwa.

* dom/SpaceSplitString.h:
(WebCore::SpaceSplitStringData::contains):
(WebCore::SpaceSplitStringData::isUnique):
(WebCore::SpaceSplitStringData::size):
(WebCore::SpaceSplitStringData::operator[]):
(WebCore::SpaceSplitString::SpaceSplitString):
(WebCore::SpaceSplitString::operator!=):
(WebCore::SpaceSplitString::clear):
(WebCore::SpaceSplitString::contains):
(WebCore::SpaceSplitString::containsAll):
(WebCore::SpaceSplitString::size):
(WebCore::SpaceSplitString::isNull):
(WebCore::SpaceSplitString::operator[]):
(WebCore::SpaceSplitString::spaceSplitStringContainsValue):
(WebCore::SpaceSplitString::ensureUnique):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154719 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[WK2] Remove USE_WEBPROCESS_EVENT_SIMULATION
https://bugs.webkit.org/show_bug.cgi?id=120379

Reviewed by Darin Adler.

All major platforms have implemented UI process eventSender support, keeping old
web process side code only adds confusion.

* WebKitTestRunner/InjectedBundle/EventSendingController.cpp:
(WTR::EventSendingController::EventSendingController):
(WTR::EventSendingController::mouseDown):
(WTR::EventSendingController::mouseUp):
(WTR::EventSendingController::mouseMoveTo):
(WTR::EventSendingController::leapForward):
* WebKitTestRunner/InjectedBundle/EventSendingController.h:
* WebKitTestRunner/TestController.cpp:
(WTR::TestController::resetStateToConsistentValues):
(WTR::TestController::didReceiveMessageFromInjectedBundle):
(WTR::TestController::didReceiveSynchronousMessageFromInjectedBundle):
* WebKitTestRunner/TestController.h:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154720 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Adding  "explicit" keyword in  forms related classes constructor
https://bugs.webkit.org/show_bug.cgi?id=120366

Patch by Santosh Mahto <santosh.ma@samsung.com> on 2013-08-27
Reviewed by Darin Adler.

Adding "explicit" keyword in constructors.

* html/BaseButtonInputType.h:
(WebCore::BaseButtonInputType::BaseButtonInputType):
* html/BaseCheckableInputType.h:
(WebCore::BaseCheckableInputType::BaseCheckableInputType):
* html/BaseChooserOnlyDateAndTimeInputType.h:
(WebCore::BaseChooserOnlyDateAndTimeInputType::BaseChooserOnlyDateAndTimeInputType):
* html/BaseClickableWithKeyInputType.h:
(WebCore::BaseClickableWithKeyInputType::BaseClickableWithKeyInputType):
* html/BaseTextInputType.h:
(WebCore::BaseTextInputType::BaseTextInputType):
* html/ColorInputType.h:
(WebCore::ColorInputType::ColorInputType):
* html/DateInputType.h:
* html/DateTimeInputType.h:
(WebCore::DateTimeInputType::DateTimeInputType):
* html/DateTimeLocalInputType.h:
(WebCore::DateTimeLocalInputType::DateTimeLocalInputType):
* html/EmailInputType.h:
(WebCore::EmailInputType::EmailInputType):
* html/FileInputType.h:
* html/HiddenInputType.h:
(WebCore::HiddenInputType::HiddenInputType):
* html/ImageData.h:
* html/ImageInputType.h:
* html/InputType.h:
(WebCore::InputType::InputType):
* html/MediaController.h:
* html/MonthInputType.h:
(WebCore::MonthInputType::MonthInputType):
* html/RadioInputType.h:
(WebCore::RadioInputType::RadioInputType):
* html/RangeInputType.h:
* html/ResetInputType.h:
(WebCore::ResetInputType::ResetInputType):
* html/SearchInputType.h:
* html/SubmitInputType.h:
(WebCore::SubmitInputType::SubmitInputType):
* html/TelephoneInputType.h:
(WebCore::TelephoneInputType::TelephoneInputType):
* html/TextFieldInputType.h:
* html/TextInputType.h:
(WebCore::TextInputType::TextInputType):
* html/TimeInputType.h:
* html/URLInputType.h:
(WebCore::URLInputType::URLInputType):
* html/ValidationMessage.h:
* html/WeekInputType.h:
(WebCore::WeekInputType::WeekInputType):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154721 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Scrolling allowed when overflow:hidden (seen on Acid2)
https://bugs.webkit.org/show_bug.cgi?id=22769

Reviewed by Darin Adler.
Patch by Antonio Gomes <a1.gomes@sisa.samsung.com>

Source/WebCore:

Autoscroll, as well as other user-driven scroll actions,
has to respect the scrollability styled into the web page.
More specifically, if a html or body tags are styled with
overflow:hidden, autoscroll should not scroll the containing document.

In order to fix this, patch hardens RenderBox::canAutoscroll as
following: previously, ::canAutoscroll was relying solemnly in
::canBeScrolledAndHasScrollableArea to determine the scrollability
of #document node, which was unconditionally returned as 'true'.
Patch extends ::canAutoscroll to handle the #document case for
main and inner frames, and now it asks through ::isScrollable if
the corresponding document's FrameView is actually user-scrollable.

Note, that the patch change ::canAutoscroll to cover the non-mainFrame
now.

Test: fast/events/autoscroll-in-overflow-hidden-html.html

* rendering/RenderBox.cpp:
(WebCore::RenderBox::canAutoscroll):

LayoutTests:

Autoscroll'ing the mainframe's document is hard with the current
EventSender machinary. Because of that, patch adds an iframe's document test case.

* fast/events/autoscroll-in-overflow-hidden-html.html: Added.
* fast/events/resources/big-page-with-overflow-hidden-and-anchor-scroll.html: Added.

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