Remove WebViewGuestDelegate::HandleKeyboardEvent
This commit is contained in:
parent
d6cb84f8a3
commit
dc9b3fcef7
3 changed files with 2 additions and 17 deletions
|
@ -8,10 +8,6 @@
|
|||
#include "content/public/browser/browser_plugin_guest_delegate.h"
|
||||
#include "content/public/browser/web_contents_observer.h"
|
||||
|
||||
namespace content {
|
||||
struct NativeWebKeyboardEvent;
|
||||
}
|
||||
|
||||
namespace atom {
|
||||
|
||||
namespace api {
|
||||
|
@ -49,10 +45,6 @@ class WebViewGuestDelegate : public content::BrowserPluginGuestDelegate,
|
|||
// and normal sizes.
|
||||
void SetSize(const SetSizeParams& params);
|
||||
|
||||
// Transfer the keyboard event to embedder.
|
||||
void HandleKeyboardEvent(content::WebContents* source,
|
||||
const content::NativeWebKeyboardEvent& event);
|
||||
|
||||
protected:
|
||||
// content::WebContentsObserver:
|
||||
void DidCommitProvisionalLoadForFrame(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue