Chromium Code Reviews| 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 ChromeBrowserMainPartsWin::PostProfileInit() override; | |
|
scottmg
2014/11/13 07:35:30
remove "ChromeBrowserMainPartsWin::"
Shrikant Kelkar
2014/11/13 20:29:21
:D
Done
| |
| 35 virtual void PostBrowserStart() override; | 36 virtual void PostBrowserStart() override; |
| 36 | 37 |
| 37 // Prepares the localized strings that are going to be displayed to | 38 // Prepares the localized strings that are going to be displayed to |
| 38 // the user if the browser process dies. These strings are stored in the | 39 // the user if the browser process dies. These strings are stored in the |
| 39 // environment block so they are accessible in the early stages of the | 40 // environment block so they are accessible in the early stages of the |
| 40 // chrome executable's lifetime. | 41 // chrome executable's lifetime. |
| 41 static void PrepareRestartOnCrashEnviroment( | 42 static void PrepareRestartOnCrashEnviroment( |
| 42 const base::CommandLine& parsed_command_line); | 43 const base::CommandLine& parsed_command_line); |
| 43 | 44 |
| 44 // Registers Chrome with the Windows Restart Manager, which will restore the | 45 // Registers Chrome with the Windows Restart Manager, which will restore the |
| (...skipping 15 matching lines...) Expand all Loading... | |
| 60 | 61 |
| 61 // Sets the TranslationDelegate which provides localized strings to | 62 // Sets the TranslationDelegate which provides localized strings to |
| 62 // installer_util. | 63 // installer_util. |
| 63 static void SetupInstallerUtilStrings(); | 64 static void SetupInstallerUtilStrings(); |
| 64 | 65 |
| 65 private: | 66 private: |
| 66 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainPartsWin); | 67 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainPartsWin); |
| 67 }; | 68 }; |
| 68 | 69 |
| 69 #endif // CHROME_BROWSER_CHROME_BROWSER_MAIN_WIN_H_ | 70 #endif // CHROME_BROWSER_CHROME_BROWSER_MAIN_WIN_H_ |
| OLD | NEW |