| Index: base/mac/mac_util.mm
|
| diff --git a/base/mac/mac_util.mm b/base/mac/mac_util.mm
|
| index 75ebb8443dde7b4116d5be9baa3f440787eab5bd..68211b0c6236ebfc0992ef80352507c8e6b2e906 100644
|
| --- a/base/mac/mac_util.mm
|
| +++ b/base/mac/mac_util.mm
|
| @@ -218,23 +218,6 @@ void SwitchFullScreenModes(FullScreenMode from_mode, FullScreenMode to_mode) {
|
| SetUIMode();
|
| }
|
|
|
| -void SetCursorVisibility(bool visible) {
|
| - if (visible)
|
| - [NSCursor unhide];
|
| - else
|
| - [NSCursor hide];
|
| -}
|
| -
|
| -void ActivateProcess(pid_t pid) {
|
| - ProcessSerialNumber process;
|
| - OSStatus status = GetProcessForPID(pid, &process);
|
| - if (status == noErr) {
|
| - SetFrontProcess(&process);
|
| - } else {
|
| - OSSTATUS_DLOG(WARNING, status) << "Unable to get process for pid " << pid;
|
| - }
|
| -}
|
| -
|
| bool AmIForeground() {
|
| ProcessSerialNumber foreground_psn = { 0 };
|
| OSErr err = GetFrontProcess(&foreground_psn);
|
|
|