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
|
@ -100,11 +100,6 @@ class NativeWindowMac : public NativeWindow {
|
|||
}
|
||||
|
||||
protected:
|
||||
// NativeWindow:
|
||||
void HandleKeyboardEvent(
|
||||
content::WebContents*,
|
||||
const content::NativeWebKeyboardEvent&) override;
|
||||
|
||||
// Return a vector of non-draggable regions that fill a window of size
|
||||
// |width| by |height|, but leave gaps where the window should be draggable.
|
||||
std::vector<gfx::Rect> CalculateNonDraggableRegions(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue