Handle keyboard events for WebContents that do not have owner window
This commit is contained in:
parent
dc9b3fcef7
commit
5f6c468f0f
8 changed files with 93 additions and 58 deletions
|
@ -84,6 +84,9 @@ class CommonWebContentsDelegate
|
|||
content::SecurityStyle GetSecurityStyle(
|
||||
content::WebContents* web_contents,
|
||||
content::SecurityStyleExplanations* explanations) override;
|
||||
void HandleKeyboardEvent(
|
||||
content::WebContents* source,
|
||||
const content::NativeWebKeyboardEvent& event) override;
|
||||
|
||||
// brightray::InspectableWebContentsDelegate:
|
||||
void DevToolsSaveToFile(const std::string& url,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue