From 1c0b391419b035f78b41ee3bce8934f42896eef2 Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Thu, 12 Dec 2013 15:49:08 +0800 Subject: [PATCH] Fix the black devtools view. Without using UnderlayOpenGLHostingWindow the devtools view would just be black. --- browser/ui/atom_event_processing_window.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/browser/ui/atom_event_processing_window.h b/browser/ui/atom_event_processing_window.h index 92a24712468c..3080084195be 100644 --- a/browser/ui/atom_event_processing_window.h +++ b/browser/ui/atom_event_processing_window.h @@ -7,10 +7,12 @@ #import +#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_;