Add a pref for a one-time wipe of gesture prefs
commit227835b276ef54dc2e7cc748303c61a8627a8cd8
authormohsen@chromium.org <mohsen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 9 Aug 2013 23:23:10 +0000 (9 23:23 +0000)
committermohsen@chromium.org <mohsen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 9 Aug 2013 23:23:10 +0000 (9 23:23 +0000)
tree6a5fb7b8135f44abedd161924177e83614f15567
parent1fbaf06f6c4982ba86aa7b3a67cb585b1038d942
Add a pref for a one-time wipe of gesture prefs

Because of a bug in the gesture config UI (chrome://gesture), whenever a
user tried to reset a gesture preference to default, the preference was
set to whatever the default value of the preference was at that time,
instead of unsetting the preference. This bug is now fixed, but many
users may have unintentionally set their gesture preferences to the
default values.

A temporary preference is introduced to unset all gesture preferences
once.  This preference will be removed in a proper time in future when
we think that a good portion of users have their gesture preferences
unset.

BUG=251858

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@216775 0039d316-1c4b-4281-b951-d872f2087c98
chrome/browser/ui/gesture_prefs_observer_factory_aura.cc
chrome/common/pref_names.cc
chrome/common/pref_names.h