summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/omnibox/omnibox_view_browsertest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/ui/omnibox/omnibox_view_browsertest.cc')
-rw-r--r--chrome/browser/ui/omnibox/omnibox_view_browsertest.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/ui/omnibox/omnibox_view_browsertest.cc b/chrome/browser/ui/omnibox/omnibox_view_browsertest.cc
index eea744e..f998f16 100644
--- a/chrome/browser/ui/omnibox/omnibox_view_browsertest.cc
+++ b/chrome/browser/ui/omnibox/omnibox_view_browsertest.cc
@@ -33,7 +33,7 @@
#include "ui/base/events.h"
#include "ui/base/keycodes/keyboard_codes.h"
-#if defined(OS_LINUX)
+#if defined(TOOLKIT_USES_GTK)
#include <gdk/gdk.h>
#include <gtk/gtk.h>
#endif
@@ -112,7 +112,7 @@ const struct TestHistoryEntry {
{"http://bar/", "Bar", kSearchText, 1, 0, false },
};
-#if defined(OS_LINUX)
+#if defined(TOOLKIT_USES_GTK)
// Returns the text stored in the PRIMARY clipboard.
std::string GetPrimarySelectionText() {
GtkClipboard* clipboard = gtk_clipboard_get(GDK_SELECTION_PRIMARY);
@@ -1191,7 +1191,7 @@ IN_PROC_BROWSER_TEST_F(OmniboxViewTest,
CtrlKeyPressedWithInlineAutocompleteTest();
}
-#if defined(OS_LINUX)
+#if defined(TOOLKIT_USES_GTK)
// TODO(oshima): enable these tests for views-implmentation when
// these featuers are supported.