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

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: 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
===================================================================
--- content/browser/renderer_host/render_widget_host_view_mac.h (revision 130181)
+++ content/browser/renderer_host/render_widget_host_view_mac.h (working copy)
@@ -22,6 +22,7 @@
#include "webkit/glue/webcursor.h"
@class AcceleratedPluginView;
+@class FullscreenWindowManager;
class RenderWidgetHostViewMac;
@protocol RenderWidgetHostViewMacDelegate;
class RenderWidgetHostViewMacEditCommandHelper;
@@ -358,6 +359,10 @@
// Helper class for managing instances of accelerated plug-ins.
AcceleratedSurfaceContainerManagerMac plugin_container_manager_;
+ NSWindow* pepper_fullscreen_window() const {
+ return pepper_fullscreen_window_;
+ }
+
private:
friend class content::RenderWidgetHostView;
@@ -413,6 +418,10 @@
gfx::PluginWindowHandle compositing_surface_;
+ // The fullscreen window used for pepper flash.
+ scoped_nsobject<NSWindow> pepper_fullscreen_window_;
+ scoped_nsobject<FullscreenWindowManager> fullscreen_window_manager_;
+
DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac);
};

Powered by Google App Engine
This is Rietveld 408576698