| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 #ifndef CHROME_BROWSER_CHROME_BROWSER_APPLICATION_MAC_H_ | 5 #ifndef CHROME_BROWSER_CHROME_BROWSER_APPLICATION_MAC_H_ |
| 6 #define CHROME_BROWSER_CHROME_BROWSER_APPLICATION_MAC_H_ | 6 #define CHROME_BROWSER_CHROME_BROWSER_APPLICATION_MAC_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #ifdef __OBJC__ | 9 #ifdef __OBJC__ |
| 10 | 10 |
| 11 #import "base/chrome_application_mac.h" | 11 #import "chrome/common/chrome_application_mac.h" |
| 12 | 12 |
| 13 @interface BrowserCrApplication : CrApplication | 13 @interface BrowserCrApplication : CrApplication |
| 14 // Our implementation of |-terminate:| only attempts to terminate the | 14 // Our implementation of |-terminate:| only attempts to terminate the |
| 15 // application, i.e., begins a process which may lead to termination. This | 15 // application, i.e., begins a process which may lead to termination. This |
| 16 // method cancels that process. | 16 // method cancels that process. |
| 17 - (void)cancelTerminate:(id)sender; | 17 - (void)cancelTerminate:(id)sender; |
| 18 @end | 18 @end |
| 19 | 19 |
| 20 namespace chrome_browser_application_mac { | 20 namespace chrome_browser_application_mac { |
| 21 | 21 |
| (...skipping 16 matching lines...) Expand all Loading... |
| 38 | 38 |
| 39 // Calls -[NSApp terminate:]. | 39 // Calls -[NSApp terminate:]. |
| 40 void Terminate(); | 40 void Terminate(); |
| 41 | 41 |
| 42 // Cancels a termination started by |Terminate()|. | 42 // Cancels a termination started by |Terminate()|. |
| 43 void CancelTerminate(); | 43 void CancelTerminate(); |
| 44 | 44 |
| 45 } // namespace chrome_browser_application_mac | 45 } // namespace chrome_browser_application_mac |
| 46 | 46 |
| 47 #endif // CHROME_BROWSER_CHROME_BROWSER_APPLICATION_MAC_H_ | 47 #endif // CHROME_BROWSER_CHROME_BROWSER_APPLICATION_MAC_H_ |
| OLD | NEW |