Chromium Code Reviews
DescriptionRemove deprecated APIs from OpenApplicationWithPath.
-[NSWorkspace launchApplicationAtURL:...] is a drop-in replacement for
LSOpenApplication. The one tricky bit is that LSOpenApplication returns a
ProcessSerialNumber which NSRunningApplication does not have. It seems like we
were only using that ProcessSerialNumber to send an Apple Event, which we can do
directly with launchApplicationAtURL:..., so I just used that instead.
BUG=650790
Patch Set 1 #Patch Set 2 : Clean up. #Patch Set 3 : More cleanup. #
Messages
Total messages: 11 (7 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||