[email protected] | e6b5bc2 | 2011-09-08 22:01:56 | [diff] [blame] | 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 | ||||
3 | // found in the LICENSE file. | ||||
4 | |||||
5 | #ifndef CHROME_BROWSER_CHROME_BROWSER_MAIN_MAC_H_ | ||||
6 | #define CHROME_BROWSER_CHROME_BROWSER_MAIN_MAC_H_ | ||||
7 | #pragma once | ||||
8 | |||||
9 | #include "chrome/browser/chrome_browser_main_posix.h" | ||||
10 | |||||
11 | class ChromeBrowserMainPartsMac : public ChromeBrowserMainPartsPosix { | ||||
12 | public: | ||||
13 | explicit ChromeBrowserMainPartsMac(const MainFunctionParams& parameters); | ||||
14 | |||||
[email protected] | b48c918 | 2011-10-26 18:03:30 | [diff] [blame^] | 15 | // BrowserParts overrides. |
[email protected] | e6b5bc2 | 2011-09-08 22:01:56 | [diff] [blame] | 16 | virtual void PreEarlyInitialization() OVERRIDE; |
17 | virtual void PreMainMessageLoopStart() OVERRIDE; | ||||
[email protected] | 03d8d3e9 | 2011-09-20 06:07:11 | [diff] [blame] | 18 | |
[email protected] | b48c918 | 2011-10-26 18:03:30 | [diff] [blame^] | 19 | // ChromeBrowserMainParts overrides. |
20 | virtual void ShowMissingLocaleMessageBox() OVERRIDE; | ||||
21 | |||||
[email protected] | 03d8d3e9 | 2011-09-20 06:07:11 | [diff] [blame] | 22 | // Perform platform-specific work that needs to be done after the main event |
23 | // loop has ended. The embedder must be sure to call this. | ||||
24 | static void DidEndMainMessageLoop(); | ||||
[email protected] | e6b5bc2 | 2011-09-08 22:01:56 | [diff] [blame] | 25 | }; |
26 | |||||
27 | #endif // CHROME_BROWSER_CHROME_BROWSER_MAIN_MAC_H_ |