🍎 Add 'Hide' to App API for OS X only
This commit is contained in:
parent
30b35644f6
commit
7a370ccd0f
4 changed files with 12 additions and 0 deletions
|
@ -18,6 +18,10 @@ void Browser::Focus() {
|
|||
[[AtomApplication sharedApplication] activateIgnoringOtherApps:YES];
|
||||
}
|
||||
|
||||
void Browser::Hide() {
|
||||
[[AtomApplication sharedApplication] hide:nil];
|
||||
}
|
||||
|
||||
void Browser::AddRecentDocument(const base::FilePath& path) {
|
||||
NSString* path_string = base::mac::FilePathToNSString(path);
|
||||
if (!path_string)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue