DescriptionShunt string-dumping functions from WebFrame to a side class.
Functions like contentAsText, contentAsMarkup, and layoutTreeAsText
did not seem like they belong on the WebFrame (especially in the
OOPIF world), so I moved them over to a special utility class, called
WebFrameContentDumper.
This allowed to remove a few virtual stubs from a WebFrame subclasses
and made it more clear that these methods are mostly suitable for
testing. Also caught http://crbug.com/584798 in the process.
Ideally, no production code should be using WebFrameContentDumper.
But that's another story for another day.
Also removed markerTextForListItem, which doesn't seem to be used by anything.
R=jochen@chromium.org,nasko
BUG=
Committed: https://crrev.com/032234908562551b3d774c99a4e4498b3ec6d44d
Cr-Commit-Position: refs/heads/master@{#374201}
Patch Set 1 #Patch Set 2 : Fix compile. #Patch Set 3 : Whoops, exports. #
Total comments: 2
Patch Set 4 : Added/updated TODOs. #Messages
Total messages: 29 (13 generated)
|