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

Issue 11233049: Splits shelf alignment and auto-hide behavior into two values, one (Closed)

Created:
8 years, 2 months ago by sky
Modified:
8 years, 1 month ago
CC:
chromium-reviews, sadrul, ben+watch_chromium.org
Visibility:
Public.

Description

Splits shelf alignment and auto-hide behavior into two values, one synced and one not synced. On first login to a machine the local value is initialized to the synced value. Changes made on the local machine set both places. This gives the effect that new machines get an initial value from the last set value, but changes made don't effect any existing machines the user is using. BUG=139256 TEST=see bug R=bauerb@chromium.org Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=163758

Patch Set 1 #

Patch Set 2 : Tweaks #

Total comments: 6

Patch Set 3 : Remove unneeded calls #

Total comments: 3

Patch Set 4 : Merge to trunk #

Patch Set 5 : Merge to trunk attempt 2 #

Patch Set 6 : Upload attempt 3 #

Patch Set 7 : gr! #

Unified diffs Side-by-side diffs Delta from patch set Stats (+136 lines, -12 lines) Patch
M chrome/browser/prefs/pref_model_associator.h View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/prefs/pref_model_associator.cc View 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/prefs/pref_service.h View 1 2 3 4 chunks +16 lines, -0 lines 0 comments Download
M chrome/browser/prefs/pref_service.cc View 1 2 3 2 chunks +18 lines, -0 lines 0 comments Download
A chrome/browser/prefs/pref_service_observer.h View 1 1 chunk +17 lines, -0 lines 0 comments Download
M chrome/browser/ui/ash/chrome_launcher_prefs.cc View 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/ui/ash/launcher/chrome_launcher_controller.h View 1 2 3 3 chunks +6 lines, -1 line 0 comments Download
M chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc View 1 2 3 10 chunks +57 lines, -9 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/pref_names.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/common/pref_names.cc View 1 2 3 1 chunk +8 lines, -2 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
sky
Bernhard, could you review this one? Tim, I added you since I believe this is ...
8 years, 2 months ago (2012-10-23 00:24:21 UTC) #1
Bernhard Bauer
http://codereview.chromium.org/11233049/diff/2001/chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc File chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc (right): http://codereview.chromium.org/11233049/diff/2001/chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc#newcode137 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc:137: // from |synced_path| is copied to |local_path|. Why do ...
8 years, 2 months ago (2012-10-23 11:21:25 UTC) #2
sky
http://codereview.chromium.org/11233049/diff/2001/chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc File chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc (right): http://codereview.chromium.org/11233049/diff/2001/chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc#newcode137 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc:137: // from |synced_path| is copied to |local_path|. On 2012/10/23 ...
8 years, 1 month ago (2012-10-23 14:54:33 UTC) #3
Bernhard Bauer
http://codereview.chromium.org/11233049/diff/2001/chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc File chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc (right): http://codereview.chromium.org/11233049/diff/2001/chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc#newcode137 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc:137: // from |synced_path| is copied to |local_path|. On 2012/10/23 ...
8 years, 1 month ago (2012-10-23 15:31:50 UTC) #4
sky
http://codereview.chromium.org/11233049/diff/2001/chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc File chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc (right): http://codereview.chromium.org/11233049/diff/2001/chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc#newcode790 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc:790: MaybePropagatePrefToLocal(profile_->GetPrefs(), On 2012/10/23 15:31:50, Bernhard Bauer wrote: > ...do ...
8 years, 1 month ago (2012-10-23 15:53:27 UTC) #5
sky
New snapshot uploaded.
8 years, 1 month ago (2012-10-23 15:53:33 UTC) #6
Bernhard Bauer
LGTM
8 years, 1 month ago (2012-10-23 16:05:56 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sky@chromium.org/11233049/7001
8 years, 1 month ago (2012-10-23 17:02:23 UTC) #8
commit-bot: I haz the power
Failed to apply patch for chrome/browser/prefs/pref_service.h: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
8 years, 1 month ago (2012-10-23 17:02:32 UTC) #9
tim (not reviewing)
(I won't hold up the review, but I do have some comments) http://codereview.chromium.org/11233049/diff/7001/chrome/browser/prefs/pref_service.h File chrome/browser/prefs/pref_service.h ...
8 years, 1 month ago (2012-10-23 17:24:12 UTC) #10
sky
http://codereview.chromium.org/11233049/diff/7001/chrome/browser/prefs/pref_service.h File chrome/browser/prefs/pref_service.h (right): http://codereview.chromium.org/11233049/diff/7001/chrome/browser/prefs/pref_service.h#newcode143 chrome/browser/prefs/pref_service.h:143: void HasSyncedChanged(); On 2012/10/23 17:24:12, timsteele wrote: > This ...
8 years, 1 month ago (2012-10-23 17:46:37 UTC) #11
sky
I'm going to land this. Tim, I'm happy to change the name if you decide ...
8 years, 1 month ago (2012-10-24 00:18:44 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sky@chromium.org/11233049/11004
8 years, 1 month ago (2012-10-24 00:19:43 UTC) #13
tim (not reviewing)
On 2012/10/24 00:19:43, I haz the power (commit-bot) wrote: > CQ is trying da patch. ...
8 years, 1 month ago (2012-10-24 01:50:56 UTC) #14
commit-bot: I haz the power
8 years, 1 month ago (2012-10-24 03:15:46 UTC) #15
Change committed as 163758

Powered by Google App Engine
This is Rietveld 408576698