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.
This commit is contained in:
parent
bc95cac3ed
commit
ac68589291
1 changed files with 1 additions and 2 deletions
|
@ -8,12 +8,11 @@
|
||||||
#import <Cocoa/Cocoa.h>
|
#import <Cocoa/Cocoa.h>
|
||||||
|
|
||||||
#include "base/memory/scoped_nsobject.h"
|
#include "base/memory/scoped_nsobject.h"
|
||||||
#import "ui/base/cocoa/underlay_opengl_hosting_window.h"
|
|
||||||
|
|
||||||
// Override NSWindow to access unhandled keyboard events (for command
|
// Override NSWindow to access unhandled keyboard events (for command
|
||||||
// processing); subclassing NSWindow is the only method to do
|
// processing); subclassing NSWindow is the only method to do
|
||||||
// this.
|
// this.
|
||||||
@interface AtomEventProcessingWindow : UnderlayOpenGLHostingWindow {
|
@interface AtomEventProcessingWindow : NSWindow {
|
||||||
@private
|
@private
|
||||||
BOOL redispatchingEvent_;
|
BOOL redispatchingEvent_;
|
||||||
BOOL eventHandled_;
|
BOOL eventHandled_;
|
||||||
|
|
Loading…
Reference in a new issue