| Index: content/browser/web_contents/web_contents_impl.cc
|
| diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc
|
| index 3dfd6ed3b55a4304067bb6beec1b17f52049550b..c7aff0c821b4deeafe9cc4bd42d541eb9e87da08 100644
|
| --- a/content/browser/web_contents/web_contents_impl.cc
|
| +++ b/content/browser/web_contents/web_contents_impl.cc
|
| @@ -2132,6 +2132,13 @@ bool WebContentsImpl::IsSubframe() const {
|
| return is_subframe_;
|
| }
|
|
|
| +void WebContentsImpl::SetZoomLevel(double level) {
|
| + Send(new ViewMsg_SetZoomLevel(GetRoutingID(), level));
|
| + BrowserPluginEmbedder* embedder = GetBrowserPluginEmbedder();
|
| + if (embedder)
|
| + embedder->SetZoomLevel(level);
|
| +}
|
| +
|
| bool WebContentsImpl::FocusLocationBarByDefault() {
|
| NavigationEntry* entry = controller_.GetVisibleEntry();
|
| if (entry && entry->GetURL() == GURL(kAboutBlankURL))
|
|
|