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

Issue 11570017: Enables storing shelf's auto_hide_behavior and alignment per display. (Closed)

Created:
8 years ago by Jun Mukai
Modified:
8 years ago
Reviewers:
bartfab (slow), oshima, sky
CC:
chromium-reviews, sadrul, ben+watch_chromium.org
Visibility:
Public.

Description

Enables storing shelf's auto_hide_behavior and alignment per display. BUG=165419 TEST=on a dev-mode device, change the launcher's auto-hide behavior and see how it's stored in Preferences Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=173508

Patch Set 1 #

Total comments: 18

Patch Set 2 : fix #

Total comments: 18

Patch Set 3 : fix #

Patch Set 4 : fix #

Total comments: 4

Patch Set 5 : fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+236 lines, -88 lines) Patch
M ash/shell.cc View 1 1 chunk +4 lines, -2 lines 0 comments Download
M ash/shell_observer.h View 2 chunks +6 lines, -2 lines 0 comments Download
M ash/wm/app_list_controller.h View 1 chunk +1 line, -1 line 0 comments Download
M ash/wm/app_list_controller.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/ash/chrome_launcher_prefs.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/ash/launcher/chrome_launcher_controller_per_app.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/ash/launcher/chrome_launcher_controller_per_app.cc View 1 2 3 4 10 chunks +106 lines, -40 lines 0 comments Download
M chrome/browser/ui/ash/launcher/chrome_launcher_controller_per_browser.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/ash/launcher/chrome_launcher_controller_per_browser.cc View 1 2 3 4 10 chunks +106 lines, -40 lines 0 comments Download
M chrome/common/pref_names.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/pref_names.cc View 1 2 3 2 chunks +7 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
Jun Mukai
bartfab -- I found you did the policy thing in the chrome_browser_launcher_* thing. Could you ...
8 years ago (2012-12-14 02:15:55 UTC) #1
bartfab (slow)
A few fixes are needed but in general, your approach for integrating with policy is ...
8 years ago (2012-12-14 09:46:10 UTC) #2
oshima
https://codereview.chromium.org/11570017/diff/1/ash/shell.cc File ash/shell.cc (right): https://codereview.chromium.org/11570017/diff/1/ash/shell.cc#newcode721 ash/shell.cc:721: if (GetRootWindowController(root_window)->SetShelfAlignment(alignment)) nit: you need {} https://codereview.chromium.org/11570017/diff/1/chrome/browser/ui/ash/launcher/chrome_launcher_controller_per_app.cc File chrome/browser/ui/ash/launcher/chrome_launcher_controller_per_app.cc ...
8 years ago (2012-12-14 11:03:54 UTC) #3
Jun Mukai
https://codereview.chromium.org/11570017/diff/1/ash/shell.cc File ash/shell.cc (right): https://codereview.chromium.org/11570017/diff/1/ash/shell.cc#newcode721 ash/shell.cc:721: if (GetRootWindowController(root_window)->SetShelfAlignment(alignment)) On 2012/12/14 11:03:55, oshima wrote: > nit: ...
8 years ago (2012-12-14 18:47:16 UTC) #4
oshima
lgtm my bits. please makes sure you get lgtm from bartfab.
8 years ago (2012-12-14 18:59:46 UTC) #5
bartfab (slow)
https://codereview.chromium.org/11570017/diff/8001/chrome/browser/ui/ash/launcher/chrome_launcher_controller_per_app.cc File chrome/browser/ui/ash/launcher/chrome_launcher_controller_per_app.cc (right): https://codereview.chromium.org/11570017/diff/8001/chrome/browser/ui/ash/launcher/chrome_launcher_controller_per_app.cc#newcode149 chrome/browser/ui/ash/launcher/chrome_launcher_controller_per_app.cc:149: // Returns the pref in |pref_service| for |root_window|. The ...
8 years ago (2012-12-14 21:34:02 UTC) #6
Jun Mukai
https://codereview.chromium.org/11570017/diff/8001/chrome/browser/ui/ash/launcher/chrome_launcher_controller_per_app.cc File chrome/browser/ui/ash/launcher/chrome_launcher_controller_per_app.cc (right): https://codereview.chromium.org/11570017/diff/8001/chrome/browser/ui/ash/launcher/chrome_launcher_controller_per_app.cc#newcode149 chrome/browser/ui/ash/launcher/chrome_launcher_controller_per_app.cc:149: // Returns the pref in |pref_service| for |root_window|. The ...
8 years ago (2012-12-14 22:44:56 UTC) #7
bartfab (slow)
I think the pref getter needs one more tweak - see comments inline. As it ...
8 years ago (2012-12-14 23:07:18 UTC) #8
Jun Mukai
https://codereview.chromium.org/11570017/diff/8003/chrome/browser/ui/ash/launcher/chrome_launcher_controller_per_app.cc File chrome/browser/ui/ash/launcher/chrome_launcher_controller_per_app.cc (right): https://codereview.chromium.org/11570017/diff/8003/chrome/browser/ui/ash/launcher/chrome_launcher_controller_per_app.cc#newcode183 chrome/browser/ui/ash/launcher/chrome_launcher_controller_per_app.cc:183: if (!local_pref->HasUserSetting() && On 2012/12/14 23:07:18, bartfab wrote: > ...
8 years ago (2012-12-14 23:40:56 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mukai@chromium.org/11570017/3006
8 years ago (2012-12-14 23:44:42 UTC) #10
commit-bot: I haz the power
Presubmit check for 11570017-3006 failed and returned exit status 1. Running presubmit commit checks ...
8 years ago (2012-12-14 23:44:52 UTC) #11
Jun Mukai
sky, please give me the OWNER approval for ash & c/b/ui/ash
8 years ago (2012-12-14 23:49:53 UTC) #12
sky
LGTM - is it possible to add test coverage?
8 years ago (2012-12-17 17:00:03 UTC) #13
Jun Mukai
On 2012/12/17 17:00:03, sky wrote: > LGTM - is it possible to add test coverage? ...
8 years ago (2012-12-17 17:32:40 UTC) #14
sky
8 years ago (2012-12-17 17:43:18 UTC) #15
Ok

On Mon, Dec 17, 2012 at 9:32 AM,  <mukai@chromium.org> wrote:
> On 2012/12/17 17:00:03, sky wrote:
>>
>> LGTM - is it possible to add test coverage?
>
>
> Can I do that in another CL? I'd like to put this into M25 branch if
> possible.
>
> https://codereview.chromium.org/11570017/

Powered by Google App Engine
This is Rietveld 408576698