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

Unified Diff: ui/base/accelerators/accelerator.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 | « third_party/cld/base/build_config.h ('k') | ui/base/clipboard/clipboard.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/accelerators/accelerator.cc
diff --git a/ui/base/accelerators/accelerator.cc b/ui/base/accelerators/accelerator.cc
index bd5d9e551a41edcd7e31478459520bd443aefbb7..d067510cdf82a63fe4a9f0e91e97f6816237ed9d 100644
--- a/ui/base/accelerators/accelerator.cc
+++ b/ui/base/accelerators/accelerator.cc
@@ -6,7 +6,7 @@
#if defined(OS_WIN)
#include <windows.h>
-#elif defined(TOOLKIT_USES_GTK)
+#elif defined(TOOLKIT_GTK)
#include <gdk/gdk.h>
#endif
@@ -92,7 +92,7 @@ string16 Accelerator::GetShortcutText() const {
if (c != 0) {
shortcut += static_cast<string16::value_type>(base::ToUpperASCII(c));
}
-#elif defined(TOOLKIT_USES_GTK)
+#elif defined(TOOLKIT_GTK)
const gchar* name = NULL;
switch (key_code_) {
case ui::VKEY_OEM_2:
« no previous file with comments | « third_party/cld/base/build_config.h ('k') | ui/base/clipboard/clipboard.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698