forked from cztomczak/cefpython
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbrowser_process_handler.pyx
More file actions
23 lines (20 loc) · 845 Bytes
/
browser_process_handler.pyx
File metadata and controls
23 lines (20 loc) · 845 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Copyright (c) 2012 CEF Python, see the Authors file.
# All rights reserved. Licensed under BSD 3-clause license.
# Project website: https://github.com/cztomczak/cefpython
include "../cefpython.pyx"
cdef public void BrowserProcessHandler_OnRenderProcessThreadCreated(
CefRefPtr[CefListValue] extra_info
) except * with gil:
try:
pass
except:
(exc_type, exc_value, exc_trace) = sys.exc_info()
sys.excepthook(exc_type, exc_value, exc_trace)
cdef public void BrowserProcessHandler_OnBeforeChildProcessLaunch(
CefRefPtr[CefCommandLine] cefCommandLine
) except * with gil:
try:
AppendSwitchesToCommandLine(cefCommandLine, g_commandLineSwitches)
except:
(exc_type, exc_value, exc_trace) = sys.exc_info()
sys.excepthook(exc_type, exc_value, exc_trace)