()
| 107 | |
| 108 | |
| 109 | def set_global_handler(): |
| 110 | # A global handler is a special handler for callbacks that |
| 111 | # must be set before Browser is created using |
| 112 | # SetGlobalClientCallback() method. |
| 113 | global_handler = GlobalHandler() |
| 114 | cef.SetGlobalClientCallback("OnAfterCreated", |
| 115 | global_handler.OnAfterCreated) |
| 116 | |
| 117 | |
| 118 | def set_client_handlers(browser): |