Simplify the ShapeOutsideInfo and ShapeInfo interfaces

With the creation ShapeInfo::computeSegmentsForLine, it became possible
to simplify the ShapeInfo classes. ShapeOutsideInfo has no need to save
the segments, and now that segment creation is in its own method, it
doesn't have to save the segments anymore. This also simplifies the
public interface of ShapeOutsideInfo, as it only has one method to do
the computation.

Also, the methods in ShapeOutsideInfo have been renamed to reflect the
fact that ShapeOutsideInfo isn't really interested in segments.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@159501 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Cleanup string conversions in WebFrameTest.

WebString::utf8 now returns a std::string, so there's no need to construct a
new one from the pointer.

BUG=none

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

git-svn-id: svn://svn.chromium.org/blink/trunk@159502 bbb929c8-8fbe-4397-9dbb-9b2b20218538
URLUtils: Use ImplementedAs for toString

This is a second try. The first time the builders had some snafu

Original: https://src.chromium.org/viewvc/blink?revision=159476&view=revision
Revert:   https://src.chromium.org/viewvc/blink?revision=159477&view=revision

BUG=None
TBR=abarth@chromium.org

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

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