Home | History | Annotate | Download | only in cocoa
      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
      3 // found in the LICENSE file.
      4 
      5 #ifndef UI_BASE_COCOA_UNDERLAY_OPENGL_HOSTING_WINDOW_H_
      6 #define UI_BASE_COCOA_UNDERLAY_OPENGL_HOSTING_WINDOW_H_
      7 
      8 #import <Cocoa/Cocoa.h>
      9 
     10 #include "ui/base/ui_export.h"
     11 
     12 // Common base class for windows that host a OpenGL surface that renders under
     13 // the window. Contains methods relating to hole punching so that the OpenGL
     14 // surface is visible through the window.
     15 UI_EXPORT
     16 @interface UnderlayOpenGLHostingWindow : NSWindow
     17 @end
     18 
     19 #endif  // UI_BASE_COCOA_UNDERLAY_OPENGL_HOSTING_WINDOW_H_
     20