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

Unified Diff: chrome/browser/repost_form_warning_controller.cc

Issue 9969080: Remove TOOLKIT_USES_GTK (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add gtk dependency to android linux host 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/repost_form_warning_controller.h ('k') | chrome/browser/shell_integration_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/repost_form_warning_controller.cc
diff --git a/chrome/browser/repost_form_warning_controller.cc b/chrome/browser/repost_form_warning_controller.cc
index 794d3a73e399a521d0c4c43dc4dd6fcaeed529bf..53eabd5be376547177c12a2bd6b0532481caebd9 100644
--- a/chrome/browser/repost_form_warning_controller.cc
+++ b/chrome/browser/repost_form_warning_controller.cc
@@ -4,7 +4,7 @@
#include "chrome/browser/repost_form_warning_controller.h"
-#if defined(TOOLKIT_USES_GTK)
+#if defined(TOOLKIT_GTK)
#include <gtk/gtk.h>
#endif
@@ -44,7 +44,7 @@ string16 RepostFormWarningController::GetAcceptButtonTitle() {
return l10n_util::GetStringUTF16(IDS_HTTP_POST_WARNING_RESEND);
}
-#if defined(TOOLKIT_USES_GTK)
+#if defined(TOOLKIT_GTK)
const char* RepostFormWarningController::GetAcceptButtonIcon() {
return GTK_STOCK_REFRESH;
}
@@ -52,7 +52,7 @@ const char* RepostFormWarningController::GetAcceptButtonIcon() {
const char* RepostFormWarningController::GetCancelButtonIcon() {
return GTK_STOCK_CANCEL;
}
-#endif // defined(TOOLKIT_USES_GTK)
+#endif // defined(TOOLKIT_GTK)
void RepostFormWarningController::OnAccepted() {
navigation_controller_->ContinuePendingReload();
« no previous file with comments | « chrome/browser/repost_form_warning_controller.h ('k') | chrome/browser/shell_integration_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698