| Index: webkit/plugins/npapi/plugin_utils.h
|
| ===================================================================
|
| --- webkit/plugins/npapi/plugin_utils.h (revision 212369)
|
| +++ webkit/plugins/npapi/plugin_utils.h (working copy)
|
| @@ -6,6 +6,7 @@
|
| #define WEBKIT_PLUGINS_NPAPI_PLUGIN_UTILS_H_
|
|
|
| #include "base/strings/string16.h"
|
| +#include "ui/gfx/native_widget_types.h"
|
|
|
| namespace base {
|
| class Version;
|
| @@ -31,7 +32,26 @@
|
| // instead of exiting cleanly.
|
| bool ShouldForcefullyTerminatePluginProcess();
|
|
|
| +#if defined(OS_WIN)
|
| +// The window class name for a plugin window.
|
| +extern const char16 kNativeWindowClassName[];
|
| +extern const char16 kPluginNameAtomProperty[];
|
| +extern const char16 kPluginVersionAtomProperty[];
|
| +extern const char16 kDummyActivationWindowName[];
|
|
|
| +bool IsPluginDelegateWindow(HWND window);
|
| +bool GetPluginNameFromWindow(HWND window, base::string16* plugin_name);
|
| +bool GetPluginVersionFromWindow(HWND window, base::string16* plugin_version);
|
| +
|
| +// Returns true if the window handle passed in is that of the dummy
|
| +// activation window for windowless plugins.
|
| +bool IsDummyActivationWindow(HWND window);
|
| +
|
| +// Returns the default HWND to parent the windowed plugins and dummy windows
|
| +// for activation to when none isavailable.
|
| +HWND GetDefaultWindowParent();
|
| +#endif
|
| +
|
| } // namespace npapi
|
| } // namespace webkit
|
|
|
|
|