| Index: content/renderer/browser_plugin/browser_plugin_manager.cc
|
| diff --git a/content/renderer/browser_plugin/browser_plugin_manager.cc b/content/renderer/browser_plugin/browser_plugin_manager.cc
|
| index c7458e15c6d804eec87a351ecc5241811105f471..32be3dd726c6f4185169d810de8c93c4a1064c39 100644
|
| --- a/content/renderer/browser_plugin/browser_plugin_manager.cc
|
| +++ b/content/renderer/browser_plugin/browser_plugin_manager.cc
|
| @@ -6,8 +6,9 @@
|
|
|
| #include "base/lazy_instance.h"
|
| #include "base/threading/thread_local.h"
|
| +#include "content/common/browser_plugin_messages.h"
|
| #include "content/public/renderer/render_thread.h"
|
| -#include "content/renderer/browser_plugin/browser_plugin.h"
|
| +#include "content/renderer/browser_plugin/browser_plugin_impl.h"
|
| #include "content/renderer/browser_plugin/browser_plugin_manager_factory.h"
|
| #include "content/renderer/browser_plugin/browser_plugin_manager_impl.h"
|
|
|
| @@ -33,7 +34,7 @@ BrowserPluginManager::~BrowserPluginManager() {
|
|
|
| void BrowserPluginManager::AddBrowserPlugin(
|
| int instance_id,
|
| - BrowserPlugin* browser_plugin) {
|
| + BrowserPluginImpl* browser_plugin) {
|
| instances_.AddWithID(browser_plugin, instance_id);
|
| }
|
|
|
| @@ -41,12 +42,13 @@ void BrowserPluginManager::RemoveBrowserPlugin(int instance_id) {
|
| instances_.Remove(instance_id);
|
| }
|
|
|
| -BrowserPlugin* BrowserPluginManager::GetBrowserPlugin(int instance_id) const {
|
| +BrowserPluginImpl* BrowserPluginManager::GetBrowserPlugin(
|
| + int instance_id) const {
|
| return instances_.Lookup(instance_id);
|
| }
|
|
|
| void BrowserPluginManager::UpdateFocusState() {
|
| - IDMap<BrowserPlugin>::iterator iter(&instances_);
|
| + IDMap<BrowserPluginImpl>::iterator iter(&instances_);
|
| while (!iter.IsAtEnd()) {
|
| iter.GetCurrentValue()->UpdateGuestFocusState();
|
| iter.Advance();
|
|
|