enable chromium style checker plugin for electron and brightray targets
This commit is contained in:
parent
7c5fcecbec
commit
30f1d0991b
7 changed files with 96 additions and 37 deletions
|
@ -675,7 +675,8 @@ content::KeyboardEventProcessingResult WebContents::PreHandleKeyboardEvent(
|
|||
|
||||
void WebContents::EnterFullscreenModeForTab(content::WebContents* source,
|
||||
const GURL& origin) {
|
||||
auto* permission_helper = WebContentsPermissionHelper::FromWebContents(source);
|
||||
auto* permission_helper =
|
||||
WebContentsPermissionHelper::FromWebContents(source);
|
||||
auto callback = base::Bind(&WebContents::OnEnterFullscreenModeForTab,
|
||||
base::Unretained(this), source, origin);
|
||||
permission_helper->RequestFullscreenPermission(callback);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue