forked from cztomczak/cefpython
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcef_request_context.pxd
More file actions
20 lines (18 loc) · 871 Bytes
/
cef_request_context.pxd
File metadata and controls
20 lines (18 loc) · 871 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Copyright (c) 2013 CEF Python, see the Authors file.
# All rights reserved. Licensed under BSD 3-clause license.
# Project website: https://github.com/cztomczak/cefpython
from cef_ptr cimport CefRefPtr
# noinspection PyUnresolvedReferences
from cef_request_context_handler cimport CefRequestContextHandler
from cef_callback cimport CefCompletionCallback
from cef_cookie cimport CefCookieManager
cdef extern from "include/cef_request_context.h":
cdef cppclass CefRequestContext:
@staticmethod
CefRefPtr[CefRequestContext] GetGlobalContext()
@staticmethod
CefRefPtr[CefRequestContext] CreateContext(
CefRefPtr[CefRequestContext] other,
CefRefPtr[CefRequestContextHandler] handler)
CefRefPtr[CefCookieManager] GetDefaultCookieManager(
CefRefPtr[CefCompletionCallback] callback)