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

Unified Diff: chrome/browser/chrome_browser_main.h

Issue 8302016: Make GTK and Aura parts orthogonal to OS parts (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . 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 | « no previous file | chrome/browser/chrome_browser_main.cc » ('j') | chrome/browser/chrome_browser_main_aura.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chrome_browser_main.h
diff --git a/chrome/browser/chrome_browser_main.h b/chrome/browser/chrome_browser_main.h
index 95f2fea609beba0ee0069fbb29108542c978d8ff..b7c3323e69056c56012a36a940e8121ea5d982fb 100644
--- a/chrome/browser/chrome_browser_main.h
+++ b/chrome/browser/chrome_browser_main.h
@@ -43,13 +43,29 @@ class ChromeBrowserMainParts : public content::BrowserMainParts {
protected:
explicit ChromeBrowserMainParts(const MainFunctionParams& parameters);
+ // content::BrowserParts overrides
virtual void PreMainMessageLoopRun() OVERRIDE;
- int PreMainMessageLoopRunInternal();
- virtual void MainMessageLoopRun() OVERRIDE;
virtual void PostMainMessageLoopRun() OVERRIDE;
+
+ // content::BrowserMainParts overrides
+ virtual void MainMessageLoopRun() OVERRIDE;
virtual void ToolkitInitialized() OVERRIDE;
+ // New virtual methods
DaveMoore 2011/10/19 21:31:18 Nit: this comment probably doesn't need to be here
+
+ // Displays a warning message that we can't find any locale data files.
+ virtual void ShowMissingLocaleMessageBox() = 0;
+ // Handles the --hide-icons and --show-icons command line options.
+ virtual int HandleIconsCommands() = 0;
+ // Check if there is any machine level Chrome installed. If so, handle it
+ // and return true.
+ virtual bool CheckMachineLevelInstall() = 0;
+ // Prepare localization, etc for handling crashes.
+ virtual void PrepareRestartOnCrashEnviroment() = 0;
+
private:
+ int PreMainMessageLoopRunInternal();
+
// Methods for |EarlyInitialization()| ---------------------------------------
// A/B test for the maximum number of persistent connections per host.
@@ -138,9 +154,6 @@ void RecordBreakpadStatusUMA(MetricsService* metrics);
// present on the current platform.
void WarnAboutMinimumSystemRequirements();
-// Displays a warning message that we can't find any locale data files.
-void ShowMissingLocaleMessageBox();
-
// Records the time from our process' startup to the present time in
// the UMA histogram |metric_name|.
void RecordBrowserStartupTime();
« no previous file with comments | « no previous file | chrome/browser/chrome_browser_main.cc » ('j') | chrome/browser/chrome_browser_main_aura.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698