Invalid caret at the end of line in overtype mode

When using overtype mode in content editable content we usually replace the
caret by a block cursor that covers the next character to be replaced.
However at the end of lines we should show the 'normal' blinking caret. In
those cases we were incorrectly adding a selection block till the end of the
container of the editable content.

That's because we were using a complicated (and wrong) way to detect the end
of lines based on modifying the internal selection used by the overtype
mode. We now use the proper tools to detect the end of line detection which
also supports bidi text.

BUG=385003

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

git-svn-id: svn://svn.chromium.org/blink/trunk@180002 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix uploading with non deprecated master names.

deprecated_master would be referenced before assignment when
uploaded with the chromium.linux style master name.

TBR since I had to push this already to fix the broken push
and rolling back wasn't an option.

TBR=szager@chromium.org
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/blink/trunk@180003 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Revert r174133, r178901 and r178981 to fix Mac

There was a regression bug filed (bug 377445) shortly
after the original commit, however the author chose
not to revert, but rather instead attempt a fix.

The later of those fixes was marked not lgtm' by another
reviewer.

I'm rolling out the whole mess to unblock shipping M37.

R=eae
BUG=377445

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

git-svn-id: svn://svn.chromium.org/blink/trunk@180004 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Get rid of testlistjson query parameter.

This is an optimization to make it so that we don't have to send
the whole results.json file down since the JSONResultsGenerator
needs this to figure out which tests it can strip. The only code
left that uses this is the Android fork of this code, which needs
to go away. So, I'm not OK with keeping this special-cased code
in the generic test results server just for that.

Deleting the code means that the requests will get the full
results.json file instead of the one with the results and times
stripped out.

TBR because this is causing 500s on the live server and that
push can't be rolled back without breaking other things.

TBR=szager@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@180005 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Updated hover media feature to comply updated media queries spec

The spec (http://dev.w3.org/csswg/mediaqueries-4/#hover)  for the hover
media query has added keywords for the feature's value. This CL updates
the media query keywords to propertly parse and evaluate the feature;
however, it remains only sparsely implemented. The hover (and pointer)
media queries currently only produce non-false output for touchscreen
devices. The plumbing work to actually produce the correct results in
all cases will be done in a future CL.

BUG=136119

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

git-svn-id: svn://svn.chromium.org/blink/trunk@180006 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Delete RenderLayer::setHasVisibleContent

This function cleans out a single dirty bit in the RenderLayer tree without
cleaning the entire subtree, which breaks the invariant that dirty bits
represent are connected up to the root of the tree. Fortunately, this function
isn't needed any longer.

This CL also fixed a bug whereby we'd issue invalidations for the previous
location of an element that became visible. That can manifest as a bug if the
element moves after becoming visible or if the old rect exists in another
graphics layer.

R=esprehn@chromium.org, skobes@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@180007 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove unnecessary setNeedsCompositingUpdate(CompositingUpdateRebuildTree)

The RenderLayerCompositor can determine whether it needs to rebuild the tree.
We don't need to dirty this much state.

R=esprehn@chromium.org

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

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