parent
4f6d24026d
commit
2fcb785d3e
2 changed files with 2 additions and 2 deletions
|
@ -21,7 +21,7 @@ class AtomNativeWidgetMac : public views::NativeWidgetMac {
|
||||||
protected:
|
protected:
|
||||||
// NativeWidgetMac:
|
// NativeWidgetMac:
|
||||||
NativeWidgetMacNSWindow* CreateNSWindow(
|
NativeWidgetMacNSWindow* CreateNSWindow(
|
||||||
const views_bridge_mac::mojom::CreateWindowParams* params) override;
|
const remote_cocoa::mojom::CreateWindowParams* params) override;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
NativeWindowMac* shell_;
|
NativeWindowMac* shell_;
|
||||||
|
|
|
@ -19,7 +19,7 @@ AtomNativeWidgetMac::AtomNativeWidgetMac(
|
||||||
AtomNativeWidgetMac::~AtomNativeWidgetMac() {}
|
AtomNativeWidgetMac::~AtomNativeWidgetMac() {}
|
||||||
|
|
||||||
NativeWidgetMacNSWindow* AtomNativeWidgetMac::CreateNSWindow(
|
NativeWidgetMacNSWindow* AtomNativeWidgetMac::CreateNSWindow(
|
||||||
const views_bridge_mac::mojom::CreateWindowParams* params) {
|
const remote_cocoa::mojom::CreateWindowParams* params) {
|
||||||
return [[[AtomNSWindow alloc] initWithShell:shell_
|
return [[[AtomNSWindow alloc] initWithShell:shell_
|
||||||
styleMask:style_mask_] autorelease];
|
styleMask:style_mask_] autorelease];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue