Revert 159282 "Refactor fixed layout mode"

> Refactor fixed layout mode
>
> Previously, the desktop browser would use FrameView's rect
> as the layout size while the mobile browser would enable
> "fixed layout mode" which then used a layoutSize variable
> that it could set instead.
>
> This CL removes "fixed layout mode" as a FrameView concept
> and makes the layout size always an explicitly set property
> of the main FrameView. Another way to think about it is that
> we're now always in a fixed-layout, only we keep
> the layout size pegged to the window size (if the
> --enable-viewport flag is set, the layout size is set from
> @viewport/viewport meta).
>
> Note: WebViewImpl still has a setFixedLayoutSize method
> that's used by Android WebView.
>
> This patch relands https://codereview.chromium.org/23819019/
> which caused an autosize related browser test break.
>
> BUG=285397
>
> Review URL: https://codereview.chromium.org/26546006

BUG=306096
R=ojan@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@159687 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Avoid livelock for a contended spinlock.

I intend to replace the inc/dec based lock primitive with an atomic-test-and-set
primitive but for now, put out the fire.

BUG=270531
R=tsepez@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@159688 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Enable the SVG GlobalEventHandlers test

I forgot this in a previous commit. It turns out that SVGSVGElement
forwards some of these properties to window, which broke the tests,
so use a SVGRectElement for testing instead.

BUG=305112

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

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