Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4410)

Unified Diff: chrome/browser/chrome_browser_main_win.h

Issue 8302016: Make GTK and Aura parts orthogonal to OS parts (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 9 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/chrome_browser_main_unittest.cc ('k') | chrome/browser/chrome_browser_main_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chrome_browser_main_win.h
diff --git a/chrome/browser/chrome_browser_main_win.h b/chrome/browser/chrome_browser_main_win.h
index c866211d259648c5f6b3ab80ec0df1a5b5afc61c..f54f557ca5831c0064096edd69cd20818ba22482 100644
--- a/chrome/browser/chrome_browser_main_win.h
+++ b/chrome/browser/chrome_browser_main_win.h
@@ -17,33 +17,39 @@ class CommandLine;
// user to close the other chrome instance.
int DoUninstallTasks(bool chrome_still_running);
-// Prepares the localized strings that are going to be displayed to
-// the user if the browser process dies. These strings are stored in the
-// environment block so they are accessible in the early stages of the
-// chrome executable's lifetime.
-void PrepareRestartOnCrashEnviroment(const CommandLine& parsed_command_line);
-
-// Registers Chrome with the Windows Restart Manager, which will restore the
-// Chrome session when the computer is restarted after a system update.
-void RegisterApplicationRestart(const CommandLine& parsed_command_line);
-
-// This method handles the --hide-icons and --show-icons command line options
-// for chrome that get triggered by Windows from registry entries
-// HideIconsCommand & ShowIconsCommand. Chrome doesn't support hide icons
-// functionality so we just ask the users if they want to uninstall Chrome.
-int HandleIconsCommands(const CommandLine& parsed_command_line);
-
-// Check if there is any machine level Chrome installed on the current
-// machine. If yes and the current Chrome process is user level, we do not
-// allow the user level Chrome to run. So we notify the user and uninstall
-// user level Chrome.
-bool CheckMachineLevelInstall();
-
class ChromeBrowserMainPartsWin : public ChromeBrowserMainParts {
public:
explicit ChromeBrowserMainPartsWin(const MainFunctionParams& parameters);
+ // BrowserParts overrides.
virtual void PreMainMessageLoopStart() OVERRIDE;
+
+ // ChromeBrowserMainParts overrides.
+ virtual void ShowMissingLocaleMessageBox() OVERRIDE;
+
+ // Prepares the localized strings that are going to be displayed to
+ // the user if the browser process dies. These strings are stored in the
+ // environment block so they are accessible in the early stages of the
+ // chrome executable's lifetime.
+ static void PrepareRestartOnCrashEnviroment(
+ const CommandLine& parsed_command_line);
+
+ // Registers Chrome with the Windows Restart Manager, which will restore the
+ // Chrome session when the computer is restarted after a system update.
+ static void RegisterApplicationRestart(
+ const CommandLine& parsed_command_line);
+
+ // This method handles the --hide-icons and --show-icons command line options
+ // for chrome that get triggered by Windows from registry entries
+ // HideIconsCommand & ShowIconsCommand. Chrome doesn't support hide icons
+ // functionality so we just ask the users if they want to uninstall Chrome.
+ static int HandleIconsCommands(const CommandLine& parsed_command_line);
+
+ // Check if there is any machine level Chrome installed on the current
+ // machine. If yes and the current Chrome process is user level, we do not
+ // allow the user level Chrome to run. So we notify the user and uninstall
+ // user level Chrome.
+ static bool CheckMachineLevelInstall();
};
#endif // CHROME_BROWSER_CHROME_BROWSER_MAIN_WIN_H_
« no previous file with comments | « chrome/browser/chrome_browser_main_unittest.cc ('k') | chrome/browser/chrome_browser_main_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698