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

Unified Diff: ui/gfx/insets.h

Issue 7977025: aura: Make 'ui' buildable without gtk. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 9 years, 3 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 | « ui/gfx/canvas_skia_linux.cc ('k') | ui/gfx/native_widget_types.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/insets.h
diff --git a/ui/gfx/insets.h b/ui/gfx/insets.h
index ec9c54a8f0e908e7ff8ecd94258ca42e914c12ee..56f79b4e971d07fa1d506336e87e8b426d765f9b 100644
--- a/ui/gfx/insets.h
+++ b/ui/gfx/insets.h
@@ -11,7 +11,7 @@
#include "build/build_config.h"
#include "ui/base/ui_export.h"
-#if defined(OS_POSIX) && !defined(OS_MACOSX)
+#if defined(TOOLKIT_USES_GTK)
#include <gtk/gtkstyle.h>
#endif
@@ -30,7 +30,7 @@ class UI_EXPORT Insets {
left_(left),
bottom_(bottom),
right_(right) {}
-#if defined(OS_POSIX) && !defined(OS_MACOSX)
+#if defined(TOOLKIT_USES_GTK)
explicit Insets(const GtkBorder& border)
: top_(border.top),
left_(border.left),
« no previous file with comments | « ui/gfx/canvas_skia_linux.cc ('k') | ui/gfx/native_widget_types.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698