| Index: base/mac/mac_util.mm
|
| diff --git a/base/mac/mac_util.mm b/base/mac/mac_util.mm
|
| index 55c4b7d4a4424d8ae9c74bcfcc833edb04efce39..bdf45deb5bd2014d90a27879dcc79f8811a8cb59 100644
|
| --- a/base/mac/mac_util.mm
|
| +++ b/base/mac/mac_util.mm
|
| @@ -225,19 +225,6 @@ void SetCursorVisibility(bool visible) {
|
| [NSCursor hide];
|
| }
|
|
|
| -bool ShouldWindowsMiniaturizeOnDoubleClick() {
|
| - // We use an undocumented method in Cocoa; if it doesn't exist, default to
|
| - // |true|. If it ever goes away, we can do (using an undocumented pref key):
|
| - // NSUserDefaults* defaults = [NSUserDefaults standardUserDefaults];
|
| - // return ![defaults objectForKey:@"AppleMiniaturizeOnDoubleClick"] ||
|
| - // [defaults boolForKey:@"AppleMiniaturizeOnDoubleClick"];
|
| - BOOL methodImplemented =
|
| - [NSWindow respondsToSelector:@selector(_shouldMiniaturizeOnDoubleClick)];
|
| - DCHECK(methodImplemented);
|
| - return !methodImplemented ||
|
| - [NSWindow performSelector:@selector(_shouldMiniaturizeOnDoubleClick)];
|
| -}
|
| -
|
| void ActivateProcess(pid_t pid) {
|
| ProcessSerialNumber process;
|
| OSStatus status = GetProcessForPID(pid, &process);
|
|
|