nrwt: never finds binaries in the 'out' dir on chromium win
https://bugs.webkit.org/show_bug.cgi?id=91890

Reviewed by Tony Chang.

Attempt to fix this bug yet again; it turns out that --root and
--build-directory don't have the same meaning (--root should
include the configuration, --build-directory should not).

* Scripts/webkitpy/layout_tests/port/base.py:
(Port._build_path):
* Scripts/webkitpy/layout_tests/port/chromium.py:
(ChromiumPort._static_build_path):
(ChromiumPort.default_results_directory):
(ChromiumPort._build_path):
(ChromiumPort):
(ChromiumPort._build_path_with_configuration):
(ChromiumPort._build_path_with_configuration.does):
(ChromiumPort._path_to_image_diff):
* Scripts/webkitpy/layout_tests/port/chromium_android.py:
(ChromiumAndroidPort._build_path):
(ChromiumAndroidPort):
(ChromiumAndroidPort._build_path_with_configuration):
(ChromiumAndroidPort._path_to_driver):
(ChromiumAndroidPort._path_to_forwarder):
(ChromiumAndroidPort._push_executable):
(ChromiumAndroidPort._push_fonts):
* Scripts/webkitpy/layout_tests/port/chromium_linux.py:
(ChromiumLinuxPort._determine_driver_path_statically):
(ChromiumLinuxPort._modules_to_search_for_symbols):
(ChromiumLinuxPort._path_to_driver):
* Scripts/webkitpy/layout_tests/port/chromium_linux_unittest.py:
(ChromiumLinuxPortTest.test_build_path):
* Scripts/webkitpy/layout_tests/port/chromium_mac.py:
(ChromiumMacPort._modules_to_search_for_symbols):
(ChromiumMacPort._path_to_driver):
(ChromiumMacPort._path_to_helper):
* Scripts/webkitpy/layout_tests/port/chromium_mac_unittest.py:
(ChromiumMacPortTest.test_build_path):
* Scripts/webkitpy/layout_tests/port/chromium_win.py:
(ChromiumWinPort._path_to_driver):
(ChromiumWinPort._path_to_helper):
(ChromiumWinPort._path_to_image_diff):
* Scripts/webkitpy/layout_tests/port/chromium_win_unittest.py:
(ChromiumWinTest.test_build_path):
* Scripts/webkitpy/layout_tests/run_webkit_tests.py:
(parse_args):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123530 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed chromium expectations update from r123490.

* platform/chromium-mac-snowleopard/fast/hidpi/broken-image-icon-hidpi-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/hidpi/broken-image-with-size-hidpi-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/hidpi/clip-text-in-hidpi-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/hidpi/device-scale-factor-paint-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/hidpi/focus-rings-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/hidpi/image-set-as-background-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/hidpi/image-set-background-dynamic-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/hidpi/image-set-background-repeat-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/hidpi/image-set-background-repeat-without-size-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/hidpi/image-set-border-image-comparison-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/hidpi/image-set-border-image-dynamic-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/hidpi/image-set-border-image-simple-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/hidpi/image-set-in-content-dynamic-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/hidpi/image-set-out-of-order-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/hidpi/image-set-simple-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/hidpi/image-set-without-specified-width-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/hidpi/resize-corner-hidpi-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/hidpi/video-controls-in-hidpi-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/hidpi/video-controls-in-hidpi-expected.txt: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123532 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed, rolling out r123499.
http://trac.webkit.org/changeset/123499
https://bugs.webkit.org/show_bug.cgi?id=92161

