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

Side by Side Diff: chrome/browser/chrome_application_mac.mm

Issue 269048: SIGTERM should cause the application to exit on the Mac (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 11 years, 2 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/chrome_application_mac.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « chrome/browser/chrome_application_mac.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698