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 "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
(...skipping 18 matching lines...) Expand all Loading... |
29 | 29 |
30 virtual ~ChromeBrowserMainPartsWin(); | 30 virtual ~ChromeBrowserMainPartsWin(); |
31 | 31 |
32 // BrowserParts overrides. | 32 // BrowserParts overrides. |
33 virtual void ToolkitInitialized() OVERRIDE; | 33 virtual void ToolkitInitialized() OVERRIDE; |
34 virtual void PreMainMessageLoopStart() OVERRIDE; | 34 virtual void PreMainMessageLoopStart() OVERRIDE; |
35 virtual void PostMainMessageLoopStart() OVERRIDE; | 35 virtual void PostMainMessageLoopStart() OVERRIDE; |
36 virtual void PreMainMessageLoopRun() OVERRIDE; | 36 virtual void PreMainMessageLoopRun() OVERRIDE; |
37 | 37 |
38 // ChromeBrowserMainParts overrides. | 38 // ChromeBrowserMainParts overrides. |
39 virtual void PreInteractiveFirstRunInit() OVERRIDE; | |
40 virtual void ShowMissingLocaleMessageBox() OVERRIDE; | 39 virtual void ShowMissingLocaleMessageBox() OVERRIDE; |
41 | 40 |
42 // Prepares the localized strings that are going to be displayed to | 41 // Prepares the localized strings that are going to be displayed to |
43 // the user if the browser process dies. These strings are stored in the | 42 // the user if the browser process dies. These strings are stored in the |
44 // environment block so they are accessible in the early stages of the | 43 // environment block so they are accessible in the early stages of the |
45 // chrome executable's lifetime. | 44 // chrome executable's lifetime. |
46 static void PrepareRestartOnCrashEnviroment( | 45 static void PrepareRestartOnCrashEnviroment( |
47 const CommandLine& parsed_command_line); | 46 const CommandLine& parsed_command_line); |
48 | 47 |
49 // Registers Chrome with the Windows Restart Manager, which will restore the | 48 // Registers Chrome with the Windows Restart Manager, which will restore the |
(...skipping 17 matching lines...) Expand all Loading... |
67 // installer_util. | 66 // installer_util. |
68 static void SetupInstallerUtilStrings(); | 67 static void SetupInstallerUtilStrings(); |
69 | 68 |
70 private: | 69 private: |
71 scoped_ptr<chrome::RemovableDeviceNotificationsWindowWin> | 70 scoped_ptr<chrome::RemovableDeviceNotificationsWindowWin> |
72 removable_device_notifications_window_; | 71 removable_device_notifications_window_; |
73 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainPartsWin); | 72 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainPartsWin); |
74 }; | 73 }; |
75 | 74 |
76 #endif // CHROME_BROWSER_CHROME_BROWSER_MAIN_WIN_H_ | 75 #endif // CHROME_BROWSER_CHROME_BROWSER_MAIN_WIN_H_ |
OLD | NEW |