Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2693)

Unified Diff: base/mac/mac_util.mm

Issue 1862513003: Remove NPAPI from browser and utility (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/mac/mac_util.h ('k') | chrome/app/chrome_crash_reporter_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « base/mac/mac_util.h ('k') | chrome/app/chrome_crash_reporter_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698