Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(144)

Issue 21983002: Add a pref for a one-time wipe of gesture prefs (Closed)

Created:
7 years, 4 months ago by mohsen
Modified:
7 years, 4 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

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 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=216775

Patch Set 1 #

Total comments: 9

Patch Set 2 : Applied reviews #

Total comments: 2

Patch Set 3 : Updated comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -0 lines) Patch
M chrome/browser/ui/gesture_prefs_observer_factory_aura.cc View 1 2 2 chunks +31 lines, -0 lines 0 comments Download
M chrome/common/pref_names.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/pref_names.cc View 1 2 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
mohsen
Please take a look...
7 years, 4 months ago (2013-08-02 20:58:25 UTC) #1
Bernhard Bauer
https://codereview.chromium.org/21983002/diff/1/chrome/browser/ui/gesture_prefs_observer_factory_aura.cc File chrome/browser/ui/gesture_prefs_observer_factory_aura.cc (right): https://codereview.chromium.org/21983002/diff/1/chrome/browser/ui/gesture_prefs_observer_factory_aura.cc#newcode157 chrome/browser/ui/gesture_prefs_observer_factory_aura.cc:157: prefs->ClearPref(kPrefsToObserve[i]); Could you do this only if the pref ...
7 years, 4 months ago (2013-08-02 22:18:40 UTC) #2
mohsen
https://codereview.chromium.org/21983002/diff/1/chrome/browser/ui/gesture_prefs_observer_factory_aura.cc File chrome/browser/ui/gesture_prefs_observer_factory_aura.cc (right): https://codereview.chromium.org/21983002/diff/1/chrome/browser/ui/gesture_prefs_observer_factory_aura.cc#newcode157 chrome/browser/ui/gesture_prefs_observer_factory_aura.cc:157: prefs->ClearPref(kPrefsToObserve[i]); On 2013/08/02 22:18:40, Bernhard Bauer wrote: > Could ...
7 years, 4 months ago (2013-08-07 05:58:04 UTC) #3
Bernhard Bauer
https://codereview.chromium.org/21983002/diff/1/chrome/browser/ui/gesture_prefs_observer_factory_aura.cc File chrome/browser/ui/gesture_prefs_observer_factory_aura.cc (right): https://codereview.chromium.org/21983002/diff/1/chrome/browser/ui/gesture_prefs_observer_factory_aura.cc#newcode157 chrome/browser/ui/gesture_prefs_observer_factory_aura.cc:157: prefs->ClearPref(kPrefsToObserve[i]); On 2013/08/07 05:58:04, mohsen wrote: > On 2013/08/02 ...
7 years, 4 months ago (2013-08-07 06:01:42 UTC) #4
mohsen
cc'ing rbyers@ as he might have some thoughts here. https://codereview.chromium.org/21983002/diff/1/chrome/browser/ui/gesture_prefs_observer_factory_aura.cc File chrome/browser/ui/gesture_prefs_observer_factory_aura.cc (right): https://codereview.chromium.org/21983002/diff/1/chrome/browser/ui/gesture_prefs_observer_factory_aura.cc#newcode157 chrome/browser/ui/gesture_prefs_observer_factory_aura.cc:157: ...
7 years, 4 months ago (2013-08-07 16:28:11 UTC) #5
Bernhard Bauer
LGTM https://codereview.chromium.org/21983002/diff/1/chrome/browser/ui/gesture_prefs_observer_factory_aura.cc File chrome/browser/ui/gesture_prefs_observer_factory_aura.cc (right): https://codereview.chromium.org/21983002/diff/1/chrome/browser/ui/gesture_prefs_observer_factory_aura.cc#newcode157 chrome/browser/ui/gesture_prefs_observer_factory_aura.cc:157: prefs->ClearPref(kPrefsToObserve[i]); On 2013/08/07 16:28:11, mohsen wrote: > On ...
7 years, 4 months ago (2013-08-07 16:43:51 UTC) #6
mohsen
pkasting@: for OWNERS in chrome/browser/ui/, please.
7 years, 4 months ago (2013-08-07 17:00:42 UTC) #7
Rick Byers
On 2013/08/07 16:43:51, Bernhard Bauer wrote: > LGTM > > https://codereview.chromium.org/21983002/diff/1/chrome/browser/ui/gesture_prefs_observer_factory_aura.cc > File chrome/browser/ui/gesture_prefs_observer_factory_aura.cc (right): ...
7 years, 4 months ago (2013-08-07 17:20:08 UTC) #8
Peter Kasting
LGTM https://codereview.chromium.org/21983002/diff/8001/chrome/browser/ui/gesture_prefs_observer_factory_aura.cc File chrome/browser/ui/gesture_prefs_observer_factory_aura.cc (right): https://codereview.chromium.org/21983002/diff/8001/chrome/browser/ui/gesture_prefs_observer_factory_aura.cc#newcode154 chrome/browser/ui/gesture_prefs_observer_factory_aura.cc:154: // Do a one-time wipe of all gesture ...
7 years, 4 months ago (2013-08-09 19:03:54 UTC) #9
mohsen
https://codereview.chromium.org/21983002/diff/8001/chrome/browser/ui/gesture_prefs_observer_factory_aura.cc File chrome/browser/ui/gesture_prefs_observer_factory_aura.cc (right): https://codereview.chromium.org/21983002/diff/8001/chrome/browser/ui/gesture_prefs_observer_factory_aura.cc#newcode154 chrome/browser/ui/gesture_prefs_observer_factory_aura.cc:154: // Do a one-time wipe of all gesture preferences. ...
7 years, 4 months ago (2013-08-09 20:12:34 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mohsen@chromium.org/21983002/20001
7 years, 4 months ago (2013-08-09 20:15:13 UTC) #11
commit-bot: I haz the power
Retried try job too often on linux_chromeos for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_chromeos&number=144410
7 years, 4 months ago (2013-08-09 21:33:32 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mohsen@chromium.org/21983002/20001
7 years, 4 months ago (2013-08-09 21:46:09 UTC) #13
commit-bot: I haz the power
7 years, 4 months ago (2013-08-09 23:23:13 UTC) #14
Message was sent while issue was closed.
Change committed as 216775

Powered by Google App Engine
This is Rietveld 408576698