Android fails to compile (Requested by zhenyao on #webkit).

Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-07-24

Source/Platform: 

* chromium/public/WebMediaStreamDescriptor.h:
(WebMediaStreamDescriptor):
* chromium/public/WebMediaStreamSource.h:
(WebMediaStreamSource):

Source/WebCore: 

* GNUmakefile.list.am:
* Modules/mediastream/MediaStream.cpp:
(WebCore::MediaStream::MediaStream):
(WebCore::MediaStream::addTrack):
* Modules/mediastream/MediaStreamTrack.cpp:
(WebCore::MediaStreamTrack::create):
(WebCore::MediaStreamTrack::MediaStreamTrack):
(WebCore::MediaStreamTrack::~MediaStreamTrack):
(WebCore::MediaStreamTrack::setEnabled):
* Modules/mediastream/MediaStreamTrack.h:
(MediaStreamTrack):
* Modules/mediastream/MediaStreamTrack.idl:
* WebCore.gypi:
* dom/EventNames.h:
(WebCore):
* dom/EventTargetFactory.in:
* platform/chromium/support/WebMediaStreamDescriptor.cpp:
(WebKit):
(WebKit::WebMediaStreamDescriptor::sources):
* platform/chromium/support/WebMediaStreamSource.cpp:
* platform/mediastream/MediaStreamSource.cpp: Removed.
* platform/mediastream/MediaStreamSource.h:
(WebCore::MediaStreamSource::create):
(WebCore::MediaStreamSource::muted):
(WebCore::MediaStreamSource::setMuted):
(WebCore::MediaStreamSource::MediaStreamSource):
(MediaStreamSource):
* platform/mediastream/chromium/MediaStreamCenterChromium.cpp:
(WebCore::MediaStreamCenterChromium::queryMediaStreamSources):
(WebCore::MediaStreamCenterChromium::didCreateMediaStream):

Source/WebKit/chromium: 

* src/AssertMatchingEnums.cpp:

Tools: 

* DumpRenderTree/DumpRenderTree.gypi:
* DumpRenderTree/chromium/MockWebKitPlatformSupport.cpp:
(MockWebKitPlatformSupport::createMediaStreamCenter):
* DumpRenderTree/chromium/MockWebKitPlatformSupport.h:
(MockWebKitPlatformSupport):
* DumpRenderTree/chromium/MockWebMediaStreamCenter.cpp: Removed.
* DumpRenderTree/chromium/MockWebMediaStreamCenter.h: Removed.

LayoutTests: 

* fast/mediastream/MediaStreamTrack-expected.txt: Removed.
* fast/mediastream/MediaStreamTrack.html: Removed.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123533 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Add per-context setting for html notifications
https://bugs.webkit.org/show_bug.cgi?id=91295

Reviewed by Adam Barth.

Source/WebCore:

Added a new per-context setting to control the enabling of html notifications.
For chromium port, we're going to disable html notifications for web
pages, but still keep it enabled for extensions.

Also enhance V8 code generator to support V8EnabledPerContext attribute
for methods.

Updated the binding tests.

* Modules/notifications/NotificationCenter.cpp:
(WebCore::NotificationCenter::document): Expose document for being used by installPerContextProperties.
(WebCore):
* Modules/notifications/NotificationCenter.h:
(NotificationCenter):
* Modules/notifications/NotificationCenter.idl: Add V8EnabledPerContext attribute.
* bindings/scripts/CodeGeneratorV8.pm: V8EnabledPerContext now supports methods.
(GenerateHeader):
(IsStandardFunction):
(GenerateNonStandardFunction):
(GenerateImplementation):
(GenerateToV8Converters):
(GetContextEnableFunction):
* bindings/scripts/test/TestObj.idl: Add test case for V8EnabledPerContext methods.
* bindings/scripts/test/V8/V8TestObj.cpp: Update test result.
(WebCore::TestObjV8Internal::enabledAtContextMethod1Callback):
(TestObjV8Internal):
(WebCore::TestObjV8Internal::enabledAtContextMethod2Callback):
(WebCore::V8TestObj::installPerContextProperties):
(WebCore::V8TestObj::wrapSlow):
* dom/ContextFeatures.cpp: Add a new per-context feature.
(WebCore::ContextFeatures::htmlNotificationsEnabled):
(WebCore):
* dom/ContextFeatures.h: Add a new per-context feature.

Source/WebKit/chromium:

Add new per-context feature for chromium port.

* public/WebPermissionClient.h:
(WebPermissionClient):
(WebKit::WebPermissionClient::allowHTMLNotifications):
* src/ContextFeaturesClientImpl.cpp:
(WebKit::ContextFeaturesClientImpl::askIfIsEnabled):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123535 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Clear the external characters pointer of an AtomicHTMLToken before the raw token is cleared.
https://bugs.webkit.org/show_bug.cgi?id=92056

Reviewed by Adam Barth.

AtomicHTMLToken keeps a pointer to the HTMLToken's buffer instead of copying the
characters for performance. Clear the external characters pointer before the raw token
is cleared to make sure that we won't have a dangling pointer.

No new tests - no functional changes.

* html/parser/HTMLTreeBuilder.cpp:
(WebCore::HTMLTreeBuilder::constructTreeFromToken):
* xml/parser/MarkupTokenBase.h:
(WebCore::AtomicMarkupTokenBase::clearExternalCharacters):
(AtomicMarkupTokenBase):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123536 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Ensure Noah's ark without reading the DOM tree.
https://bugs.webkit.org/show_bug.cgi?id=92065

Reviewed by Adam Barth.

Technically we shouldn't read attributes back from the DOM. If JavaScript changes
the attributes values, we could get a slightly wrong output here.

Read attributes from tokens saved in the active formatting element list.

No new tests, covered by existing tests.

* html/parser/HTMLFormattingElementList.cpp:
(WebCore::attributeCount):
(WebCore::HTMLFormattingElementList::append):
(WebCore::HTMLFormattingElementList::tryToEnsureNoahsArkConditionQuickly):
(WebCore::HTMLFormattingElementList::ensureNoahsArkCondition):
* html/parser/HTMLFormattingElementList.h:
(HTMLFormattingElementList):
* html/parser/HTMLStackItem.h:
(WebCore::HTMLStackItem::localName):
(HTMLStackItem):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123537 268f45cc-cd09-0410-ab3c-d52691b4dbfc
make test-webkitpy at least kinda work in parallel on win32
https://bugs.webkit.org/show_bug.cgi?id=91700

Reviewed by Adam Barth.

This change makes the hoop-jumping we have to do to make running
new-run-webkit-tests in parallel on win32 generic so that we can
re-use it for test-webkitpy as well.

* Scripts/new-run-webkit-tests:
* Scripts/test-webkitpy:
* Scripts/webkitpy/common/multiprocessing_bootstrap.py: Copied from Tools/Scripts/new-run-webkit-tests.
(run):
* Scripts/webkitpy/test/main.py:
(main):
(Tester._log_exception):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123538 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed chromium expectations change stop ignoring fast/hidpi changes.

* platform/chromium/TestExpectations:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123540 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed, rolling out r123504.
http://trac.webkit.org/changeset/123504
https://bugs.webkit.org/show_bug.cgi?id=92169

broke a bunch of text-related tests in chromium mac debug
(Requested by zhenyao on #webkit).

Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-07-24

* platform/text/cf/StringCF.cpp:
(WTF::String::createCFString):
* platform/text/cf/StringImplCF.cpp:
(WTF::StringImpl::createCFString):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123541 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Remove an invalid assertion introduced in r123536. Unreviewed.

* xml/parser/MarkupTokenBase.h:
(WebCore::AtomicMarkupTokenBase::clearExternalCharacters):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123542 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Windows build fix attempt.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123543 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WinCairo build fix attempt.

* win/WebKit2CFLite.def:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123544 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[EFL][WK2] Add unit tests for custom text encoding setting
https://bugs.webkit.org/show_bug.cgi?id=91983

Patch by Sudarsana Nagineni <sudarsana.nagineni@linux.intel.com> on 2012-07-24
Reviewed by Dirk Pranke.

Add unit tests for get and set custom text encoding methods. Also, fix
a style nit for r123177.

* UIProcess/API/efl/ewk_view.cpp:
(ewk_view_setting_encoding_custom_set): Fix a style nit - add newline
before return.
* UIProcess/API/efl/tests/test_ewk2_view.cpp:
(TEST_F):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123545 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[JSBinding] Merging jsUnsignedLongArrayToVector() to toNativeArray() using traits.
https://bugs.webkit.org/show_bug.cgi?id=90381

Patch by Vineet Chaudhary <rgf748@motorola.com> on 2012-07-24
Reviewed by Kentaro Hara.

We can remove jsUnsignedLongArrayToVector() implementaion
merging it to current and toNativeArray() traits.

Tests: TestObj.idl
There should be no behavoiral changes as just refactoring.

* Modules/vibration/NavigatorVibration.idl: Use sequence<T> as method param than T[]
* bindings/js/JSDOMBinding.cpp: Moved toJSSequence() to header file.
* bindings/js/JSDOMBinding.h:
(WebCore::toJSSequence): Moved toJSSequence() to header file.
(WebCore::jsArray): Renamed Traits to JSValueTraits
(WebCore::toNativeArray): Using traits.
* bindings/js/JSDictionary.cpp:
(WebCore::JSDictionary::convertValue):
* bindings/js/JSMessagePortCustom.cpp:
(WebCore::fillMessagePortArray):
* bindings/scripts/CodeGeneratorJS.pm: Removed unsigned long[] specific binding code.
(AddIncludesForType):
(GenerateParametersCheckExpression):
(JSValueToNative):
(NativeToJSValue):
* bindings/scripts/CodeGeneratorV8.pm:
(GenerateParametersCheckExpression): Added check sequence<T> check for overloaded methods.
* bindings/scripts/test/JS/JSTestObj.cpp: Rebased binding test.
(WebCore::jsTestObjPrototypeFunctionOverloadedMethod10):
(WebCore::jsTestObjPrototypeFunctionOverloadedMethod):
(WebCore::jsTestObjPrototypeFunctionMethodWithUnsignedLongSequence):
* bindings/scripts/test/JS/JSTestObj.h: Rebased binding test.
* bindings/scripts/test/TestObj.idl: Added test for sequence<T> as method parameter.
* bindings/scripts/test/V8/V8TestObj.cpp: Rebased binding test.
(WebCore::TestObjV8Internal::overloadedMethod10Callback):
(TestObjV8Internal):
(WebCore::TestObjV8Internal::overloadedMethodCallback):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123546 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed, rolling out r123191.
http://trac.webkit.org/changeset/123191
https://bugs.webkit.org/show_bug.cgi?id=91804

It might cause another performance regression.
http://code.google.com/p/chromium/issues/detail?id=138410

* html/FormController.cpp:
(FormKeyGenerator):
(WebCore::createKey):
(WebCore::FormKeyGenerator::formKey):
(WebCore::FormKeyGenerator::willDeleteForm):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123547 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[V8] Correct WebIDL type should be used in the testing IDL file
https://bugs.webkit.org/show_bug.cgi?id=92168

Reviewed by Kentaro Hara.

Updated bindings test.

* bindings/scripts/test/GObject/WebKitDOMTestObj.cpp:
(webkit_dom_test_obj_strict_function):
* bindings/scripts/test/GObject/WebKitDOMTestObj.h:
* bindings/scripts/test/JS/JSTestObj.cpp:
(WebCore::jsTestObjPrototypeFunctionStrictFunction):
* bindings/scripts/test/TestObj.idl:
* bindings/scripts/test/V8/V8TestObj.cpp:
(WebCore::TestObjV8Internal::enabledAtRuntimeMethod1Callback):
(WebCore::TestObjV8Internal::enabledAtRuntimeMethod2Callback):
(WebCore::TestObjV8Internal::enabledPerContextMethod1Callback):
(WebCore::TestObjV8Internal::enabledPerContextMethod2Callback):
(WebCore::TestObjV8Internal::strictFunctionCallback):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123550 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Qt] fast/block/float needs rebaseline after new test fonts
https://bugs.webkit.org/show_bug.cgi?id=92150

Patch by Luciano Wolf <luciano.wolf@openbossa.org> on 2012-07-24
Reviewed by Alexis Menard.

* platform/qt-5.0-wk1/Skipped:
* platform/qt-5.0-wk2/Skipped:
* platform/qt-5.0/Skipped:
* platform/qt/fast/block/float/001-expected.txt:
* platform/qt/fast/block/float/002-expected.png:
* platform/qt/fast/block/float/002-expected.txt:
* platform/qt/fast/block/float/003-expected.png:
* platform/qt/fast/block/float/003-expected.txt:
* platform/qt/fast/block/float/004-expected.png:
* platform/qt/fast/block/float/004-expected.txt:
* platform/qt/fast/block/float/005-expected.png:
* platform/qt/fast/block/float/005-expected.txt:
* platform/qt/fast/block/float/006-expected.png:
* platform/qt/fast/block/float/006-expected.txt:
* platform/qt/fast/block/float/007-expected.png:
* platform/qt/fast/block/float/007-expected.txt:
* platform/qt/fast/block/float/010-expected.png:
* platform/qt/fast/block/float/010-expected.txt:
* platform/qt/fast/block/float/011-expected.png:
* platform/qt/fast/block/float/011-expected.txt:
* platform/qt/fast/block/float/012-expected.png:
* platform/qt/fast/block/float/012-expected.txt:
* platform/qt/fast/block/float/013-expected.png:
* platform/qt/fast/block/float/013-expected.txt:
* platform/qt/fast/block/float/014-expected.png:
* platform/qt/fast/block/float/014-expected.txt:
* platform/qt/fast/block/float/015-expected.png:
* platform/qt/fast/block/float/015-expected.txt:
* platform/qt/fast/block/float/016-expected.png:
* platform/qt/fast/block/float/016-expected.txt:
* platform/qt/fast/block/float/017-expected.png:
* platform/qt/fast/block/float/017-expected.txt:
* platform/qt/fast/block/float/018-expected.png:
* platform/qt/fast/block/float/018-expected.txt:
* platform/qt/fast/block/float/020-expected.png:
* platform/qt/fast/block/float/020-expected.txt:
* platform/qt/fast/block/float/021-expected.png:
* platform/qt/fast/block/float/021-expected.txt:
* platform/qt/fast/block/float/022-expected.png:
* platform/qt/fast/block/float/022-expected.txt:
* platform/qt/fast/block/float/023-expected.png:
* platform/qt/fast/block/float/023-expected.txt:
* platform/qt/fast/block/float/024-expected.png:
* platform/qt/fast/block/float/024-expected.txt:
* platform/qt/fast/block/float/025-expected.png:
* platform/qt/fast/block/float/025-expected.txt:
* platform/qt/fast/block/float/027-expected.png:
* platform/qt/fast/block/float/027-expected.txt:
* platform/qt/fast/block/float/029-expected.png:
* platform/qt/fast/block/float/029-expected.txt:
* platform/qt/fast/block/float/030-expected.png:
* platform/qt/fast/block/float/030-expected.txt:
* platform/qt/fast/block/float/031-expected.png:
* platform/qt/fast/block/float/031-expected.txt:
* platform/qt/fast/block/float/032-expected.png:
* platform/qt/fast/block/float/032-expected.txt:
* platform/qt/fast/block/float/avoidance-percent-width-compat-expected.png: Added.
* platform/qt/fast/block/float/avoidance-percent-width-compat-expected.txt:
* platform/qt/fast/block/float/avoidance-percent-width-strict-expected.png:
* platform/qt/fast/block/float/avoidance-percent-width-strict-expected.txt:
* platform/qt/fast/block/float/avoiding-float-centered-expected.png:
* platform/qt/fast/block/float/avoiding-float-centered-expected.txt:
* platform/qt/fast/block/float/br-with-clear-expected.txt:
* platform/qt/fast/block/float/centered-float-avoidance-complexity-expected.png:
* platform/qt/fast/block/float/centered-float-avoidance-complexity-expected.txt:
* platform/qt/fast/block/float/clamped-right-float-expected.png:
* platform/qt/fast/block/float/clamped-right-float-expected.txt:
* platform/qt/fast/block/float/clear-element-too-wide-for-containing-block-expected.png:
* platform/qt/fast/block/float/clear-element-too-wide-for-containing-block-expected.txt:
* platform/qt/fast/block/float/dynamic-unfloat-pref-width-expected.png:
* platform/qt/fast/block/float/dynamic-unfloat-pref-width-expected.txt:
* platform/qt/fast/block/float/editable-text-overlapping-float-expected.png:
* platform/qt/fast/block/float/editable-text-overlapping-float-expected.txt:
* platform/qt/fast/block/float/fit_line_below_floats-expected.png:
* platform/qt/fast/block/float/fit_line_below_floats-expected.txt:
* platform/qt/fast/block/float/float-avoidance-expected.png:
* platform/qt/fast/block/float/float-avoidance-expected.txt:
* platform/qt/fast/block/float/float-in-float-hit-testing-expected.png:
* platform/qt/fast/block/float/float-in-float-hit-testing-expected.txt:
* platform/qt/fast/block/float/float-in-float-painting-expected.png:
* platform/qt/fast/block/float/float-in-float-painting-expected.txt:
* platform/qt/fast/block/float/floats-and-text-indent-expected.png:
* platform/qt/fast/block/float/floats-and-text-indent-expected.txt:
* platform/qt/fast/block/float/floats-and-text-indent-rl-expected.png:
* platform/qt/fast/block/float/floats-and-text-indent-rl-expected.txt:
* platform/qt/fast/block/float/intruding-float-add-in-sibling-block-on-static-position-expected.txt:
* platform/qt/fast/block/float/intruding-float-add-in-sibling-block-on-static-position2-expected.txt:
* platform/qt/fast/block/float/intruding-float-remove-from-sibling-block-on-absolute-position-expected.txt:
* platform/qt/fast/block/float/intruding-float-remove-from-sibling-block-on-absolute-position2-expected.txt:
* platform/qt/fast/block/float/intruding-float-remove-from-sibling-block-on-fixed-position-expected.txt:
* platform/qt/fast/block/float/intruding-float-remove-from-sibling-block-on-fixed-position2-expected.txt:
* platform/qt/fast/block/float/intruding-painted-twice-expected.png:
* platform/qt/fast/block/float/intruding-painted-twice-expected.txt:
* platform/qt/fast/block/float/marquee-shrink-to-avoid-floats-expected.png:
* platform/qt/fast/block/float/marquee-shrink-to-avoid-floats-expected.txt:
* platform/qt/fast/block/float/multiple-float-positioning-expected.png:
* platform/qt/fast/block/float/multiple-float-positioning-expected.txt:
* platform/qt/fast/block/float/nested-clearance-expected.png:
* platform/qt/fast/block/float/nested-clearance-expected.txt:
* platform/qt/fast/block/float/nestedAnonymousBlocks-expected.png:
* platform/qt/fast/block/float/nestedAnonymousBlocks-expected.txt:
* platform/qt/fast/block/float/nestedAnonymousBlocks2-expected.png:
* platform/qt/fast/block/float/nestedAnonymousBlocks2-expected.txt:
* platform/qt/fast/block/float/nopaint-after-layer-destruction-expected.png:
* platform/qt/fast/block/float/nopaint-after-layer-destruction-expected.txt:
* platform/qt/fast/block/float/nopaint-after-layer-destruction2-expected.png:
* platform/qt/fast/block/float/nopaint-after-layer-destruction2-expected.txt:
* platform/qt/fast/block/float/overhanging-after-height-decrease-expected.png:
* platform/qt/fast/block/float/overhanging-after-height-decrease-expected.txt:
* platform/qt/fast/block/float/overhanging-float-add-in-static-position-block-expected.txt:
* platform/qt/fast/block/float/overhanging-float-add-in-static-position-block2-expected.txt:
* platform/qt/fast/block/float/overhanging-float-remove-from-absolute-position-block-expected.txt:
* platform/qt/fast/block/float/overhanging-float-remove-from-absolute-position-block2-expected.txt:
* platform/qt/fast/block/float/overhanging-float-remove-from-fixed-position-block-expected.png:
* platform/qt/fast/block/float/overhanging-float-remove-from-fixed-position-block-expected.txt:
* platform/qt/fast/block/float/overhanging-float-remove-from-fixed-position-block2-expected.png:
* platform/qt/fast/block/float/overhanging-float-remove-from-fixed-position-block2-expected.txt:
* platform/qt/fast/block/float/overhanging-tall-block-expected.txt:
* platform/qt/fast/block/float/overlapping-floats-with-overflow-hidden-expected.png:
* platform/qt/fast/block/float/overlapping-floats-with-overflow-hidden-expected.txt:
* platform/qt/fast/block/float/shrink-to-avoid-float-complexity-expected.png:
* platform/qt/fast/block/float/shrink-to-avoid-float-complexity-expected.txt:
* platform/qt/fast/block/float/shrink-to-fit-width-expected.png:
* platform/qt/fast/block/float/shrink-to-fit-width-expected.txt:
* platform/qt/fast/block/float/table-relayout-expected.png:
* platform/qt/fast/block/float/table-relayout-expected.txt:
* platform/qt/fast/block/float/vertical-move-relayout-expected.png:
* platform/qt/fast/block/float/vertical-move-relayout-expected.txt:
* platform/qt/fast/block/float/width-update-after-clear-expected.png:
* platform/qt/fast/block/float/width-update-after-clear-expected.txt:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123551 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Qt] fast/block/positioning rebaseline after new test fonts
https://bugs.webkit.org/show_bug.cgi?id=92174

Unreviewed.

* platform/qt-5.0-wk2/Skipped:
* platform/qt-5.0/Skipped:
* platform/qt/fast/block/positioning/003-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-lr/001-expected.png.
* platform/qt/fast/block/positioning/004-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-lr/001-expected.png.
* platform/qt/fast/block/positioning/005-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-rl/001-expected.png.
* platform/qt/fast/block/positioning/006-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-rl/001-expected.png.
* platform/qt/fast/block/positioning/007-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-lr/001-expected.png.
* platform/qt/fast/block/positioning/008-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-lr/001-expected.png.
* platform/qt/fast/block/positioning/009-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-rl/001-expected.png.
* platform/qt/fast/block/positioning/010-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-rl/001-expected.png.
* platform/qt/fast/block/positioning/011-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-rl/001-expected.png.
* platform/qt/fast/block/positioning/012-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-rl/001-expected.png.
* platform/qt/fast/block/positioning/013-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-rl/001-expected.png.
* platform/qt/fast/block/positioning/014-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-lr/001-expected.png.
* platform/qt/fast/block/positioning/015-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-rl/001-expected.png.
* platform/qt/fast/block/positioning/016-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-rl/001-expected.png.
* platform/qt/fast/block/positioning/017-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-lr/001-expected.png.
* platform/qt/fast/block/positioning/018-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-lr/001-expected.png.
* platform/qt/fast/block/positioning/019-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-lr/001-expected.png.
* platform/qt/fast/block/positioning/020-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-rl/001-expected.png.
* platform/qt/fast/block/positioning/021-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-rl/001-expected.png.
* platform/qt/fast/block/positioning/022-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-rl/001-expected.png.
* platform/qt/fast/block/positioning/023-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-rl/001-expected.png.
* platform/qt/fast/block/positioning/024-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-rl/001-expected.png.
* platform/qt/fast/block/positioning/025-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-rl/001-expected.png.
* platform/qt/fast/block/positioning/026-expected.png: Added.
* platform/qt/fast/block/positioning/027-expected.png: Added.
* platform/qt/fast/block/positioning/028-expected.png: Added.
* platform/qt/fast/block/positioning/029-expected.png: Added.
* platform/qt/fast/block/positioning/030-expected.png: Added.
* platform/qt/fast/block/positioning/031-expected.png: Added.
* platform/qt/fast/block/positioning/032-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-rl/001-expected.png.
* platform/qt/fast/block/positioning/033-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-rl/001-expected.png.
* platform/qt/fast/block/positioning/034-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-rl/001-expected.png.
* platform/qt/fast/block/positioning/035-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-lr/001-expected.png.
* platform/qt/fast/block/positioning/036-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-rl/001-expected.png.
* platform/qt/fast/block/positioning/037-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-rl/001-expected.png.
* platform/qt/fast/block/positioning/038-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-lr/001-expected.png.
* platform/qt/fast/block/positioning/039-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-lr/001-expected.png.
* platform/qt/fast/block/positioning/040-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-lr/001-expected.png.
* platform/qt/fast/block/positioning/041-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-rl/001-expected.png.
* platform/qt/fast/block/positioning/042-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-rl/001-expected.png.
* platform/qt/fast/block/positioning/043-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-lr/001-expected.png.
* platform/qt/fast/block/positioning/044-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-rl/001-expected.png.
* platform/qt/fast/block/positioning/045-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-rl/001-expected.png.
* platform/qt/fast/block/positioning/046-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-lr/001-expected.png.
* platform/qt/fast/block/positioning/047-expected.png:
* platform/qt/fast/block/positioning/047-expected.txt:
* platform/qt/fast/block/positioning/048-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-rl/001-expected.png.
* platform/qt/fast/block/positioning/050-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-rl/001-expected.png.
* platform/qt/fast/block/positioning/052-expected.txt:
* platform/qt/fast/block/positioning/053-expected.png:
* platform/qt/fast/block/positioning/053-expected.txt:
* platform/qt/fast/block/positioning/054-expected.txt:
* platform/qt/fast/block/positioning/055-expected.png:
* platform/qt/fast/block/positioning/055-expected.txt:
* platform/qt/fast/block/positioning/057-expected.png:
* platform/qt/fast/block/positioning/057-expected.txt:
* platform/qt/fast/block/positioning/058-expected.png:
* platform/qt/fast/block/positioning/058-expected.txt:
* platform/qt/fast/block/positioning/059-expected.png:
* platform/qt/fast/block/positioning/059-expected.txt:
* platform/qt/fast/block/positioning/060-expected.png:
* platform/qt/fast/block/positioning/060-expected.txt:
* platform/qt/fast/block/positioning/061-expected.txt:
* platform/qt/fast/block/positioning/062-expected.png: Added.
* platform/qt/fast/block/positioning/abs-inside-inline-rel-expected.png:
* platform/qt/fast/block/positioning/abs-inside-inline-rel-expected.txt:
* platform/qt/fast/block/positioning/absolute-in-inline-ltr-3-expected.png:
* platform/qt/fast/block/positioning/absolute-in-inline-ltr-3-expected.txt:
* platform/qt/fast/block/positioning/absolute-in-inline-short-ltr-expected.png:
* platform/qt/fast/block/positioning/absolute-in-inline-short-ltr-expected.txt:
* platform/qt/fast/block/positioning/absolute-in-inline-short-rtl-expected.png:
* platform/qt/fast/block/positioning/absolute-in-inline-short-rtl-expected.txt:
* platform/qt/fast/block/positioning/absolute-length-of-neg-666666-expected.png:
* platform/qt/fast/block/positioning/absolute-length-of-neg-666666-expected.txt:
* platform/qt/fast/block/positioning/absolute-position-direction-expected.png:
* platform/qt/fast/block/positioning/absolute-position-direction-expected.txt:
* platform/qt/fast/block/positioning/absolute-positioned-overconstrained-expected.png:
* platform/qt/fast/block/positioning/absolute-positioned-overconstrained-expected.txt:
* platform/qt/fast/block/positioning/absolute-positioning-no-scrollbar-expected.png: Added.
* platform/qt/fast/block/positioning/absolute-positioning-no-scrollbar-expected.txt:
* platform/qt/fast/block/positioning/absolute-with-html-border-quirks-expected.png:
* platform/qt/fast/block/positioning/absolute-with-html-border-quirks-expected.txt:
* platform/qt/fast/block/positioning/absolute-with-html-border-strict-expected.png:
* platform/qt/fast/block/positioning/absolute-with-html-border-strict-expected.txt:
* platform/qt/fast/block/positioning/auto-height-with-top-and-bottom-expected.png:
* platform/qt/fast/block/positioning/auto-height-with-top-and-bottom-expected.txt:
* platform/qt/fast/block/positioning/auto/001-expected.png:
* platform/qt/fast/block/positioning/auto/001-expected.txt:
* platform/qt/fast/block/positioning/auto/002-expected.png:
* platform/qt/fast/block/positioning/auto/002-expected.txt:
* platform/qt/fast/block/positioning/auto/003-expected.png:
* platform/qt/fast/block/positioning/auto/003-expected.txt:
* platform/qt/fast/block/positioning/auto/004-expected.png:
* platform/qt/fast/block/positioning/auto/004-expected.txt:
* platform/qt/fast/block/positioning/auto/005-expected.png:
* platform/qt/fast/block/positioning/auto/005-expected.txt:
* platform/qt/fast/block/positioning/auto/006-expected.png:
* platform/qt/fast/block/positioning/auto/006-expected.txt:
* platform/qt/fast/block/positioning/auto/007-expected.png:
* platform/qt/fast/block/positioning/auto/007-expected.txt:
* platform/qt/fast/block/positioning/auto/vertical-lr/001-expected.png:
* platform/qt/fast/block/positioning/auto/vertical-lr/001-expected.txt:
* platform/qt/fast/block/positioning/auto/vertical-lr/002-expected.png:
* platform/qt/fast/block/positioning/auto/vertical-lr/002-expected.txt:
* platform/qt/fast/block/positioning/auto/vertical-lr/003-expected.png:
* platform/qt/fast/block/positioning/auto/vertical-lr/003-expected.txt:
* platform/qt/fast/block/positioning/auto/vertical-lr/004-expected.png:
* platform/qt/fast/block/positioning/auto/vertical-lr/004-expected.txt:
* platform/qt/fast/block/positioning/auto/vertical-lr/005-expected.png:
* platform/qt/fast/block/positioning/auto/vertical-lr/005-expected.txt:
* platform/qt/fast/block/positioning/auto/vertical-lr/006-expected.png:
* platform/qt/fast/block/positioning/auto/vertical-lr/006-expected.txt:
* platform/qt/fast/block/positioning/auto/vertical-lr/007-expected.png:
* platform/qt/fast/block/positioning/auto/vertical-lr/007-expected.txt:
* platform/qt/fast/block/positioning/auto/vertical-rl/001-expected.png:
* platform/qt/fast/block/positioning/auto/vertical-rl/001-expected.txt:
* platform/qt/fast/block/positioning/auto/vertical-rl/002-expected.png:
* platform/qt/fast/block/positioning/auto/vertical-rl/002-expected.txt:
* platform/qt/fast/block/positioning/auto/vertical-rl/003-expected.png:
* platform/qt/fast/block/positioning/auto/vertical-rl/003-expected.txt:
* platform/qt/fast/block/positioning/auto/vertical-rl/004-expected.png:
* platform/qt/fast/block/positioning/auto/vertical-rl/004-expected.txt:
* platform/qt/fast/block/positioning/auto/vertical-rl/005-expected.png:
* platform/qt/fast/block/positioning/auto/vertical-rl/005-expected.txt:
* platform/qt/fast/block/positioning/auto/vertical-rl/006-expected.png:
* platform/qt/fast/block/positioning/auto/vertical-rl/006-expected.txt:
* platform/qt/fast/block/positioning/auto/vertical-rl/007-expected.png:
* platform/qt/fast/block/positioning/auto/vertical-rl/007-expected.txt:
* platform/qt/fast/block/positioning/child-of-absolute-with-auto-height-expected.png:
* platform/qt/fast/block/positioning/child-of-absolute-with-auto-height-expected.txt:
* platform/qt/fast/block/positioning/differing-writing-modes-expected.png:
* platform/qt/fast/block/positioning/differing-writing-modes-expected.txt:
* platform/qt/fast/block/positioning/differing-writing-modes-replaced-expected.png:
* platform/qt/fast/block/positioning/differing-writing-modes-replaced-expected.txt:
* platform/qt/fast/block/positioning/fixed-positioning-scrollbar-bug-expected.png:
* platform/qt/fast/block/positioning/fixed-positioning-scrollbar-bug-expected.txt:
* platform/qt/fast/block/positioning/height-change-expected.png:
* platform/qt/fast/block/positioning/height-change-expected.txt:
* platform/qt/fast/block/positioning/hiding-inside-relpositioned-inline-expected.png:
* platform/qt/fast/block/positioning/hiding-inside-relpositioned-inline-expected.txt:
* platform/qt/fast/block/positioning/inline-block-relposition-expected.png:
* platform/qt/fast/block/positioning/inline-block-relposition-expected.txt:
* platform/qt/fast/block/positioning/leftmargin-topmargin-expected.png:
* platform/qt/fast/block/positioning/leftmargin-topmargin-expected.txt:
* platform/qt/fast/block/positioning/negative-right-pos-expected.png:
* platform/qt/fast/block/positioning/negative-right-pos-expected.txt:
* platform/qt/fast/block/positioning/padding-percent-expected.png:
* platform/qt/fast/block/positioning/padding-percent-expected.txt:
* platform/qt/fast/block/positioning/pref-width-change-expected.txt:
* platform/qt/fast/block/positioning/relative-overconstrained-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-lr/001-expected.png.
* platform/qt/fast/block/positioning/relative-overflow-block-expected.png:
* platform/qt/fast/block/positioning/relative-overflow-block-expected.txt:
* platform/qt/fast/block/positioning/relative-overflow-replaced-expected.png:
* platform/qt/fast/block/positioning/relative-overflow-replaced-expected.txt:
* platform/qt/fast/block/positioning/relative-overflow-replaced-float-expected.png:
* platform/qt/fast/block/positioning/relative-overflow-replaced-float-expected.txt:
* platform/qt/fast/block/positioning/relayout-on-position-change-expected.png:
* platform/qt/fast/block/positioning/relayout-on-position-change-expected.txt:
* platform/qt/fast/block/positioning/replaced-inside-fixed-top-bottom-expected.png:
* platform/qt/fast/block/positioning/rtl-fixed-positioning-expected.png:
* platform/qt/fast/block/positioning/rtl-static-positioning-expected.png:
* platform/qt/fast/block/positioning/rtl-static-positioning-expected.txt:
* platform/qt/fast/block/positioning/rtl-static-positioning-inline-block-expected.png:
* platform/qt/fast/block/positioning/rtl-static-positioning-inline-block-expected.txt:
* platform/qt/fast/block/positioning/static-distance-with-positioned-ancestor-expected.png:
* platform/qt/fast/block/positioning/static-distance-with-positioned-ancestor-expected.txt:
* platform/qt/fast/block/positioning/table-cell-static-position-expected.png:
* platform/qt/fast/block/positioning/table-cell-static-position-expected.txt:
* platform/qt/fast/block/positioning/trailing-space-test-expected.png:
* platform/qt/fast/block/positioning/trailing-space-test-expected.txt:
* platform/qt/fast/block/positioning/vertical-lr/001-expected.png:
* platform/qt/fast/block/positioning/vertical-lr/001-expected.txt:
* platform/qt/fast/block/positioning/vertical-rl/001-expected.png:
* platform/qt/fast/block/positioning/vertical-rl/001-expected.txt:
* platform/qt/fast/block/positioning/vertical-rl/fixed-positioning-expected.png:
* platform/qt/fast/block/positioning/window-height-change-expected.png:
* platform/qt/fast/block/positioning/window-height-change-expected.txt:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123552 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[chromium] Add time spent painting to GPU benchmarking renderingStats() API.
https://bugs.webkit.org/show_bug.cgi?id=90019

