IDL: Overload resolution for multiple argument lengths

CG change is very minor (main content is just changing the "incremental
switch" function), but this makes the overload resolution applicable
to many more cases.

After this it's just handling existing type cases (Array, Callback, etc.)
and optionality/variadic,
so I've made is_use_spec_algorithm() list *unsupported* cases,
not supported cases.

R=haraken
BUG=293561

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

git-svn-id: svn://svn.chromium.org/blink/trunk@173946 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add ids to make debugging easier.

These don't add anything to the test, but if you're using trace-to-console it
makes it a lot easier to identify which repaint call goes with which div.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@173947 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fixed race in initialization of pinch viewport's container layer size.

The PinchViewport gets its size from WebView::resize. However, in some
initialization paths the WebView gets sized prior to the PinchViewport
being attached to the layer tree so the inner viewport container layer
doesn't get resized until something triggers WebView to resize.

This fix sets the PinchViewport's size even if it hasn't been attached to
the layer tree  yet. It then sets the size of the container layer upon
attachment.

BUG=372018

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

git-svn-id: svn://svn.chromium.org/blink/trunk@173949 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Auto-rebaseline for r173939

http://src.chromium.org/viewvc/blink?view=revision&revision=173939

BUG=369009
TBR=loislo@chromium.org

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

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