FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
cefpython/src/client_handler/request_handler.h at cefpython147 · Novfensec/cefpython · GitHub
Novfensec
cefpython
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
cefpython
/
src
/
client_handler
/
request_handler.h
Copy path
More file actions
More file actions
Latest commit
History
History
History
72 lines (58 loc) · 2.88 KB
Breadcrumbs
cefpython
/
src
/
client_handler
/
request_handler.h
Copy path
File metadata and controls
72 lines (58 loc) · 2.88 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
//
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
"
common/cefpython_public_api.h
"
#
include
"
include/cef_request_handler.h
"
#
include
"
include/base/cef_callback.h
"
#
include
"
cookie_access_filter.h
"
typedef
cef_return_value_t
ReturnValue;
class
RequestHandler
:
public
CefRequestHandler
,
public CookieAccessFilter
{
public:
RequestHandler
(){}
virtual
~RequestHandler
(){}
bool
OnBeforeBrowse
(CefRefPtr<CefBrowser> browser,
CefRefPtr<CefFrame> frame,
CefRefPtr<CefRequest> request,
bool
user_gesture,
bool
is_redirect)
override
;
ReturnValue
OnBeforeResourceLoad
(CefRefPtr<CefBrowser> browser,
CefRefPtr<CefFrame> frame,
CefRefPtr<CefRequest> request,
CefRefPtr<CefCallback> callback
) ;
CefRefPtr<CefResourceHandler>
GetResourceHandler
(
CefRefPtr<CefBrowser> browser,
CefRefPtr<CefFrame> frame,
CefRefPtr<CefRequest> request) ;
void
OnResourceRedirect
(CefRefPtr<CefBrowser> browser,
CefRefPtr<CefFrame> frame,
CefRefPtr<CefRequest> request,
CefRefPtr<CefResponse> response,
CefString& new_url) ;
bool
GetAuthCredentials
(CefRefPtr<CefBrowser> browser,
CefRefPtr<CefFrame> frame,
bool
isProxy,
const
CefString& host,
int
port,
const
CefString& realm,
const
CefString& scheme,
CefRefPtr<CefAuthCallback> callback) ;
bool
OnQuotaRequest
(CefRefPtr<CefBrowser> browser,
const
CefString& origin_url,
int64_t
new_size,
CefRefPtr<CefCallback> callback) ;
void
OnProtocolExecution
(CefRefPtr<CefBrowser> browser,
const
CefString& url,
bool
& allow_os_execution) ;
bool
OnCertificateError
(CefRefPtr<CefBrowser> browser,
cef_errorcode_t
cert_error,
const
CefString& request_url,
CefRefPtr<CefSSLInfo> ssl_info,
CefRefPtr<CefCallback> callback)
override
;
void
OnRenderProcessTerminated
(CefRefPtr<CefBrowser> browser,
cef_termination_status_t
status)
override
;
private:
IMPLEMENT_REFCOUNTING
(RequestHandler);
};
Back
|
FazBrowse Home
|
New Git URL