mirror of
https://github.com/electron/electron.git
synced 2026-01-28 00:38:35 -05:00
Fix cpplint errors in default_web_contents_delegate.h
This commit is contained in:
@@ -5,22 +5,24 @@
|
||||
|
||||
namespace brightray {
|
||||
|
||||
// This class provides some sane default behaviors to any content::WebContents instance (e.g.,
|
||||
// keyboard shortcut handling on Mac).
|
||||
// This class provides some sane default behaviors to any content::WebContents
|
||||
// instance (e.g., keyboard shortcut handling on Mac).
|
||||
class DefaultWebContentsDelegate : public content::WebContentsDelegate {
|
||||
public:
|
||||
public:
|
||||
DefaultWebContentsDelegate();
|
||||
~DefaultWebContentsDelegate();
|
||||
|
||||
protected:
|
||||
virtual void RequestMediaAccessPermission(content::WebContents*,
|
||||
const content::MediaStreamRequest&,
|
||||
const content::MediaResponseCallback&) OVERRIDE;
|
||||
protected:
|
||||
virtual void RequestMediaAccessPermission(
|
||||
content::WebContents*,
|
||||
const content::MediaStreamRequest&,
|
||||
const content::MediaResponseCallback&) OVERRIDE;
|
||||
#if defined(OS_MACOSX)
|
||||
virtual void HandleKeyboardEvent(content::WebContents*, const content::NativeWebKeyboardEvent&) OVERRIDE;
|
||||
virtual void HandleKeyboardEvent(
|
||||
content::WebContents*, const content::NativeWebKeyboardEvent&) OVERRIDE;
|
||||
#endif
|
||||
};
|
||||
|
||||
}
|
||||
} // namespace brightray
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user