| 24 | } |
| 25 | |
| 26 | void InstallX11ErrorHandlers() { |
| 27 | // Copied from upstream cefclient. |
| 28 | // Install xlib error handlers so that the application won't be terminated |
| 29 | // on non-fatal errors. Must be done after initializing GTK. |
| 30 | LOG(INFO) << "[Browser process] Install X11 error handlers"; |
| 31 | XSetErrorHandler(XErrorHandlerImpl); |
| 32 | XSetIOErrorHandler(XIOErrorHandlerImpl); |
| 33 | } |
| 34 | |
| 35 | void SetX11WindowBounds(CefRefPtr<CefBrowser> browser, |
| 36 | int x, int y, int width, int height) { |
no outgoing calls
no test coverage detected