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

Unified Diff: ui/base/cocoa/underlay_opengl_hosting_window.h

Issue 10037008: Fix window shadows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixed sort Created 8 years, 8 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/ui/base/cocoa/underlay_opengl_hosting_window.h b/ui/base/cocoa/underlay_opengl_hosting_window.h
index caa3cf0ae2e6ad6bd5fbaa64853c823b8805a41f..771b2f5b3f02e487e75cdde19c12b82ca6c2d51c 100644
--- a/ui/base/cocoa/underlay_opengl_hosting_window.h
+++ b/ui/base/cocoa/underlay_opengl_hosting_window.h
@@ -8,25 +8,15 @@
#import <Cocoa/Cocoa.h>
-// Protocol implemented by windows that need to be informed explicitly about
-// underlay surfaces.
-@protocol UnderlayableSurface
-- (void)underlaySurfaceAdded;
-- (void)underlaySurfaceRemoved;
-@end
-
// 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<UnderlayableSurface> {
- @private
- int underlaySurfaceCount_;
-}
+@interface UnderlayOpenGLHostingWindow : NSWindow
-// Informs the window that an underlay surface has been added/removed. The
-// window is non-opaque while underlay surfaces are present.
-- (void)underlaySurfaceAdded;
-- (void)underlaySurfaceRemoved;
+- (id)initWithContentRect:(NSRect)contentRect
Mark Mentovai 2012/04/10 19:08:30 You don’t need to declare this here. It’s already
Avi (use Gerrit) 2012/04/10 19:42:50 Done.
+ styleMask:(NSUInteger)windowStyle
+ backing:(NSBackingStoreType)bufferingType
+ defer:(BOOL)deferCreation;
@end

Powered by Google App Engine
This is Rietveld 408576698