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/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
(...skipping 14 matching lines...) Expand all Loading... |
25 class ChromeBrowserMainPartsWin : public ChromeBrowserMainParts { | 25 class ChromeBrowserMainPartsWin : public ChromeBrowserMainParts { |
26 public: | 26 public: |
27 explicit ChromeBrowserMainPartsWin( | 27 explicit ChromeBrowserMainPartsWin( |
28 const content::MainFunctionParams& parameters); | 28 const content::MainFunctionParams& parameters); |
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 | 36 |
36 // ChromeBrowserMainParts overrides. | 37 // ChromeBrowserMainParts overrides. |
37 virtual void ShowMissingLocaleMessageBox() OVERRIDE; | 38 virtual void ShowMissingLocaleMessageBox() OVERRIDE; |
38 | 39 |
39 // Prepares the localized strings that are going to be displayed to | 40 // Prepares the localized strings that are going to be displayed to |
40 // the user if the browser process dies. These strings are stored in the | 41 // the user if the browser process dies. These strings are stored in the |
41 // environment block so they are accessible in the early stages of the | 42 // environment block so they are accessible in the early stages of the |
42 // chrome executable's lifetime. | 43 // chrome executable's lifetime. |
43 static void PrepareRestartOnCrashEnviroment( | 44 static void PrepareRestartOnCrashEnviroment( |
44 const CommandLine& parsed_command_line); | 45 const CommandLine& parsed_command_line); |
(...skipping 19 matching lines...) Expand all Loading... |
64 // installer_util. | 65 // installer_util. |
65 static void SetupInstallerUtilStrings(); | 66 static void SetupInstallerUtilStrings(); |
66 | 67 |
67 private: | 68 private: |
68 scoped_refptr<chrome::MediaDeviceNotificationsWindowWin> | 69 scoped_refptr<chrome::MediaDeviceNotificationsWindowWin> |
69 media_device_notifications_window_; | 70 media_device_notifications_window_; |
70 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainPartsWin); | 71 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainPartsWin); |
71 }; | 72 }; |
72 | 73 |
73 #endif // CHROME_BROWSER_CHROME_BROWSER_MAIN_WIN_H_ | 74 #endif // CHROME_BROWSER_CHROME_BROWSER_MAIN_WIN_H_ |
OLD | NEW |