commit | 3b48dbc794dd45719eb6047968eb1946d39fe59e | [log] [tgz] |
---|---|---|
author | [email protected] <[email protected]@0039d316-1c4b-4281-b951-d872f2087c98> | Fri Jan 06 16:34:17 2012 |
committer | [email protected] <[email protected]@0039d316-1c4b-4281-b951-d872f2087c98> | Fri Jan 06 16:34:17 2012 |
tree | 61cdc08668739748a0a2de3aa5e582b2b7c4a92c | |
parent | 67edf3b5a450c34ded10e67783500376248ba85e [diff] [blame] |
Automatically load newly installed plug-ins if they are missing on a page. To enable this on Mac OS, we also enable plug-in directory watching there. There shouldn't be any false positives causing unnecessary disk hits anymore. BUG=62079 TEST=go to http://www.corp.google.com/~bauerb/no_crawl/test/install_plugin.html, install the missing plug-in. It should automatically load. Review URL: http://codereview.chromium.org/9015025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116671 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/content/renderer/render_thread_impl.cc b/content/renderer/render_thread_impl.cc index 68bce89..c188d1e 100644 --- a/content/renderer/render_thread_impl.cc +++ b/content/renderer/render_thread_impl.cc
@@ -831,6 +831,8 @@ plugin_refresh_allowed_ = false; WebKit::resetPluginCache(reload_pages); plugin_refresh_allowed_ = true; + + FOR_EACH_OBSERVER(RenderProcessObserver, observers_, PluginListChanged()); } void RenderThreadImpl::OnNetworkStateChanged(bool online) {