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

Unified Diff: content/browser/renderer_host/render_widget_host_view_mac.h

Issue 9838071: Implement pepper flash fullscreen on Mac (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: test Created 8 years, 9 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: content/browser/renderer_host/render_widget_host_view_mac.h
diff --git a/content/browser/renderer_host/render_widget_host_view_mac.h b/content/browser/renderer_host/render_widget_host_view_mac.h
index efcaee8b765021330f000a60b50f808bbee83653..5f0f105f8b3b371eaade931e86817b7c1e57b7ad 100644
--- a/content/browser/renderer_host/render_widget_host_view_mac.h
+++ b/content/browser/renderer_host/render_widget_host_view_mac.h
@@ -21,6 +21,7 @@
#include "webkit/glue/webcursor.h"
@class AcceleratedPluginView;
+@class FullscreenWindowManager;
class RenderWidgetHostImpl;
class RenderWidgetHostViewMac;
@protocol RenderWidgetHostViewMacDelegate;
@@ -347,6 +348,8 @@ class RenderWidgetHostViewMac : public content::RenderWidgetHostViewBase {
// Helper class for managing instances of accelerated plug-ins.
AcceleratedSurfaceContainerManagerMac plugin_container_manager_;
+ NSWindow* fullscreen_window() const { return fullscreen_window_; }
+
private:
friend class content::RenderWidgetHostView;
@@ -402,6 +405,10 @@ class RenderWidgetHostViewMac : public content::RenderWidgetHostViewBase {
gfx::PluginWindowHandle compositing_surface_;
+ // The fullscreen window used for pepper flash.
+ scoped_nsobject<NSWindow> fullscreen_window_;
+ scoped_nsobject<FullscreenWindowManager> fullscreen_window_manager_;
+
DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac);
};

Powered by Google App Engine
This is Rietveld 408576698