Update parent layout when child frame requests innerHeight/innerWidth.

The child frame dimensions may depend on the parent frame's layout. So
we need to update the parent frame's layout when the child asks for
innerHeight or innerWidth.

Without this patch, the test case incorrectly returns 0 for the
innerHeight/innerWidth queriers prior to the forced layout.

BUG=258175

Review URL: https://chromiumcodereview.appspot.com/19272007

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

To avoid direct use of static_cast, this patch introduces toHTMLCanvasElement for code cleanup.

Review URL: https://chromiumcodereview.appspot.com/19315005

git-svn-id: svn://svn.chromium.org/blink/trunk@154293 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Minor clean-ups to StyleBuilder code

Various small clean-ups to the StyleBuilder:

- Change apply_value_length to a switch statement. I might end up moving
all the generated StyleBuilderFunctions function definitions to
StyleBuilderFunctions later, but I haven't decided how exactly this
should end up looking.

- Use CSSPrimitiveValue->convertToLength instead of manually doing the
conversion for length and border-radius property handlers.
The flag FixedIntegerConversion seems like a misnomer, it calls
computeLength<Length>() for lenghts while FixedFloatConversion calls
Length(computeLength<double>()), the only difference being that the
former will clamp to {min,max}ValueForCssLength. Perhaps we don't need
both options?

- Move marquee-increment handling to StyleBuilderCustom. I put this one
in the wrong place by accident initially.

- Remove extraneous use_none for min-height. I accidentally added this
when moving length properties over. The parser won't allow none so the
generated branch is never taken.

- Rename apply_{value,initial,inherit} to declare_*_function.

BUG=237400

Review URL: https://chromiumcodereview.appspot.com/19326002

git-svn-id: svn://svn.chromium.org/blink/trunk@154294 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix typo in StyleResolverState.h

Introduced in https://src.chromium.org/viewvc/blink?view=rev&revision=154076

Causes a crash when using DevTools in Android WebView, see b/9854659

R=dglazkov@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@154295 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Follow up to replacing v8String calls with v8SetReturnValueString.

This should've been done in https://codereview.chromium.org/18336004/ and was
somehow missed by https://chromiumcodereview.appspot.com/18106005/ .

BUG=236290
R=ch.dumez@sisa.samsung.com, haraken@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@154296 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Support anti-breakpoint on backend

Review URL: https://chromiumcodereview.appspot.com/18780003

git-svn-id: svn://svn.chromium.org/blink/trunk@154297 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Enable message delivering in inspector-protocol tests when on pause

Review URL: https://chromiumcodereview.appspot.com/18729002

git-svn-id: svn://svn.chromium.org/blink/trunk@154298 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Removing unneeded expectations.

TBR=ojan@chromium.org

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

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