Skip to content
This repository was archived by the owner on Jan 4, 2019. It is now read-only.

Address change of removing nested message loop - #205

Closed
darkdh wants to merge 1 commit into
masterfrom
context_menu_cr59
Closed

darkdh wants to merge 1 commit into
masterfrom
context_menu_cr59

Conversation

@darkdh

@darkdh darkdh commented Jun 6, 2017

Copy link
Copy Markdown
Member
All menus on aura platforms no longer use the nested message loop
code path of MenuController.

On Mac non-native menus also no longer use the nested message
loop. While native menus are handled vis menu_runner_impl_cocoa,
which does block.

This change removes the Nested Message Loop code paths from
MenuController.

Additionally some tests which specifically were for
nested message loops below asynchronous menus, have been
either transitioned, or removed if redundant.

https://chromium.googlesource.com/chromium/src.git/+/b31c887a2d14761b078f329629f1d3469106b891%5E%21/

It also forced menu to be async so we must make sure menu runner is alive until
menu closed.

requires brave/browser-laptop#9128

fix brave/browser-laptop#9100

Auditors: @bsclifton, @bridiver, @bbondy

@darkdh darkdh self-assigned this Jun 6, 2017
@darkdh
darkdh requested review from bbondy, bridiver and bsclifton June 6, 2017 06:08
```
All menus on aura platforms no longer use the nested message loop
code path of MenuController.

On Mac non-native menus also no longer use the nested message
loop. While native menus are handled vis menu_runner_impl_cocoa,
which does block.

This change removes the Nested Message Loop code paths from
MenuController.

Additionally some tests which specifically were for
nested message loops below asynchronous menus, have been
either transitioned, or removed if redundant.
```
https://chromium.googlesource.com/chromium/src.git/+/b31c887a2d14761b078f329629f1d3469106b891%5E%21/

It also forced menu to be async so we must make sure menu runner is alive until
menu closed.

requires brave/browser-laptop#9128

fix brave/browser-laptop#9100

Auditors: @bsclifton, @bridiver, @bbondy
@darkdh
darkdh force-pushed the context_menu_cr59 branch from 19f69b5 to 8d657cf Compare June 6, 2017 15:56
@darkdh

darkdh commented Jun 6, 2017

Copy link
Copy Markdown
Member Author

I'm going to merge this into #161

@darkdh darkdh closed this Jun 6, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Context menus not working with C59

1 participant