Patch by Dave Tu <dtu@chromium.org> on 2012-07-24
Reviewed by Adrienne Walker.

Source/Platform:

* chromium/public/WebRenderingStats.h:
(WebRenderingStats):
(WebKit::WebRenderingStats::WebRenderingStats):

Source/WebCore:

* platform/graphics/chromium/BitmapCanvasLayerTextureUpdater.cpp:
(WebCore::BitmapCanvasLayerTextureUpdater::prepareToUpdate):
* platform/graphics/chromium/BitmapCanvasLayerTextureUpdater.h:
(BitmapCanvasLayerTextureUpdater):
* platform/graphics/chromium/BitmapSkPictureCanvasLayerTextureUpdater.cpp:
(WebCore::BitmapSkPictureCanvasLayerTextureUpdater::Texture::prepareRect):
(WebCore::BitmapSkPictureCanvasLayerTextureUpdater::prepareToUpdate):
(WebCore::BitmapSkPictureCanvasLayerTextureUpdater::paintContentsRect):
* platform/graphics/chromium/BitmapSkPictureCanvasLayerTextureUpdater.h:
(Texture):
(BitmapSkPictureCanvasLayerTextureUpdater):
* platform/graphics/chromium/CanvasLayerTextureUpdater.cpp:
(WebCore::CanvasLayerTextureUpdater::paintContents):
* platform/graphics/chromium/CanvasLayerTextureUpdater.h:
(CanvasLayerTextureUpdater):
* platform/graphics/chromium/ContentLayerChromium.cpp:
(WebCore::ContentLayerChromium::update):
* platform/graphics/chromium/ContentLayerChromium.h:
(ContentLayerChromium):
* platform/graphics/chromium/ImageLayerChromium.cpp:
(WebCore::ImageLayerChromium::update):
* platform/graphics/chromium/ImageLayerChromium.h:
(ImageLayerChromium):
* platform/graphics/chromium/LayerChromium.h:
(WebCore):
(WebCore::LayerChromium::update):
* platform/graphics/chromium/LayerTextureUpdater.h:
(WebCore):
(WebCore::LayerTextureUpdater::Texture::prepareRect):
(WebCore::LayerTextureUpdater::prepareToUpdate):
* platform/graphics/chromium/ScrollbarLayerChromium.cpp:
(WebCore::ScrollbarLayerChromium::updatePart):
(WebCore::ScrollbarLayerChromium::update):
* platform/graphics/chromium/ScrollbarLayerChromium.h:
(ScrollbarLayerChromium):
* platform/graphics/chromium/SkPictureCanvasLayerTextureUpdater.cpp:
(WebCore::SkPictureCanvasLayerTextureUpdater::prepareToUpdate):
* platform/graphics/chromium/SkPictureCanvasLayerTextureUpdater.h:
(SkPictureCanvasLayerTextureUpdater):
* platform/graphics/chromium/TiledLayerChromium.cpp:
(WebCore::TiledLayerChromium::updateTiles):
(WebCore::TiledLayerChromium::updateContentRect):
* platform/graphics/chromium/TiledLayerChromium.h:
(TiledLayerChromium):
* platform/graphics/chromium/cc/CCLayerTreeHost.cpp:
(WebCore::CCLayerTreeHost::CCLayerTreeHost):
(WebCore::CCLayerTreeHost::updateAnimations):
(WebCore::CCLayerTreeHost::renderingStats):
(WebCore::CCLayerTreeHost::paintMasksForRenderSurface):
(WebCore::CCLayerTreeHost::paintLayerContents):
* platform/graphics/chromium/cc/CCLayerTreeHost.h:
(WebCore):
(CCLayerTreeHost):
* platform/graphics/chromium/cc/CCRenderingStats.h:
(CCRenderingStats):
(WebCore::CCRenderingStats::CCRenderingStats):

Source/WebKit/chromium:

* src/WebLayerTreeView.cpp:
(WebKit::WebLayerTreeView::renderingStats):
* tests/CCLayerTreeHostTest.cpp:
* tests/CCTiledLayerTestCommon.cpp:
(WebKitTests::FakeLayerTextureUpdater::Texture::prepareRect):
(WebKitTests::FakeTiledLayerChromium::update):
* tests/CCTiledLayerTestCommon.h:
(Texture):
(FakeTiledLayerChromium):
* tests/Canvas2DLayerBridgeTest.cpp:
* tests/ContentLayerChromiumTest.cpp:
(WebKit::TEST):
* tests/TiledLayerChromiumTest.cpp:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123553 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Chromium] Support scrolling and zooming to focused input elements
https://bugs.webkit.org/show_bug.cgi?id=91661

Reviewed by Darin Fisher.

This patch introduces saveScrollAndScaleState and
restoreScrollAndScaleState, which can be used to save and restore the
scroll and scale state of the WebView, respectively.  These functions
will be used by Chromium on Android to save the scale and scrolls state
before zoom into a text field so that we can "undo" the zoom if the
user didn't mean to zoom into the text field.

I wanted to write unit tests for these functions, but it wasn't clear
to me how to write the test because startPageScaleAnimation appears to
complete asynchronously.

* public/WebView.h:
(WebView):
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::WebViewImpl):
(WebKit::WebViewImpl::saveScrollAndScaleState):
(WebKit):
(WebKit::WebViewImpl::restoreScrollAndScaleState):
(WebKit::WebViewImpl::resetSavedScrollAndScaleState):
(WebKit::WebViewImpl::didCommitLoad):
* src/WebViewImpl.h:
(WebViewImpl):


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