Auto-rebaseline for r179702

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

BUG=369942
TBR=ed@opera.com

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

git-svn-id: svn://svn.chromium.org/blink/trunk@179712 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Revert of Add a force-layout-height-to-zero layout mode to WebViewImpl (https://codereview.chromium.org/382543003/)

Reason for revert:
Breaks WebKit Android (Nexus4)
http://build.chromium.org/p/chromium.webkit/builders/WebKit%20Android%20%28Nexus4%29/builds/17772

C   75.423s Main  [FAIL] WebFrameTest.SetForceZeroLayoutHeight:
C   75.423s Main  ../../third_party/WebKit/Source/web/tests/WebFrameTest.cpp:1396: Failure
C   75.423s Main  Value of: webViewHelper.webViewImpl()->mainFrameImpl()->frameView()->layoutSize().height()
C   75.423s Main    Actual: 735
C   75.423s Main  Expected: viewportHeight
C   75.423s Main  Which is: 480

Original issue's description:
> Add a force-layout-height-to-zero layout mode to WebViewImpl
> 
> This makes it possible for the android_webview to implement
> 'wrap_content' mode for the view's height without completely ignoring
> the viewport meta tag (like it's doing now).
> 
> BUG=392460
> 
> Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=179705

TBR=mkosiba@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@179713 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix segfault reported by ClusterFuzz.

BUG=401414

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

git-svn-id: svn://svn.chromium.org/blink/trunk@179715 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Autocomplete confused about direction if inline style and inherited dir attribute are mixed.

Both text box and autocomplete should have same direction i.e when the input box has a direction LTR, then autocomplete popup should also have the same direction
and vice-versa.

The present logic goes for finding dir attribute on the element and its parent which is the reason for autocomplete's incorrect direction when inline style and
inherited dir attribute are mixed. Now, we use renderStyle associated with a particular element to find out the direction (this takes into account both the
effect of dir attribute as well as the inline style).

BUG=397831
TBR=tkent@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@179716 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Lock parallel writes to log file.

Lock the logging proxy's log file so that simultaneous writers don't clobber each other.

Man page for the PHP function in question: http://php.net/manual/en/function.file-put-contents.php

I'm hoping that this will fix a flaky prefetch test (the bug below) on windows machines in which not all of the prefetched files appear in the resulting log.

The flaky test calls the log function 5 times in parallel here: https://code.google.com/p/chromium/codesearch#chromium/src/third_party/WebKit/LayoutTests/http/tests/misc/link-rel-prefetch-and-subresource.html&q=link-rel-prefetch-and-subresource&sq=package:chromium&type=cs&l=60

BUG=399459

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

git-svn-id: svn://svn.chromium.org/blink/trunk@179718 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add platform methods to check reserved IP addresses.

This patch adds two methods to Platform which will allow us to improve
mixed content checking by determining whether SecurityOrigins and URLs
point to IP addresses that are reserved (e.g. 127.0.0.1, 192.168.0.1).

BUG=378566

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

git-svn-id: svn://svn.chromium.org/blink/trunk@179719 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add --write-full-results-to for compatibility w/ other python harnesses.

Eventually we'll want run-webkit-tests to reuse all of the json result
generating and uploading code that the other harnesses will use. This
at least will ensure we support the same command line flags so that we
can make this be a PythonBasedTest in the chromium.Steps in build recipes.

R=ojan@chromium.org, ivandavid@chromium.org
BUG=none

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

git-svn-id: svn://svn.chromium.org/blink/trunk@179720 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: Extract RootView into "ui"

This is required to eliminate the WI.Toolbox -> "components" dependency

R=dgozman, vsevik
BUG=391566

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

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