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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: ui/base/cocoa/underlay_opengl_hosting_window.h
diff --git a/chrome/browser/ui/cocoa/chrome_browser_window.h b/ui/base/cocoa/underlay_opengl_hosting_window.h
similarity index 50%
copy from chrome/browser/ui/cocoa/chrome_browser_window.h
copy to ui/base/cocoa/underlay_opengl_hosting_window.h
index 6ea2f864b4782a5b3012116539be9c4f9a93ff4e..9e8ced5a1e666b080cfdc946b092a7c5c26547ba 100644
--- a/chrome/browser/ui/cocoa/chrome_browser_window.h
+++ b/ui/base/cocoa/underlay_opengl_hosting_window.h
@@ -2,17 +2,16 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_UI_COCOA_CHROME_BROWSER_WINDOW_H_
-#define CHROME_BROWSER_UI_COCOA_CHROME_BROWSER_WINDOW_H_
+#ifndef UI_BASE_COCOA_UNDERLAY_OPENGL_HOSTING_WINDOW_H_
+#define UI_BASE_COCOA_UNDERLAY_OPENGL_HOSTING_WINDOW_H_
#pragma once
#import <Cocoa/Cocoa.h>
-#import "chrome/browser/ui/cocoa/chrome_event_processing_window.h"
-
-// Common base class for chrome browser windows. Contains methods relating to
-// hole punching that are shared between framed and fullscreen windows.
-@interface ChromeBrowserWindow : ChromeEventProcessingWindow {
+// Common base class for windows that host a OpenGL surface that renders under
+// the window. Contains methods relating to hole punching so that the OpenGL
+// surface is visible through the window.
+@interface UnderlayOpenGLHostingWindow : NSWindow {
@private
int underlaySurfaceCount_;
}
@@ -24,4 +23,4 @@
@end
-#endif // CHROME_BROWSER_UI_COCOA_CHROME_BROWSER_WINDOW_H_
+#endif // UI_BASE_COCOA_UNDERLAY_OPENGL_HOSTING_WINDOW_H_

Powered by Google App Engine
This is Rietveld 408576698