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

Issue 9295049: Allow focus to be sent between browser window and launcher/status window (Closed)

Created:
8 years, 10 months ago by Zachary Kuznia
Modified:
8 years, 10 months ago
Reviewers:
sky
CC:
chromium-reviews, sadrul, nkostylev+watch_chromium.org, ben+watch_chromium.org, dhollowa+watch_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org
Visibility:
Public.

Description

Allow focus to be sent between browser window and launcher/status window R=sky@chromium.org BUG=104192 TEST=Use ctrl+forward/back to move between browser window and status area/launcher Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=120738

Patch Set 1 #

Total comments: 4

Patch Set 2 : Encompass focus cycling in a class' #

Patch Set 3 : Revert a file #

Patch Set 4 : Fix special index #

Total comments: 16

Patch Set 5 : Code review fixes #

Patch Set 6 : Fix include #

Total comments: 2

Patch Set 7 : Always add the launcher, skip over widgets that can't be activated. #

Total comments: 1

Patch Set 8 : Code review fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+193 lines, -1 line) Patch
M ash/ash.gyp View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download
A ash/focus_cycler.h View 1 2 3 4 5 1 chunk +55 lines, -0 lines 0 comments Download
A ash/focus_cycler.cc View 1 2 3 4 5 6 7 1 chunk +101 lines, -0 lines 0 comments Download
M ash/shell.h View 1 2 3 4 5 6 4 chunks +10 lines, -0 lines 0 comments Download
M ash/shell.cc View 1 2 3 4 5 6 3 chunks +11 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_view.cc View 1 2 3 4 5 6 3 chunks +14 lines, -1 line 0 comments Download

Messages

Total messages: 22 (0 generated)
Zachary Kuznia
Hello Sky, Could you have a look at this CL? It still has one TODO, ...
8 years, 10 months ago (2012-01-30 12:21:02 UTC) #1
sky
I believe all this logic can live in the ash side. Use FocusManager::RegisterAccelerator to move ...
8 years, 10 months ago (2012-01-30 15:52:45 UTC) #2
Zachary Kuznia
Pretty much all of the logic is encompassed in FocusCycler now. It made the rest ...
8 years, 10 months ago (2012-01-31 11:00:50 UTC) #3
sky
One additional thing that needs to be handled. In compact mode the launcher is not ...
8 years, 10 months ago (2012-01-31 16:38:14 UTC) #4
sky
Is it possible to write a test case for FocusCycler?
8 years, 10 months ago (2012-01-31 16:38:31 UTC) #5
Zachary Kuznia
I'm looking into making the test for the focus cycler in a separate CL. I ...
8 years, 10 months ago (2012-01-31 17:57:42 UTC) #6
sky
Did you make sure we don't end up giving focus to the launcher when in ...
8 years, 10 months ago (2012-01-31 18:06:16 UTC) #7
Zachary Kuznia
In compact mode, the Launcher's widget isn't added to the FocusCycler in shell.cc. Also, if ...
8 years, 10 months ago (2012-01-31 18:13:10 UTC) #8
sky
Ah, ok. That covers compact model. My worry with fullscreen mode is that I don't ...
8 years, 10 months ago (2012-01-31 18:56:08 UTC) #9
Zachary Kuznia
I have verified that in fullscreen mode focus does not move to the status area ...
8 years, 10 months ago (2012-02-01 08:00:43 UTC) #10
sky
https://chromiumcodereview.appspot.com/9295049/diff/17001/ash/shell.cc File ash/shell.cc (right): https://chromiumcodereview.appspot.com/9295049/diff/17001/ash/shell.cc#newcode303 ash/shell.cc:303: if (!IsWindowModeCompact()) The window mode can be changed at ...
8 years, 10 months ago (2012-02-03 15:53:21 UTC) #11
Zachary Kuznia
https://chromiumcodereview.appspot.com/9295049/diff/17001/ash/shell.cc File ash/shell.cc (right): https://chromiumcodereview.appspot.com/9295049/diff/17001/ash/shell.cc#newcode303 ash/shell.cc:303: if (!IsWindowModeCompact()) On 2012/02/03 15:53:22, sky wrote: > The ...
8 years, 10 months ago (2012-02-06 05:48:08 UTC) #12
sky
LGTM https://chromiumcodereview.appspot.com/9295049/diff/14006/ash/focus_cycler.cc File ash/focus_cycler.cc (right): https://chromiumcodereview.appspot.com/9295049/diff/14006/ash/focus_cycler.cc#newcode75 ash/focus_cycler.cc:75: if (widget->IsActive()) { nit: add a comment here, ...
8 years, 10 months ago (2012-02-06 16:29:31 UTC) #13
sky
Just make sure we don't end up with focus on the launcher when in fullscreen ...
8 years, 10 months ago (2012-02-06 16:30:54 UTC) #14
sky
Actually, could you make a test for this case so I don't have to worry ...
8 years, 10 months ago (2012-02-06 16:49:16 UTC) #15
Zachary Kuznia
On 2012/02/06 16:49:16, sky wrote: > Actually, could you make a test for this case ...
8 years, 10 months ago (2012-02-06 23:33:26 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zork@chromium.org/9295049/26001
8 years, 10 months ago (2012-02-06 23:37:01 UTC) #17
commit-bot: I haz the power
Try job failure for 9295049-26001 (retry) on mac_rel for step "browser_tests". It's a second try, ...
8 years, 10 months ago (2012-02-07 03:04:33 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zork@chromium.org/9295049/26001
8 years, 10 months ago (2012-02-07 03:42:36 UTC) #19
commit-bot: I haz the power
The commit queue went berserk retrying too often for a seemingly flaky test. Builder is ...
8 years, 10 months ago (2012-02-07 05:44:12 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zork@chromium.org/9295049/26001
8 years, 10 months ago (2012-02-07 06:07:44 UTC) #21
commit-bot: I haz the power
8 years, 10 months ago (2012-02-07 07:41:52 UTC) #22
Change committed as 120738

Powered by Google App Engine
This is Rietveld 408576698