Skip to content

Focus webview directly in offscreen mode#12507

Merged
zcbenz merged 1 commit into
masterfrom
offscreen-window-focus
Apr 5, 2018
Merged

Focus webview directly in offscreen mode#12507
zcbenz merged 1 commit into
masterfrom
offscreen-window-focus

Conversation

@brenca

@brenca brenca commented Apr 2, 2018

Copy link
Copy Markdown
Contributor

Fixes #12497

@brenca brenca requested a review from a team April 2, 2018 20:49
@MarshallOfSound

Copy link
Copy Markdown
Member

@brenca Can you give a quick line about why this works, I might be missing something but it's not entirely obvious to me why focusing on a webview element would fix stuff not being focused in off screen mode.

@brenca

brenca commented Apr 3, 2018

Copy link
Copy Markdown
Contributor Author

@MarshallOfSound It's mostly a naming issue, the webview in this method's name is actually refering to the WebContents.

void BrowserWindow::FocusOnWebView() {

@MarshallOfSound

Copy link
Copy Markdown
Member

@brenca Raised #12520 to deal with the API not quite being named right, for now I'm 👍

@brenca brenca force-pushed the offscreen-window-focus branch from 4154d5d to b393690 Compare April 4, 2018 18:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants