mac: Override system's default on resizing window no larger than screen.
This commit is contained in:
parent
d4fb1c1f8c
commit
4b90c02420
1 changed files with 5 additions and 0 deletions
|
@ -120,6 +120,11 @@ static const CGFloat kAtomWindowCornerRadius = 4.0;
|
|||
shell_ = shell;
|
||||
}
|
||||
|
||||
// Enable the window to be larger than screen.
|
||||
- (NSRect)constrainFrameRect:(NSRect)frameRect toScreen:(NSScreen*)screen {
|
||||
return frameRect;
|
||||
}
|
||||
|
||||
- (IBAction)reload:(id)sender {
|
||||
shell_->GetWebContents()->GetController().ReloadIgnoringCache(false);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue