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 2620203004: MenuRunner: Add comment to specify blocking behavior on MacViews. (Closed)

Created:
3 years, 11 months ago by karandeepb
Modified:
3 years, 11 months ago
Reviewers:
tapted
CC:
chromium-reviews, tfarina, chrome-apps-syd-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

MenuRunner: Add comment to specify blocking behavior on MacViews. On MacViews, the COMBOBOX and CONTEXT_MENU menu run types are always shown using a native NSMenu which runs the run loop in NSEventTrackingRunLoopMode and blocks. Hence the ASYNC run type is ignored for these menu run types on MacViews. Add comment to that effect. BUG=682544 Review-Url: https://codereview.chromium.org/2620203004 Cr-Commit-Position: refs/heads/master@{#445014} Committed: https://chromium.googlesource.com/chromium/src/+/454b8e5ae37b38fc67695e8a149dbe4bc982f3de

Patch Set 1 #

Total comments: 3

Patch Set 2 : Address review. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -0 lines) Patch
M ui/views/controls/menu/menu_runner.h View 1 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (8 generated)
karandeepb
PTAL Trent.
3 years, 11 months ago (2017-01-11 03:53:41 UTC) #3
tapted
hm - I'm not sure we need this. Ideally we make ASYNC work (e.g. by ...
3 years, 11 months ago (2017-01-11 15:23:07 UTC) #5
karandeepb
On 2017/01/11 15:23:07, tapted wrote: > hm - I'm not sure we need this. Ideally ...
3 years, 11 months ago (2017-01-11 23:48:47 UTC) #6
karandeepb
On 2017/01/11 23:48:47, karandeepb wrote: > On 2017/01/11 15:23:07, tapted wrote: > > hm - ...
3 years, 11 months ago (2017-01-16 01:41:32 UTC) #7
tapted
Still, it's uncommon for implementation details to be documented in header comments -- they easily ...
3 years, 11 months ago (2017-01-17 21:55:20 UTC) #8
karandeepb
https://codereview.chromium.org/2620203004/diff/1/ui/views/controls/menu/menu_runner.h File ui/views/controls/menu/menu_runner.h (right): https://codereview.chromium.org/2620203004/diff/1/ui/views/controls/menu/menu_runner.h#newcode120 ui/views/controls/menu/menu_runner.h:120: MenuRunner(MenuItemView* menu, int32_t run_types); On 2017/01/17 21:55:20, tapted wrote: ...
3 years, 11 months ago (2017-01-19 04:18:15 UTC) #11
karandeepb
PTAL.
3 years, 11 months ago (2017-01-19 04:18:32 UTC) #12
tapted
lgtm - thanks!
3 years, 11 months ago (2017-01-20 06:25:56 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2620203004/20001
3 years, 11 months ago (2017-01-20 06:55:32 UTC) #15
commit-bot: I haz the power
3 years, 11 months ago (2017-01-20 08:17:09 UTC) #18
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/454b8e5ae37b38fc67695e8a149d...

Powered by Google App Engine
This is Rietveld 408576698