Linux: Add multi-threaded message loop support (issue #2512)

This commit is contained in:
Marshall Greenblatt
2018-09-20 06:00:14 -07:00
parent c7d187a512
commit 8aa4b7aaae
31 changed files with 1070 additions and 252 deletions

View File

@ -11,7 +11,7 @@
namespace client {
// Represents a singleton hidden window that acts as a temporary parent for
// popup browsers.
// popup browsers. Only accessed on the UI thread.
class TempWindowWin {
public:
// Returns the singleton window handle.
@ -20,6 +20,8 @@ class TempWindowWin {
private:
// A single instance will be created/owned by RootWindowManager.
friend class RootWindowManager;
// Allow deletion via scoped_ptr only.
friend struct base::DefaultDeleter<TempWindowWin>;
TempWindowWin();
~TempWindowWin();