Fix cpplint errors in default_web_contents_delegate.h
This commit is contained in:
parent
7bada78519
commit
fd54c435a9
1 changed files with 11 additions and 9 deletions
|
@ -5,22 +5,24 @@
|
||||||
|
|
||||||
namespace brightray {
|
namespace brightray {
|
||||||
|
|
||||||
// This class provides some sane default behaviors to any content::WebContents instance (e.g.,
|
// This class provides some sane default behaviors to any content::WebContents
|
||||||
// keyboard shortcut handling on Mac).
|
// instance (e.g., keyboard shortcut handling on Mac).
|
||||||
class DefaultWebContentsDelegate : public content::WebContentsDelegate {
|
class DefaultWebContentsDelegate : public content::WebContentsDelegate {
|
||||||
public:
|
public:
|
||||||
DefaultWebContentsDelegate();
|
DefaultWebContentsDelegate();
|
||||||
~DefaultWebContentsDelegate();
|
~DefaultWebContentsDelegate();
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
virtual void RequestMediaAccessPermission(content::WebContents*,
|
virtual void RequestMediaAccessPermission(
|
||||||
const content::MediaStreamRequest&,
|
content::WebContents*,
|
||||||
const content::MediaResponseCallback&) OVERRIDE;
|
const content::MediaStreamRequest&,
|
||||||
|
const content::MediaResponseCallback&) OVERRIDE;
|
||||||
#if defined(OS_MACOSX)
|
#if defined(OS_MACOSX)
|
||||||
virtual void HandleKeyboardEvent(content::WebContents*, const content::NativeWebKeyboardEvent&) OVERRIDE;
|
virtual void HandleKeyboardEvent(
|
||||||
|
content::WebContents*, const content::NativeWebKeyboardEvent&) OVERRIDE;
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
} // namespace brightray
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue