Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1877)

Unified Diff: chrome/browser/plugin_process_host.h

Issue 257008: Fix several issues around fullscreen Mac plugins:... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/plugin_process_host.h
===================================================================
--- chrome/browser/plugin_process_host.h (revision 27721)
+++ chrome/browser/plugin_process_host.h (working copy)
@@ -112,6 +112,13 @@
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 @@
// 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);
};

Powered by Google App Engine
This is Rietveld 408576698