Add hittest mode for Touch-action which ignore inline elements and svg elements

Intoducing new HitTestRequest::TouchAction hit test type, which will be used
in Special hit testing for computing effective touch-action in eventhandler.

BUG=247396, 319479

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

git-svn-id: svn://svn.chromium.org/blink/trunk@168443 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Oilpan: Use weak pointers in StyleSheetContents caches.

This fixes use-after-free that could occur when StyleSheetContents
dies when an allocation happens during insertion of a new
StyleSheetContents. Using the built-in weak processing this will
not happen because the iterator used during insertion will keep
the StyleSheetContents alive.

R=erik.corry@gmail.com, haraken@chromium.org, vegorov@chromium.org
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/blink/trunk@168444 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Garden-o-matic: Fix rebaseline-json results handling

The rebaseline-json results are returned as a JSON object
with |return_code| and optional error |output| fields.

R=eseidel,dglazkov@chromium.org
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/blink/trunk@168446 bbb929c8-8fbe-4397-9dbb-9b2b20218538
TimelineFlameChart: draw parent bar with different color if there is a child on top of it.

BUG=348993
R=pfeldman@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@168447 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Make sure string passed to sendMessageToEmbedder is a valid unicode string

The message passed to the method is a result of JSON.stringify and may contain noncharacter unicode code points (http://www.unicode.org/faq/private_use.html#noncharacters). Since we know that the message is a JSON string we can use \uXXXX escape sequences for bad symbols. The function escapes not only noncharacters which produces valid output and allows to keep implementation simple.

BUG=347899
R=pfeldman@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@168448 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove textDirection parameter from min/maxLogicalWidth

Remove unnecessary textDirection parameter from the min/maxLogicalWidth
methods and computePreferredLogicalWidths and instead use the resolved
text directionality.

BUG=333004
R=dglazkov@chromium.org

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

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