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

Issue 11451002: Focus launcher if spoken feedback is enabled and no other windows visible. (Closed)

Created:
8 years ago by mtomasz
Modified:
8 years ago
Reviewers:
mtomasz1, sky
CC:
chromium-reviews, sadrul, ben+watch_chromium.org
Visibility:
Public.

Description

Focus launcher if spoken feedback is enabled and no other windows visible. This patch automatically focuses launcher if no other windows are available and spoken feedback is enabled. BUG=156772 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=173417

Patch Set 1 #

Patch Set 2 : Cleaned up the code. #

Total comments: 2

Patch Set 3 : Addressed comments. #

Patch Set 4 : Added unit tests. #

Total comments: 18

Patch Set 5 : Addressed some comments. #

Patch Set 6 : Added ASH_EXPORT, fixed gypi, rebased. #

Patch Set 7 : Added end to end tests. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+221 lines, -6 lines) Patch
M ash/ash.gyp View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
ash/launcher/launcher.h View 1 2 3 4 5 4 chunks +12 lines, -1 line 0 comments Download
M ash/launcher/launcher.cc View 1 2 3 4 5 5 chunks +23 lines, -4 lines 0 comments Download
M ash/launcher/launcher_unittest.cc View 1 2 3 4 5 2 chunks +15 lines, -0 lines 0 comments Download
M ash/wm/ash_activation_controller.h View 1 2 3 4 5 3 chunks +7 lines, -1 line 0 comments Download
M ash/wm/ash_activation_controller.cc View 1 2 3 chunks +37 lines, -0 lines 0 comments Download
A ash/wm/ash_activation_controller_unittest.cc View 1 2 3 4 5 6 1 chunk +126 lines, -0 lines 1 comment Download

Messages

