Move Custom Filter files (with no dependencies on core) from core/... to platform/...

To make the move, I had to had to make a few changes:
(1) Add cpp files for previously header-only classes, so they would be compiled in the platform DLL and available to the core DLL. Those include CustomFilterProgramClient, CustomFilterArrayParameter, and CustomFilterNumberParameter.

(2) Don't use wtf::Vector as a base class for CustomFilterParameterList to make it easier to export. Instead, add a wtf::Vector member to CustomFilterParameterList and forwarding functions for at(), size(), append(), sortParametersByName().

(3) Make CustomFilterParameterList::checkAlphabeticalOrder private and behind NDEBUG because it's only used in asserts. Remove a call to it from CustomFilterOperation::CustomFilterOperation, since the asserts in CustomFilterParameterList::blend are sufficient.

(4) Change the name of some constants from UNDERSCORES_AND_CAPS to CamelCase to pass new style rules.

BUG=303332

Review URL: https://codereview.chromium.org/45873002

git-svn-id: svn://svn.chromium.org/blink/trunk@161097 bbb929c8-8fbe-4397-9dbb-9b2b20218538
scrollTop and scrollLeft always 0 in DOMContentLoaded handler on a scrolled page

Currently, when performing a "back" navigation, the scroll position
is restored at the time the first layout happens (see FrameLoader::didFirstLayout).
If that does not go through, another attempt to restore the scroll position
is made when the frame completes loading (see FrameLoader::checkLoadCompleteForThisFrame).

In a closer look, one might notice that in the later, not only the "back" navigation
case is covered, but also "reload".

Patch makes these two attempts of restore the scroll position to operate under the
same circumstances: back and reload.

Apart from bringing them in pair, it also makes it possible to query the scroll
position at the time DOMContentLoaded fires, as Gecko and Presto engines do.

Test: fast/loader/scroll-position-restored-on-reload-at-load-event.html
        fast/loader/scroll-position-restored-on-back-at-load-event.html
R=Nate Chapin
BUG=290895

Review URL: https://codereview.chromium.org/52893003

git-svn-id: svn://svn.chromium.org/blink/trunk@161098 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Get rid of unused global variables in HTMLIdentifier.cpp

Get rid of unused global variables in HTMLIdentifier.cpp. Those were passed to
HTMLIdentifier::addNames() but that method was not doing anything with it.

R=adamk

Review URL: https://codereview.chromium.org/46803005

git-svn-id: svn://svn.chromium.org/blink/trunk@161099 bbb929c8-8fbe-4397-9dbb-9b2b20218538