Allow default font size changing on Linux.
commitb48e1b8c1aaf9b9ea0f397b57e979ba4384a09e2
authorkochi <kochi@chromium.org>
Mon, 31 Aug 2015 07:32:29 +0000 (31 00:32 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 31 Aug 2015 07:33:02 +0000 (31 07:33 +0000)
treef543315386f52877659c1f2055dcc3a344857b21
parent4f7b881fc469476dfd9dbfe26d007d16045942d8
Allow default font size changing on Linux.

Currently base rendering font size on Linux is hardcoded to 16.0 with no possibility of changing it. This patch add such possibility in RendererPreferences.

Webkit part: https://codereview.chromium.org/570243002/

This was once landed and reverted:
https://codereview.chromium.org/549303004 (original)
https://codereview.chromium.org/1319613004 (revert)

due to unexpected default font size change.

Now this CL removes the problematic part to derive the default font
size from desktop environment.

BUG=525176
TBR=joleksy@opera.com, jochen@chromium.org, erg@chromium.org, jln@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#346353}
chrome/browser/resources/chromeos/chromevox/common/editable_text_area_shadow_test.unitjs
content/common/view_messages.h
content/public/common/renderer_preferences.cc
content/public/common/renderer_preferences.h
content/renderer/render_view_linux.cc