| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_MAIN_MAC_H_ | 5 #ifndef CHROME_BROWSER_CHROME_BROWSER_MAIN_MAC_H_ |
| 6 #define CHROME_BROWSER_CHROME_BROWSER_MAIN_MAC_H_ | 6 #define CHROME_BROWSER_CHROME_BROWSER_MAIN_MAC_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "chrome/browser/chrome_browser_main_posix.h" | 9 #include "chrome/browser/chrome_browser_main_posix.h" |
| 10 | 10 |
| 11 class ChromeBrowserMainPartsMac : public ChromeBrowserMainPartsPosix { | 11 class ChromeBrowserMainPartsMac : public ChromeBrowserMainPartsPosix { |
| 12 public: | 12 public: |
| 13 explicit ChromeBrowserMainPartsMac(const MainFunctionParams& parameters); | 13 explicit ChromeBrowserMainPartsMac(const MainFunctionParams& parameters); |
| 14 | 14 |
| 15 virtual void PreEarlyInitialization() OVERRIDE; | 15 virtual void PreEarlyInitialization() OVERRIDE; |
| 16 virtual void PreMainMessageLoopStart() OVERRIDE; | 16 virtual void PreMainMessageLoopStart() OVERRIDE; |
| 17 virtual void ShowMissingLocaleMessageBox() OVERRIDE; |
| 18 virtual int HandleIconsCommands() OVERRIDE; |
| 19 virtual bool CheckMachineLevelInstall() OVERRIDE; |
| 20 virtual void PrepareRestartOnCrashEnviroment() OVERRIDE; |
| 21 } |
| 22 |
| 17 | 23 |
| 18 // Perform platform-specific work that needs to be done after the main event | 24 // Perform platform-specific work that needs to be done after the main event |
| 19 // loop has ended. The embedder must be sure to call this. | 25 // loop has ended. The embedder must be sure to call this. |
| 20 static void DidEndMainMessageLoop(); | 26 static void DidEndMainMessageLoop(); |
| 21 }; | 27 }; |
| 22 | 28 |
| 23 #endif // CHROME_BROWSER_CHROME_BROWSER_MAIN_MAC_H_ | 29 #endif // CHROME_BROWSER_CHROME_BROWSER_MAIN_MAC_H_ |
| OLD | NEW |