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

Side by Side Diff: ui/base/cocoa/underlay_opengl_hosting_window.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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_COCOA_CHROME_BROWSER_WINDOW_H_ 5 #ifndef UI_BASE_COCOA_UNDERLAY_OPENGL_HOSTING_WINDOW_H_
6 #define CHROME_BROWSER_UI_COCOA_CHROME_BROWSER_WINDOW_H_ 6 #define UI_BASE_COCOA_UNDERLAY_OPENGL_HOSTING_WINDOW_H_
7 #pragma once 7 #pragma once
8 8
9 #import <Cocoa/Cocoa.h> 9 #import <Cocoa/Cocoa.h>
10 10
11 #import "chrome/browser/ui/cocoa/chrome_event_processing_window.h" 11 // Common base class for windows that host a OpenGL surface that renders under
12 12 // the window. Contains methods relating to hole punching so that the OpenGL
13 // Common base class for chrome browser windows. Contains methods relating to 13 // surface is visible through the window.
14 // hole punching that are shared between framed and fullscreen windows. 14 @interface UnderlayOpenGLHostingWindow : NSWindow {
15 @interface ChromeBrowserWindow : ChromeEventProcessingWindow {
16 @private 15 @private
17 int underlaySurfaceCount_; 16 int underlaySurfaceCount_;
18 } 17 }
19 18
20 // Informs the window that an underlay surface has been added/removed. The 19 // Informs the window that an underlay surface has been added/removed. The
21 // window is non-opaque while underlay surfaces are present. 20 // window is non-opaque while underlay surfaces are present.
22 - (void)underlaySurfaceAdded; 21 - (void)underlaySurfaceAdded;
23 - (void)underlaySurfaceRemoved; 22 - (void)underlaySurfaceRemoved;
24 23
25 @end 24 @end
26 25
27 #endif // CHROME_BROWSER_UI_COCOA_CHROME_BROWSER_WINDOW_H_ 26 #endif // UI_BASE_COCOA_UNDERLAY_OPENGL_HOSTING_WINDOW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698