diff options
Diffstat (limited to 'chrome/browser/plugin_process_host.h')
-rw-r--r-- | chrome/browser/plugin_process_host.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/chrome/browser/plugin_process_host.h b/chrome/browser/plugin_process_host.h index 36f8d1e..6c5e17f 100644 --- a/chrome/browser/plugin_process_host.h +++ b/chrome/browser/plugin_process_host.h @@ -112,6 +112,13 @@ class PluginProcessHost : public ChildProcessHost, void OnMapNativeViewId(gfx::NativeViewId id, gfx::PluginWindowHandle* output); #endif +#if defined(OS_MACOSX) + void OnPluginSelectWindow(uint32 window_id, gfx::Rect window_rect); + void OnPluginShowWindow(uint32 window_id, gfx::Rect window_rect); + void OnPluginHideWindow(uint32 window_id, gfx::Rect window_rect); + void OnPluginDisposeWindow(uint32 window_id, gfx::Rect window_rect); +#endif + virtual bool CanShutdown() { return sent_requests_.empty(); } struct ChannelRequest { @@ -143,6 +150,10 @@ class PluginProcessHost : public ChildProcessHost, // Tracks plugin parent windows created on the UI thread. std::set<HWND> plugin_parent_windows_set_; #endif +#if defined(OS_MACOSX) + // Tracks plugin windows currently visible + std::set<uint32> plugin_visible_windows_set_; +#endif DISALLOW_COPY_AND_ASSIGN(PluginProcessHost); }; |