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

Issue 10668037: Close any open menus on activation changes. (Closed)

Created:
8 years, 6 months ago by flackr
Modified:
8 years, 5 months ago
Reviewers:
sky
CC:
chromium-reviews, tfarina, sadrul, ben+watch_chromium.org
Visibility:
Public.

Description

Close any open menus on activation changes. BUG=131027 TEST=Close all open windows, right click on application icon, trigger lock screen. Menu is closed. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=144625

Patch Set 1 #

Total comments: 2

Patch Set 2 : Observe window activation changes from MenuController. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -21 lines) Patch
M ui/views/controls/menu/menu_controller.h View 1 4 chunks +17 lines, -5 lines 0 comments Download
M ui/views/controls/menu/menu_controller.cc View 1 4 chunks +19 lines, -5 lines 0 comments Download
M ui/views/widget/widget.cc View 1 chunk +1 line, -11 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
flackr
Hi, Please take a look. The problem seems to be that we only called Widget::OnNativeWidgetActivationChanged ...
8 years, 6 months ago (2012-06-25 22:15:44 UTC) #1
sky
https://chromiumcodereview.appspot.com/10668037/diff/1/ash/wm/activation_controller.cc File ash/wm/activation_controller.cc (right): https://chromiumcodereview.appspot.com/10668037/diff/1/ash/wm/activation_controller.cc#newcode290 ash/wm/activation_controller.cc:290: views::MenuController::GetActiveInstance(); I don't like this dependency here. I would ...
8 years, 6 months ago (2012-06-25 23:34:38 UTC) #2
flackr
https://chromiumcodereview.appspot.com/10668037/diff/1/ash/wm/activation_controller.cc File ash/wm/activation_controller.cc (right): https://chromiumcodereview.appspot.com/10668037/diff/1/ash/wm/activation_controller.cc#newcode290 ash/wm/activation_controller.cc:290: views::MenuController::GetActiveInstance(); On 2012/06/25 23:34:38, sky wrote: > I don't ...
8 years, 6 months ago (2012-06-26 13:17:16 UTC) #3
sky
Since this has broken once already, can you add a test for coverage of this?
8 years, 6 months ago (2012-06-26 16:19:35 UTC) #4
flackr
On 2012/06/26 16:19:35, sky wrote: > Since this has broken once already, can you add ...
8 years, 5 months ago (2012-06-27 18:41:31 UTC) #5
sky
I'm LGTMing this now. You can straighten out the test separately, just make sure we ...
8 years, 5 months ago (2012-06-27 20:58:53 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/flackr@chromium.org/10668037/7004
8 years, 5 months ago (2012-06-27 21:11:43 UTC) #7
commit-bot: I haz the power
8 years, 5 months ago (2012-06-28 00:36:47 UTC) #8
Change committed as 144625

Powered by Google App Engine
This is Rietveld 408576698