From: Cheng Zhao Date: Wed, 25 Sep 2013 08:18:46 +0000 (+0800) Subject: cocoa: Don't use Chrome's UnderlayOpenGLHostingWindow. X-Git-Tag: v0.5.0~2 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=ac685892916b55e2c757c72eb39a34eb4eedbcbd;p=electron.git 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. --- diff --git a/browser/atom_event_processing_window.h b/browser/atom_event_processing_window.h index d9874dd7..cb13025f 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_;