Break out EventDispatchingWindow into separate class
This commit is contained in:
parent
df726d0f41
commit
8bee2d7b7f
4 changed files with 56 additions and 38 deletions
19
brightray/browser/mac/event_dispatching_window.h
Normal file
19
brightray/browser/mac/event_dispatching_window.h
Normal file
|
@ -0,0 +1,19 @@
|
|||
// Copyright (c) 2016 GitHub, Inc.
|
||||
// Use of this source code is governed by the MIT license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef BROWSER_EVENT_DISPATCHING_WINDOW_H_
|
||||
#define BROWSER_EVENT_DISPATCHING_WINDOW_H_
|
||||
|
||||
#import "ui/base/cocoa/underlay_opengl_hosting_window.h"
|
||||
|
||||
@interface EventDispatchingWindow : UnderlayOpenGLHostingWindow {
|
||||
@private
|
||||
BOOL redispatchingEvent_;
|
||||
}
|
||||
|
||||
- (void)redispatchKeyEvent:(NSEvent*)event;
|
||||
|
||||
@end
|
||||
|
||||
#endif // BROWSER_EVENT_DISPATCHING_WINDOW_H_
|
Loading…
Add table
Add a link
Reference in a new issue