Fix the black devtools view.

Without using UnderlayOpenGLHostingWindow the devtools view would just
be black.
This commit is contained in:
Cheng Zhao 2013-12-12 15:49:08 +08:00
parent 28f5d184b3
commit 1c0b391419

View file

@ -7,10 +7,12 @@
#import <Cocoa/Cocoa.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 : NSWindow {
@interface AtomEventProcessingWindow : UnderlayOpenGLHostingWindow {
@private
BOOL redispatchingEvent_;
BOOL eventHandled_;