forked from cztomczak/cefpython
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcef_browser_static.pxd
More file actions
36 lines (31 loc) · 1.18 KB
/
Copy pathcef_browser_static.pxd
File metadata and controls
36 lines (31 loc) · 1.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# 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 "platform_cimports.pxi"
from libcpp cimport bool as cpp_bool
from cef_ptr cimport CefRefPtr
# noinspection PyUnresolvedReferences
from cef_client cimport CefClient
from cef_types cimport CefBrowserSettings
from cef_values cimport CefDictionaryValue
# noinspection PyUnresolvedReferences
from cef_request_context cimport CefRequestContext
# noinspection PyUnresolvedReferences
from cef_browser cimport CefBrowser
from cef_string cimport CefString
# Specifying namespace allows to import a static method.
cdef extern from "include/cef_browser.h" namespace "CefBrowserHost":
cdef cpp_bool CreateBrowser(
CefWindowInfo&,
CefRefPtr[CefClient],
CefString&,
CefBrowserSettings&,
CefRefPtr[CefDictionaryValue],
CefRefPtr[CefRequestContext]) nogil
cdef CefRefPtr[CefBrowser] CreateBrowserSync(
CefWindowInfo&,
CefRefPtr[CefClient],
CefString&,
CefBrowserSettings&,
CefRefPtr[CefDictionaryValue],
CefRefPtr[CefRequestContext]) nogil