From ac685892916b55e2c757c72eb39a34eb4eedbcbd Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Wed, 25 Sep 2013 16:18:46 +0800 Subject: [PATCH] cocoa: Don't use Chrome's UnderlayOpenGLHostingWindow. The UnderlayOpenGLHostingWindow would add a semi-transparent layer under the window, I'm not very sure what does this class exactly do, but removing it seems no harm to the renderer. Fixes atom/atom#877. --- browser/atom_event_processing_window.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/browser/atom_event_processing_window.h b/browser/atom_event_processing_window.h index d9874dd77c52..cb13025f3d40 100644 --- a/browser/atom_event_processing_window.h +++ b/browser/atom_event_processing_window.h @@ -8,12 +8,11 @@ #import #include "base/memory/scoped_nsobject.h" -#import "ui/base/cocoa/underlay_opengl_hosting_window.h" // Override NSWindow to access unhandled keyboard events (for command // processing); subclassing NSWindow is the only method to do // this. -@interface AtomEventProcessingWindow : UnderlayOpenGLHostingWindow { +@interface AtomEventProcessingWindow : NSWindow { @private BOOL redispatchingEvent_; BOOL eventHandled_;