Repository navigation
chore: use ScopedPumpMessagesInPrivateModes in tray - #18977
Merged
Merged
Conversation
4 tasks done
codebytere
force-pushed
the
tray-pump-follow-up
branch
from
June 25, 2019 18:19
7b445ee to
f871d13
Compare
deepak1556
approved these changes
Jun 25, 2019
|
No Release Notes |
deermichel
pushed a commit
that referenced
this pull request
Jun 26, 2019
* chore: use ScopedPumpMessagesInPrivateModes in tray * revert refcounting of AtomMenuModel * Prefer WeakPtr for posting tasks to handle unexpected destruction
deermichel
pushed a commit
that referenced
this pull request
Jun 26, 2019
* chore: use ScopedPumpMessagesInPrivateModes in tray * revert refcounting of AtomMenuModel * Prefer WeakPtr for posting tasks to handle unexpected destruction
deermichel
pushed a commit
that referenced
this pull request
Jul 2, 2019
* chore: use ScopedPumpMessagesInPrivateModes in tray * revert refcounting of AtomMenuModel * Prefer WeakPtr for posting tasks to handle unexpected destruction
deermichel
pushed a commit
that referenced
this pull request
Jul 2, 2019
* chore: use ScopedPumpMessagesInPrivateModes in tray * revert refcounting of AtomMenuModel * Prefer WeakPtr for posting tasks to handle unexpected destruction
deermichel
pushed a commit
that referenced
this pull request
Jul 10, 2019
* chore: use ScopedPumpMessagesInPrivateModes in tray * revert refcounting of AtomMenuModel * Prefer WeakPtr for posting tasks to handle unexpected destruction
deermichel
pushed a commit
that referenced
this pull request
Jul 18, 2019
* chore: use ScopedPumpMessagesInPrivateModes in tray * revert refcounting of AtomMenuModel * Prefer WeakPtr for posting tasks to handle unexpected destruction
deermichel
pushed a commit
that referenced
this pull request
Jul 31, 2019
* chore: use ScopedPumpMessagesInPrivateModes in tray * revert refcounting of AtomMenuModel * Prefer WeakPtr for posting tasks to handle unexpected destruction
MarshallOfSound
pushed a commit
that referenced
this pull request
Jul 31, 2019
* restore stash revert some things work others dont tracking area for rescue manual popup restore drag n drop cleanup * fix: make tray not block main process (#18880) * fix: make tray not block main process * make AtomMenuModel refcounted * add support for ansi codes in title add remove TODOs * chore: use ScopedPumpMessagesInPrivateModes in tray (#18977) * chore: use ScopedPumpMessagesInPrivateModes in tray * revert refcounting of AtomMenuModel * Prefer WeakPtr for posting tasks to handle unexpected destruction * cleanup .h * cleanup .mm * add imports add missing include * fix: crash when tray popup called twice (#18999) * remove highlightMode and TODOs * remove unnecessary copy
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description of Change
This is a follow-up of #18880 to use
base::ScopedPumpMessagesInPrivateModesin the Tray'spopUpContextMenuimplementation. I considered usingelectron::UnresponsiveSuppressor suppressorso that we don't emit unresponsive event when showing the Tray menu, but i don't think that's something that would occur enough to warrant its being added at this time.I also removed
base::mac::ScopedSendingEvent sendingEventScoper, which i originally included in that I was concerned about pumping throughwindow.close(), but windows aren't coupled to Trays in the way that context menus are so i no longer believe that to be necessary.cc @deepak1556 @ckerr @deepak1556
Checklist
npm testpassesRelease Notes
Notes: none