FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
cefpython/src/client_handler/focus_handler.cpp at cefpython66 · PythonNexus/cefpython · GitHub
PythonNexus
cefpython
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
cefpython
/
src
/
client_handler
/
focus_handler.cpp
Copy path
More file actions
More file actions
Latest commit
History
History
History
28 lines (21 loc) · 716 Bytes
Breadcrumbs
cefpython
/
src
/
client_handler
/
focus_handler.cpp
Copy path
File metadata and controls
28 lines (21 loc) · 716 Bytes
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
// Copyright (c) 2016 CEF Python, see the Authors file.
// All rights reserved. Licensed under BSD 3-clause license.
// Project website: https://github.com/cztomczak/cefpython
#include "focus_handler.h"
void FocusHandler::OnTakeFocus(CefRefPtr<CefBrowser> browser,
bool next)
{
REQUIRE_UI_THREAD();
FocusHandler_OnTakeFocus(browser, next);
}
bool FocusHandler::OnSetFocus(CefRefPtr<CefBrowser> browser,
cef_focus_source_t source)
{
REQUIRE_UI_THREAD();
return FocusHandler_OnSetFocus(browser, source);
}
void FocusHandler::OnGotFocus(CefRefPtr<CefBrowser> browser)
{
REQUIRE_UI_THREAD();
FocusHandler_OnGotFocus(browser);
}
Back
|
FazBrowse Home
|
New Git URL