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

Unified Diff: chrome/browser/ui/startup/obsolete_system_infobar_delegate.cc

Issue 326043002: Cleanup: Remove more dead GTK code. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix accidental revert Created 6 years, 6 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/ui/panels/stacked_panel_browsertest.cc ('k') | chrome/renderer/net/net_error_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/startup/obsolete_system_infobar_delegate.cc
===================================================================
--- chrome/browser/ui/startup/obsolete_system_infobar_delegate.cc (revision 277810)
+++ chrome/browser/ui/startup/obsolete_system_infobar_delegate.cc (working copy)
@@ -17,10 +17,6 @@
#include "chrome/browser/mac/obsolete_system.h"
#endif
-#if defined(TOOLKIT_GTK)
-#include <gtk/gtk.h>
-#endif
-
// static
void ObsoleteSystemInfoBarDelegate::Create(InfoBarService* infobar_service) {
#if defined(OS_MACOSX)
@@ -28,19 +24,6 @@
!ObsoleteSystemMac::Has32BitOnlyCPU()) {
return;
}
-#elif defined(TOOLKIT_GTK)
- // We've deprecated support for Ubuntu Lucid. Rather than attempting to
- // determine whether you're using that, we instead key off the GTK version;
- // this will also deprecate other distributions (including variants of Ubuntu)
- // that are of a similar age.
- // Version key:
- // RHEL 6: GTK 2.18
- // Debian 6 (Squeeze): GTK 2.20
- // Ubuntu Lucid: GTK 2.20
- // openSUSE 12.2 GTK 2.24
- // Ubuntu Precise: GTK 2.24
- if (!gtk_check_version(2, 24, 0))
- return;
#elif defined(OS_WIN)
// On Windows we no longer support non-SSE2 machines since Chrome 35.
if (base::CPU().has_sse2())
« no previous file with comments | « chrome/browser/ui/panels/stacked_panel_browsertest.cc ('k') | chrome/renderer/net/net_error_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698