Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

webcontents: notify guests of embedders' zoom level change #3010

Merged
merged 1 commit into from
Oct 8, 2015

Conversation

deepak1556
Copy link
Member

Fixes #940

One possible way as discussed with @zcbenz

@@ -1034,6 +1036,25 @@ void WebContents::OnRendererMessageSync(const base::string16& channel,
}

// static
bool WebContents::NotifyZoomLevelChanged(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can make this an anonymous function instead of WebContent's method, since it is only used in one place and doesn't access WebContent's members.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed, thanks!

@zcbenz
Copy link
Member

zcbenz commented Oct 8, 2015

👍

zcbenz added a commit that referenced this pull request Oct 8, 2015
webcontents: notify guests of embedders' zoom level change
@zcbenz zcbenz merged commit e1318ff into electron:master Oct 8, 2015
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.

None yet

2 participants