Only compile HandleKeyboardEvent on Mac
This commit is contained in:
parent
f2ff1fb406
commit
b970e9d5c3
1 changed files with 2 additions and 0 deletions
|
@ -13,7 +13,9 @@ public:
|
||||||
~DefaultWebContentsDelegate();
|
~DefaultWebContentsDelegate();
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
#if defined(OS_MACOSX)
|
||||||
virtual void HandleKeyboardEvent(content::WebContents*, const content::NativeWebKeyboardEvent&) OVERRIDE;
|
virtual void HandleKeyboardEvent(content::WebContents*, const content::NativeWebKeyboardEvent&) OVERRIDE;
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue