Disable the font size control when the font size prefs are not user modifiable.
commit889879407cf984e459aeb67b73f273b43fed0ea7
authorfalken@chromium.org <falken@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 22 May 2013 15:27:35 +0000 (22 15:27 +0000)
committerfalken@chromium.org <falken@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 22 May 2013 15:27:35 +0000 (22 15:27 +0000)
tree34e0f42f03448a78bdc72361e066709d4c1120cb
parent1e6128a2ca5ea324135cb5c7ea1648b75520ca0e
Disable the font size control when the font size prefs are not user modifiable.

In chrome://settings, the "Font size" <select> control actually sets two
preferences: the default font size and the default fixed font size. This commit
disables the element when either of those prefs is not user modifiable.

BUG=165114

Review URL: https://chromiumcodereview.appspot.com/14672012

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201528 0039d316-1c4b-4281-b951-d872f2087c98
chrome/browser/resources/options/browser_options.html
chrome/browser/resources/options/browser_options.js
chrome/browser/ui/webui/options/browser_options_handler.cc
chrome/browser/ui/webui/options/browser_options_handler.h