Move RenderViewImpl code that configure WebSettings out to helper method

There's a bunch of code to parse CommandLine flags and set values on
WebSettings when initializing the RenderViewImpl and the WebView. To
make things more clear, put all of these out to a helper method that
accepts a WebSettings* so it's clear no use of WebView itself (or use
of the RenderWidget) is happening in them.

R=avi@chromium.org

Change-Id: I8dcf9d683c401fcdea5f814808dba795179f2254
Bug: 912193
Reviewed-on: https://chromium-review.googlesource.com/c/1407444
Commit-Queue: danakj <danakj@chromium.org>
Reviewed-by: Avi Drissman <avi@chromium.org>
Cr-Commit-Position: refs/heads/master@{#622888}
1 file changed