Merge pull request #6068 from electron/redispatch-events

Redispatch events to handle native OSX shortcuts
This commit is contained in:
Cheng Zhao 2016-06-19 11:22:02 +00:00 committed by GitHub
commit 6f4899bd94
3 changed files with 10 additions and 14 deletions

View file

@ -15,6 +15,7 @@
#include "base/strings/sys_string_conversions.h"
#include "brightray/browser/inspectable_web_contents.h"
#include "brightray/browser/inspectable_web_contents_view.h"
#include "brightray/browser/mac/event_dispatching_window.h"
#include "content/public/browser/browser_accessibility_state.h"
#include "content/public/browser/web_contents.h"
#include "content/public/browser/render_view_host.h"
@ -270,7 +271,7 @@ bool ScopedDisableResize::disable_resize_ = false;
@end
@interface AtomNSWindow : NSWindow {
@interface AtomNSWindow : EventDispatchingWindow {
@private
atom::NativeWindowMac* shell_;
bool enable_larger_than_screen_;