OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 // Contains functions used by BrowserMain() that are win32-specific. | 5 // Contains functions used by BrowserMain() that are win32-specific. |
6 | 6 |
7 #ifndef CHROME_BROWSER_CHROME_BROWSER_MAIN_WIN_H_ | 7 #ifndef CHROME_BROWSER_CHROME_BROWSER_MAIN_WIN_H_ |
8 #define CHROME_BROWSER_CHROME_BROWSER_MAIN_WIN_H_ | 8 #define CHROME_BROWSER_CHROME_BROWSER_MAIN_WIN_H_ |
9 | 9 |
10 #include "chrome/browser/chrome_browser_main.h" | 10 #include "chrome/browser/chrome_browser_main.h" |
(...skipping 14 matching lines...) Expand all Loading... |
25 | 25 |
26 virtual ~ChromeBrowserMainPartsWin(); | 26 virtual ~ChromeBrowserMainPartsWin(); |
27 | 27 |
28 // BrowserParts overrides. | 28 // BrowserParts overrides. |
29 virtual void ToolkitInitialized() override; | 29 virtual void ToolkitInitialized() override; |
30 virtual void PreMainMessageLoopStart() override; | 30 virtual void PreMainMessageLoopStart() override; |
31 virtual int PreCreateThreads() override; | 31 virtual int PreCreateThreads() override; |
32 | 32 |
33 // ChromeBrowserMainParts overrides. | 33 // ChromeBrowserMainParts overrides. |
34 virtual void ShowMissingLocaleMessageBox() override; | 34 virtual void ShowMissingLocaleMessageBox() override; |
35 virtual void PostProfileInit() override; | |
36 virtual void PostBrowserStart() override; | 35 virtual void PostBrowserStart() override; |
37 | 36 |
38 // Prepares the localized strings that are going to be displayed to | 37 // Prepares the localized strings that are going to be displayed to |
39 // the user if the browser process dies. These strings are stored in the | 38 // the user if the browser process dies. These strings are stored in the |
40 // environment block so they are accessible in the early stages of the | 39 // environment block so they are accessible in the early stages of the |
41 // chrome executable's lifetime. | 40 // chrome executable's lifetime. |
42 static void PrepareRestartOnCrashEnviroment( | 41 static void PrepareRestartOnCrashEnviroment( |
43 const base::CommandLine& parsed_command_line); | 42 const base::CommandLine& parsed_command_line); |
44 | 43 |
45 // Registers Chrome with the Windows Restart Manager, which will restore the | 44 // Registers Chrome with the Windows Restart Manager, which will restore the |
(...skipping 15 matching lines...) Expand all Loading... |
61 | 60 |
62 // Sets the TranslationDelegate which provides localized strings to | 61 // Sets the TranslationDelegate which provides localized strings to |
63 // installer_util. | 62 // installer_util. |
64 static void SetupInstallerUtilStrings(); | 63 static void SetupInstallerUtilStrings(); |
65 | 64 |
66 private: | 65 private: |
67 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainPartsWin); | 66 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainPartsWin); |
68 }; | 67 }; |
69 | 68 |
70 #endif // CHROME_BROWSER_CHROME_BROWSER_MAIN_WIN_H_ | 69 #endif // CHROME_BROWSER_CHROME_BROWSER_MAIN_WIN_H_ |
OLD | NEW |