Reland r148069 and r148060, which were reverted in r148231.

The only difference between this and what was landed previous is that this
CL keeps ResourceLoader::m_response, even though it is unused. Deleting
m_response causes a perf regression and is being tracked separately in
http://crbug.com/230225

BUG=none
TEST=none

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

git-svn-id: svn://svn.chromium.org/blink/trunk@148396 bbb929c8-8fbe-4397-9dbb-9b2b20218538
garden-o-matic doesn't handle non-ascii XML file

ReflectionHandler._serve_xml would throw an exception if the string
it was given (an XML document) contained a non-ascii character.

BUG=231412
Test=test_svn_log_non_ascii

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

git-svn-id: svn://svn.chromium.org/blink/trunk@148397 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix webkit unit test failure from r148395

Need to change test expectation for affected platforms.

R=jchaffraix@chromium.org
BUG=

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

git-svn-id: svn://svn.chromium.org/blink/trunk@148398 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove HTMLElement::adjustDirectionalityIfNeededAfterChildrenChanged

We can replace the complicated and broken adjustDirectionalityIfNeededAfterChildrenChanged
method with hooks on insertedInto and removedFrom to make HTMLElement's implementation
of the HTML5 dir=auto feature simpler. This old method had unreachable code that checked
childCountDelta < 0 and then had a loop with count = 0; count < childCountDelta; count++
so the loop never actually did anything.

After this patch we can replace childCountDelta with an enum with values ChildrenAdded and
ChildrenRemoved. There's no reason to keep track of the actual number as nothing actually
uses that value.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@148399 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Also removes unit tests for webkit.org, and now unused code.
Also fixes loader_unittests that were broken with temporary changes to get dashboards loading in blink world.

BUG=227245
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/blink/trunk@148400 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove non chromium ports code from DeprecatedPort

This removes the default to use the Mac port in the class.
One of the EWS tests was wrongly relying on this fallback
and was thus updated to use a recognized port string.

BUG=

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

git-svn-id: svn://svn.chromium.org/blink/trunk@148401 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Background/border style for input[type=search] doesn't work

We should use -webkit-appearance:none if background or border is specified to
input[type=search]. So RenderTheme::isControlStyled should return true in such
cases.

Also, NSSearchFieldCell in OSX supports only fixed sizes. We should use
-webkit-appearance:none if non-standard zoom value is specified.

Test changes:
Update fast/forms/search/search-appearance-basic.html, and merge fast/forms/search-styled.html and fast/css/text-input-with-webkit-border-radius.html into it.

BUG=101447
TEST=Automated. Covered by fast/forms/search/search-appearance-basic.html

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

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