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

Unified Diff: chrome/browser/chrome_browser_main_posix.cc

Issue 9839028: Make chrome/browser/chrome_browser_main_linux.* Linux-only. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: rebase Created 8 years, 9 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_posix.h ('k') | chrome/browser/chrome_browser_main_win.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chrome_browser_main_posix.cc
===================================================================
--- chrome/browser/chrome_browser_main_posix.cc (revision 128430)
+++ chrome/browser/chrome_browser_main_posix.cc (working copy)
@@ -27,6 +27,7 @@
#endif
#if defined(TOOLKIT_USES_GTK)
+#include "chrome/browser/chrome_browser_main_extra_parts_gtk.h"
#include "chrome/browser/printing/print_dialog_gtk.h"
#endif
@@ -272,3 +273,22 @@
&PrintDialogGtk::CreatePrintDialog);
#endif
}
+
+void ChromeBrowserMainPartsPosix::ShowMissingLocaleMessageBox() {
+#if defined(OS_CHROMEOS)
+ NOTREACHED(); // Should not ever happen on ChromeOS.
+#elif defined(OS_ANDROID)
+ // TODO(port) Update this as needed.
+ // Probably should not ever happen on Android, but at the time of this
+ // writing, Android isn't even using ChromeBrowserMainPartsPosix yet.
+ NOTREACHED();
+#elif defined(OS_MACOSX)
+ // Not called on Mac because we load the locale files differently.
+ NOTREACHED();
+#elif defined(TOOLKIT_USES_GTK)
+ ChromeBrowserMainExtraPartsGtk::ShowMessageBox(
+ chrome_browser::kMissingLocaleDataMessage);
+#else
+#error "Need MessageBox implementation."
+#endif
+}
« no previous file with comments | « chrome/browser/chrome_browser_main_posix.h ('k') | chrome/browser/chrome_browser_main_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698