mirror of
https://github.com/electron/electron.git
synced 2026-01-10 07:58:08 -05:00
2
atom.gyp
2
atom.gyp
@@ -4,7 +4,7 @@
|
||||
'product_name%': 'Electron',
|
||||
'company_name%': 'GitHub, Inc',
|
||||
'company_abbr%': 'github',
|
||||
'version%': '0.35.4',
|
||||
'version%': '0.36.0',
|
||||
},
|
||||
'includes': [
|
||||
'filenames.gypi',
|
||||
|
||||
@@ -18,7 +18,6 @@
|
||||
#include "content/public/browser/render_view_host.h"
|
||||
#include "content/public/browser/render_widget_host_view.h"
|
||||
#include "native_mate/dictionary.h"
|
||||
#import "ui/base/cocoa/command_dispatcher.h"
|
||||
#include "ui/gfx/skia_util.h"
|
||||
|
||||
namespace {
|
||||
@@ -209,11 +208,10 @@ bool ScopedDisableResize::disable_resize_ = false;
|
||||
|
||||
@end
|
||||
|
||||
@interface AtomNSWindow : NSWindow<CommandDispatchingWindow> {
|
||||
@interface AtomNSWindow : NSWindow {
|
||||
@private
|
||||
atom::NativeWindowMac* shell_;
|
||||
bool enable_larger_than_screen_;
|
||||
base::scoped_nsobject<CommandDispatcher> commandDispatcher_;
|
||||
}
|
||||
@property BOOL acceptsFirstMouse;
|
||||
@property BOOL disableAutoHideCursor;
|
||||
@@ -227,7 +225,6 @@ bool ScopedDisableResize::disable_resize_ = false;
|
||||
|
||||
- (void)setShell:(atom::NativeWindowMac*)shell {
|
||||
shell_ = shell;
|
||||
commandDispatcher_.reset([[CommandDispatcher alloc] initWithOwner:self]);
|
||||
}
|
||||
|
||||
- (void)setEnableLargerThanScreen:(bool)enable {
|
||||
@@ -276,25 +273,6 @@ bool ScopedDisableResize::disable_resize_ = false;
|
||||
return !self.disableKeyOrMainWindow;
|
||||
}
|
||||
|
||||
// CommandDispatchingWindow implementation.
|
||||
|
||||
- (void)setCommandHandler:(id<UserInterfaceItemCommandHandler>)commandHandler {
|
||||
}
|
||||
|
||||
- (BOOL)redispatchKeyEvent:(NSEvent*)event {
|
||||
return [commandDispatcher_ redispatchKeyEvent:event];
|
||||
}
|
||||
|
||||
- (BOOL)defaultPerformKeyEquivalent:(NSEvent*)event {
|
||||
return [super performKeyEquivalent:event];
|
||||
}
|
||||
|
||||
- (void)commandDispatch:(id)sender {
|
||||
}
|
||||
|
||||
- (void)commandDispatchUsingKeyModifiers:(id)sender {
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
@interface ControlRegionView : NSView
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
#ifndef ATOM_COMMON_CHROME_VERSION_H_
|
||||
#define ATOM_COMMON_CHROME_VERSION_H_
|
||||
|
||||
#define CHROME_VERSION_STRING "45.0.2454.85"
|
||||
#define CHROME_VERSION_STRING "47.0.2526.73"
|
||||
#define CHROME_VERSION "v" CHROME_VERSION_STRING
|
||||
|
||||
#endif // ATOM_COMMON_CHROME_VERSION_H_
|
||||
|
||||
@@ -196,7 +196,7 @@ def create_chrome_version_h():
|
||||
def touch_config_gypi():
|
||||
config_gypi = os.path.join(SOURCE_ROOT, 'vendor', 'node', 'config.gypi')
|
||||
with open(config_gypi, 'w+') as f:
|
||||
content = '\n{}'
|
||||
content = "\n{'variables':{}}"
|
||||
if f.read() != content:
|
||||
f.write(content)
|
||||
|
||||
|
||||
2
vendor/brightray
vendored
2
vendor/brightray
vendored
Submodule vendor/brightray updated: 878e63860b...9b4d052d2a
2
vendor/node
vendored
2
vendor/node
vendored
Submodule vendor/node updated: 97d9298d8a...38d7918434
Reference in New Issue
Block a user