| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #import "chrome/browser/chrome_application_mac.h" | 5 #import "chrome/browser/chrome_application_mac.h" |
| 6 | 6 |
| 7 @implementation CrApplication | 7 @implementation CrApplication |
| 8 | 8 |
| 9 // -terminate: is the entry point for orderly "quit" operations in Cocoa. | 9 // -terminate: is the entry point for orderly "quit" operations in Cocoa. |
| 10 // This includes the application menu's quit menu item and keyboard | 10 // This includes the application menu's quit menu item and keyboard |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 } | 77 } |
| 78 if (!found) { | 78 if (!found) { |
| 79 return NO; | 79 return NO; |
| 80 } | 80 } |
| 81 } | 81 } |
| 82 | 82 |
| 83 return [super sendAction:anAction to:aTarget from:sender]; | 83 return [super sendAction:anAction to:aTarget from:sender]; |
| 84 } | 84 } |
| 85 | 85 |
| 86 @end | 86 @end |
| 87 |
| 88 namespace CrApplicationCC { |
| 89 |
| 90 void Terminate() { |
| 91 [NSApp terminate:nil]; |
| 92 } |
| 93 |
| 94 } // namespace CrApplicationCC |
| OLD | NEW |