[DevTools] Merge InspectorFrontendClientImpl into WebDevToolsFrontendImpl and remove unused code.

BUG=none

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

git-svn-id: svn://svn.chromium.org/blink/trunk@180464 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove custom style building functions for 'clip'.

The property 'clip' is (with some modifications) compatible with the
apply_auto-properties.

Changes in this commit:

 * Use apply_auto + converter instead of custom building functions.
 * StyleVisualData::hasClip -> hasAutoClip (meaning reversed).
 * Remove unnecessary RenderStyle::setClip*-functions.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@180465 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Merge CompositedScrollingForFrames into PreferCompositingToLCDText

Remove the CompositedScrollingForFrames setting and change any callers
to use PreferCompositingToLCDText instead.

R=abarth
BUG=365851

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

git-svn-id: svn://svn.chromium.org/blink/trunk@180466 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: improve javascript formatter to support "return" properties.

The uglifier tokenizer, which is used under the hood in javascript
formatter, is not clever enough to figure out that the "return" word
in "a.return" is not a "return" statement, but identifier.
This patch works around this issue via verifying the token value after
regex to be a valid identifier.

BUG=218470
R=vsevik, apavlov

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

git-svn-id: svn://svn.chromium.org/blink/trunk@180467 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: remove eye dropper from behind experiment.

BUG=404375
R=vsevik@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@180468 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: support getters and setters in javascript outline

BUG=339798
R=vsevik, apavlov

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

git-svn-id: svn://svn.chromium.org/blink/trunk@180469 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Shape across HarfBuzz runs

Change HarfBuzzShaper to shape text across HarfBuzzRuns. This allows
for better handling of zero width joiners and is the first step towards
supporting shaping across elements.

Must land after change 167703008 as without that change it will cache
incorrect information due to the text string value no longer being
sufficient as shaping now includes contextual information from adjacent
runs.

R=behdad@chromium.org,leviw@chromium.org
BUG=345401
TEST=PerformanceTests/Layout/hindi-line-layout.html

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

git-svn-id: svn://svn.chromium.org/blink/trunk@180470 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Make logical height calculations on RenderView use unscaled FrameRect

RenderBox's methods for computing logical height would use
frameView()->visibleWidth() and visibleHeight() once they
reach the RenderView. These methods return the frame's
dimensions divided by the content scale factor (i.e. pinch-zoom).
This was causing problems in the linked bug since the method
would remove scrollbars before applying scale, causing the removed
scrollbar area to scale with the page. This CL changes the
occurances of visibleWidth/Height to unscaledVisibleContentSize().

BUG=362337

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

git-svn-id: svn://svn.chromium.org/blink/trunk@180471 bbb929c8-8fbe-4397-9dbb-9b2b20218538
[DevTools] Add Chrome for iOS user agent presets.

BUG=403289

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

git-svn-id: svn://svn.chromium.org/blink/trunk@180472 bbb929c8-8fbe-4397-9dbb-9b2b20218538
w3c deps roll for layout tests: upstream expectations for mediacapture-streams

This is patch 3 of 4.

TBR=phoglund@chromium.org, jsbell@chromium.org, cmumford@chromium.org
BUG=404303, 404305

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

git-svn-id: svn://svn.chromium.org/blink/trunk@180473 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Enable ASSERT in positionFromPaintInvalidationContainer

We are doing paint invalidations after compositing updates
so nothing blocks enabling it anymore.

BUG=360286

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

git-svn-id: svn://svn.chromium.org/blink/trunk@180474 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: Process correctly a disconnection during target initialization

BUG=
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/blink/trunk@180475 bbb929c8-8fbe-4397-9dbb-9b2b20218538
[DevTools] Change navigator.maxTouchPoints when emulating touch.

BUG=403876

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

git-svn-id: svn://svn.chromium.org/blink/trunk@180476 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix selection residue in sub-pixel positioned element

We are inconsistent when invalidating and painting sub-pixel positioned
selections. See the bug for details.

This change add back the enclosingIntRect() calls that were removed in
http://src.chromium.org/viewvc/blink?view=rev&revision=177408. This is
needed before we fix the inconsistency.

BUG=394698
TEST=editing/selection/subpixel-positioned-selection.html

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

git-svn-id: svn://svn.chromium.org/blink/trunk@180477 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove FIXME in StyleResolver::styleForElement

The action suggested in the FIXME has the downside of not doing
the right thing when the body has display set to none, as the
test shows. So remove the FIXME and keep the old behavior.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@180478 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: Use targetManager.inspectedPageUrl() instead of resourceTreeModel.inspectedPageUrl()

BUG=

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

git-svn-id: svn://svn.chromium.org/blink/trunk@180479 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: Add workerShadowPageLoaded method to shared/service worker clients for further plumbing into the browser.

This method is going to be used as a new signal for opening worker frontend when 'debug on start' option is enabled.

BUG=404355

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

git-svn-id: svn://svn.chromium.org/blink/trunk@180480 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Revert of Mark link-rel-prefetch-and-subresource flaky (patchset #1 of https://codereview.chromium.org/431153003/)

Reason for revert:
Bug fixed.

Original issue's description:
> Mark link-rel-prefetch-and-subresource flaky
> 
> TBR=alancutter@chromium.org
> NOTRY=true
> BUG=399459
> 
> Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=179348

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

git-svn-id: svn://svn.chromium.org/blink/trunk@180481 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove the CSS styling from sherrif-o-matic builder buttons that made them not look like links

BUG=400418
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/blink/trunk@180482 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Refactor ShapeOutsideInfo so it isn't mutated for each line

Encapsulate the per line state into a ShapeOutsideDeltas object.
updateDeltasForContainingBlockLine has been renamed to
computeDeltasForContainingBlockLine, and it returns an instance of the
ShapeOutsideDeltas object for that line.  This object is cached, but
none of the functionality of ShapeOutsideInfo is dependant on any line
specific data anymore.

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

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