| 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 1178bf924891e3ca6c1b4041e7e74f25a170398a..e66d11b93ddc66d39cfce0b1fc7a691868046abb 100644
|
| --- a/content/browser/web_contents/web_contents_impl.cc
|
| +++ b/content/browser/web_contents/web_contents_impl.cc
|
| @@ -2126,6 +2126,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))
|
|
|