Improve text-underline-position memory usage https://code.google.com/p/chromium/issues/detail?id=242191

Remove m_maxLogicalTop private variable from RootInlineBox to reduce
the overall memory used to render RootInlineBoxes (eight bytes per RootInlineBox
instance in a 64-bit machine). RootInline::maxLogicalTop() now computes
the maxLogicalTop value everytime it is called. In a typical page
computeMaxLogicalTop is called less than 10 times for each
InlineTextBox that uses text-underline-position. That is a small
price users of text-underline-position will pay so that
everybody can benefit from the memory reduction in RootInlineBox.

BUG=242191

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

git-svn-id: svn://svn.chromium.org/blink/trunk@150794 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Unify cookie handling in InspectorInstrumentation::willProcessRule/willMatchRule

BUG=232160

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

git-svn-id: svn://svn.chromium.org/blink/trunk@150795 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Assimilated InspectorInstrumentation::didFinishLoading implementation

BUG=232160

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

git-svn-id: svn://svn.chromium.org/blink/trunk@150796 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Revert "Refactor viewport initialization logic out of WebViewImpl."

http://src.chromium.org/viewvc/blink?revision=150743&view=revision
broke CrOS and two Android WebView tests when rolled into Chromium.

See http://build.chromium.org/p/chromium.webkit/builders/Android%20Tests%20%28dbg%29/builds/8811
for details of the Android breakage, and http://build.chromium.org/p/chromium.win/builders/Interactive%20Tests%20%28dbg%29/builds/37766
for the WebViewInteractiveTest.PointerLock breakage.

> Refactor viewport initialization logic out of WebViewImpl.
>
> This centralizes and brings some structure to viewport initialization,
> expressing it as a cascade of constraints expressed as
> ViewportAttributes objects.  When any of the constraints changes, a
> dirty bit is set, and the page scale factor and fixed-layout size is
> recalculated on the next layout.
>
> This refactor mostly maintains existing behavior, but also includes two bugfixes
> (with new tests for them):
> 1. Page scale is now reset to minimum when the content width increases,
> even if it was reset in the past.
> 2. setIgnoreViewportTagMaximumScale now also ignores the minimum (I'll
> need to rename this WebKit API)> .
>
> NOTRY=true
> BUG=176998,161695,165688
>
> Review URL: https://chromiumcodereview.appspot.com/14813025

BUG=242526
TBR=aelias@chromium.org,jchaffraix@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@150797 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Assimilated InspectorInstrumentation::willRemoveDOMNode implementation

BUG=232160

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

git-svn-id: svn://svn.chromium.org/blink/trunk@150798 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Assimilated InspectorInstrumentation::didDispatchDOMStorageEvent implementation

BUG=232160
TBR=pfeldman

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

git-svn-id: svn://svn.chromium.org/blink/trunk@150800 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Reorder agent calls in InspectorInstrumentation::willRecalculateStyle to simplify code generation

BUG=232160

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

git-svn-id: svn://svn.chromium.org/blink/trunk@150802 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Assimilated InspectorInstrumentation::didPushShadowRoot/willPopShadowRoot implementations

BUG=232160

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

git-svn-id: svn://svn.chromium.org/blink/trunk@150803 bbb929c8-8fbe-4397-9dbb-9b2b20218538
add WebIDBKey::MinType to Platform API

This is in preparation for a code move to chromium, to make it
compatible with chromium's IndexedDBKey

BUG=234278
R=abarth@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@150804 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Refactor shadow rendering logic to take better advantage of the SkDrawLooper abstraction in Skia. Change text-shadow to use this newly added WebCore::DrawLooper.

A quick synthetic web page which exercises text with multiple text-shadows suggests that doing this is a significant performance win (with impl-side painting, this benefits main thread record time the most). See bug for details.

A clip which unnecessary removed 1px from the border of some shadows was affected; affected layout tests will need re-baselining.

BUG=240297

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

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