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

@ -19,6 +19,9 @@ class BrowserWindowStdGtk : public BrowserWindow {
// |delegate| must outlive this object.
BrowserWindowStdGtk(Delegate* delegate, const std::string& startup_url);
// Called from RootWindowGtk::CreateRootWindow before CreateBrowser.
void set_xdisplay(XDisplay* xdisplay);
// BrowserWindow methods.
void CreateBrowser(ClientWindowHandle parent_handle,
const CefRect& rect,
@ -40,6 +43,8 @@ class BrowserWindowStdGtk : public BrowserWindow {
ClientWindowHandle GetWindowHandle() const OVERRIDE;
private:
XDisplay* xdisplay_;
DISALLOW_COPY_AND_ASSIGN(BrowserWindowStdGtk);
};