diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-23 23:16:27 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-23 23:16:27 +0000 |
commit | b547fd44ca39e90e6416da8a5ffc040fa9d2446c (patch) | |
tree | e99a4dd4e1d05e0d8ceb2c1db2f8c45ba4b2bc2a /webkit/glue | |
parent | b2225f18acfce00b1a8a9f25a7ad2ef8450bb6a9 (diff) | |
download | chromium_src-b547fd44ca39e90e6416da8a5ffc040fa9d2446c.zip chromium_src-b547fd44ca39e90e6416da8a5ffc040fa9d2446c.tar.gz chromium_src-b547fd44ca39e90e6416da8a5ffc040fa9d2446c.tar.bz2 |
Allow Flash (and other plugins) to be installed without restarting the browser. This works by monitoring the MozillaPlugins registry key and reloading the plugin list afterwards.
Note: I'll commit the WebKit change separately, but putting it in this change right now so everything can be reviewed together.
BUG=10574
Review URL: http://codereview.chromium.org/88020
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14377 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue')
-rw-r--r-- | webkit/glue/plugins/plugin_constants_win.h | 3 | ||||
-rw-r--r-- | webkit/glue/plugins/plugin_list_win.cc | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/webkit/glue/plugins/plugin_constants_win.h b/webkit/glue/plugins/plugin_constants_win.h index 170ae62..d2a93bda 100644 --- a/webkit/glue/plugins/plugin_constants_win.h +++ b/webkit/glue/plugins/plugin_constants_win.h @@ -33,4 +33,7 @@ // plugin process to paint a window. #define kPaintMessageName L"Chrome_CustomPaint" +// The name of the registry key which NPAPI plugins update on installation. +#define kRegistryMozillaPlugins L"SOFTWARE\\MozillaPlugins" + #endif // WEBKIT_GLUE_PLUGIN_PLUGIN_LIST_H_ diff --git a/webkit/glue/plugins/plugin_list_win.cc b/webkit/glue/plugins/plugin_list_win.cc index b91c54d..ebe5312 100644 --- a/webkit/glue/plugins/plugin_list_win.cc +++ b/webkit/glue/plugins/plugin_list_win.cc @@ -26,7 +26,6 @@ const TCHAR kRegistryAcrobatReader[] = _T("AcroRd32.exe"); const TCHAR kRegistryWindowsMedia[] = _T("wmplayer.exe"); const TCHAR kRegistryQuickTime[] = _T("QuickTimePlayer.exe"); const TCHAR kRegistryPath[] = _T("Path"); -const TCHAR kRegistryMozillaPlugins[] = _T("SOFTWARE\\MozillaPlugins"); const TCHAR kRegistryFirefoxInstalled[] = _T("SOFTWARE\\Mozilla\\Mozilla Firefox"); const TCHAR kMozillaActiveXPlugin[] = _T("npmozax.dll"); |