| Index: content/browser/browser_plugin/browser_plugin_embedder.cc
|
| diff --git a/content/browser/browser_plugin/browser_plugin_embedder.cc b/content/browser/browser_plugin/browser_plugin_embedder.cc
|
| index 1c0df05c942df80066710c2447d21e5c0403765c..bccd6e69fe77cbeb2b267f92a30a282cceb89f4d 100644
|
| --- a/content/browser/browser_plugin/browser_plugin_embedder.cc
|
| +++ b/content/browser/browser_plugin/browser_plugin_embedder.cc
|
| @@ -86,23 +86,6 @@ void BrowserPluginEmbedder::DidSendScreenRects() {
|
| base::Unretained(this)));
|
| }
|
|
|
| -bool BrowserPluginEmbedder::SetZoomLevelCallback(
|
| - double level, WebContents* guest_web_contents) {
|
| - double zoom_factor = content::ZoomLevelToZoomFactor(level);
|
| - static_cast<WebContentsImpl*>(guest_web_contents)->GetBrowserPluginGuest()->
|
| - SetZoom(zoom_factor);
|
| - // Not handled => Iterate over all guests.
|
| - return false;
|
| -}
|
| -
|
| -void BrowserPluginEmbedder::SetZoomLevel(double level) {
|
| - GetBrowserPluginGuestManager()->ForEachGuest(
|
| - GetWebContents(), base::Bind(
|
| - &BrowserPluginEmbedder::SetZoomLevelCallback,
|
| - base::Unretained(this),
|
| - level));
|
| -}
|
| -
|
| bool BrowserPluginEmbedder::OnMessageReceived(const IPC::Message& message) {
|
| bool handled = true;
|
| IPC_BEGIN_MESSAGE_MAP(BrowserPluginEmbedder, message)
|
|
|