Total messages: 23 (0 generated)
mtomasz
This patch automatically focuses launcher if no other windows are available and spoken feedback is ...
8 years ago (2012-12-05 01:57:46 UTC) #1
sky
I'm fine with this approach. You'll need to add test coverage too. https://codereview.chromium.org/11451002/diff/1002/ash/wm/ash_activation_controller.cc File ash/wm/ash_activation_controller.cc ...
8 years ago (2012-12-05 05:01:08 UTC) #2
mtomasz
As for tests, I don't think I can test it without a browser process since ...
8 years ago (2012-12-07 06:18:47 UTC) #3
sky
Why is it necessary to have a browser to test this? Isn't the key thing ...
8 years ago (2012-12-07 16:49:42 UTC) #4
mtomasz
You're right. I didn't know that we can easily run whole Shell instance with all ...
8 years ago (2012-12-10 04:10:24 UTC) #5
sky
https://codereview.chromium.org/11451002/diff/13001/ash/ash.gyp File ash/ash.gyp (right): https://codereview.chromium.org/11451002/diff/13001/ash/ash.gyp#newcode568 ash/ash.gyp:568: 'wm/ash_activation_controller.cc', ash_activation_controller.* should be in the ash sources section ...
8 years ago (2012-12-10 15:37:51 UTC) #6
mtomasz
https://codereview.chromium.org/11451002/diff/13001/ash/ash.gyp File ash/ash.gyp (right): https://codereview.chromium.org/11451002/diff/13001/ash/ash.gyp#newcode568 ash/ash.gyp:568: 'wm/ash_activation_controller.cc', On 2012/12/10 15:37:51, sky wrote: > ash_activation_controller.* should ...
8 years ago (2012-12-11 05:03:32 UTC) #7
sky
https://codereview.chromium.org/11451002/diff/13001/ash/ash.gyp File ash/ash.gyp (right): https://codereview.chromium.org/11451002/diff/13001/ash/ash.gyp#newcode568 ash/ash.gyp:568: 'wm/ash_activation_controller.cc', On 2012/12/11 05:03:32, mtomasz wrote: > On 2012/12/10 ...
8 years ago (2012-12-11 16:30:47 UTC) #8
mtomasz
https://codereview.chromium.org/11451002/diff/13001/ash/ash.gyp File ash/ash.gyp (right): https://codereview.chromium.org/11451002/diff/13001/ash/ash.gyp#newcode568 ash/ash.gyp:568: 'wm/ash_activation_controller.cc', On 2012/12/11 16:30:47, sky wrote: > On 2012/12/11 ...
8 years ago (2012-12-13 07:55:29 UTC) #9
sky
https://codereview.chromium.org/11451002/diff/13001/ash/wm/ash_activation_controller_unittest.cc File ash/wm/ash_activation_controller_unittest.cc (right): https://codereview.chromium.org/11451002/diff/13001/ash/wm/ash_activation_controller_unittest.cc#newcode55 ash/wm/ash_activation_controller_unittest.cc:55: aura::Window* result = ash_activation_controller_->WillActivateWindow(NULL); On 2012/12/13 07:55:29, mtomasz wrote: ...
8 years ago (2012-12-13 19:16:27 UTC) #10
mtomasz
It would be great if we could commit this before the M25 cut. https://codereview.chromium.org/11451002/diff/13001/ash/wm/ash_activation_controller_unittest.cc File ...
8 years ago (2012-12-14 05:31:42 UTC) #11
sky
LGTM https://codereview.chromium.org/11451002/diff/23005/ash/wm/ash_activation_controller_unittest.cc File ash/wm/ash_activation_controller_unittest.cc (right): https://codereview.chromium.org/11451002/diff/23005/ash/wm/ash_activation_controller_unittest.cc#newcode119 ash/wm/ash_activation_controller_unittest.cc:119: ASSERT_EQ(launcher_window_, GetActiveWindow()); Can you also add a test ...
8 years ago (2012-12-14 17:36:09 UTC) #12
mtomasz
Thanks. This case is actually covered by one unit test, but I'll add an end ...
8 years ago (2012-12-15 02:14:08 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mtomasz@chromium.org/11451002/23005
8 years ago (2012-12-15 02:15:35 UTC) #14
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
8 years ago (2012-12-15 02:28:22 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mtomasz@chromium.org/11451002/23005
8 years ago (2012-12-15 04:35:03 UTC) #16
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) browser_tests
8 years ago (2012-12-15 08:18:04 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mtomasz@chromium.org/11451002/23005
8 years ago (2012-12-17 01:21:19 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mtomasz@chromium.org/11451002/23005
8 years ago (2012-12-17 04:09:36 UTC) #19
commit-bot: I haz the power
Change committed as 173417
8 years ago (2012-12-17 04:30:57 UTC) #20
Ryan Sleevi
On 2012/12/17 04:30:57, I haz the power (commit-bot) wrote: > Change committed as 173417 Can ...
8 years ago (2012-12-17 04:37:17 UTC) #21
mtomasz1
Ah, sorry for this mistake! On Mon, Dec 17, 2012 at 1:37 PM, <rsleevi@chromium.org> wrote: ...
8 years ago (2012-12-17 04:39:59 UTC) #22
mtomasz
8 years ago (2012-12-18 03:49:23 UTC) #23
Message was sent while issue was closed.
This CL has been reverted.
Fixed version is now here:
https://codereview.chromium.org/11613017/

On 2012/12/17 04:39:59, mtomasz_google.com wrote:
> Ah, sorry for this mistake!
> 
> On Mon, Dec 17, 2012 at 1:37 PM, <mailto:rsleevi@chromium.org> wrote:
> 
> > On 2012/12/17 04:30:57, I haz the power (commit-bot) wrote:
> >
> >> Change committed as 173417
> >>
> >
> > Can you please make sure commit messages are descriptive? You described
> > this CL
> > in your first message - this would have been better as the actual commit
> > message.
> >
> > Thanks!
> >
> >
>
https://chromiumcodereview.**appspot.com/11451002/%3Chttps://chromiumcoderevi...>
> >

Powered by Google App Engine
This is Rietveld 408576698