summaryrefslogtreecommitdiffstats
path: root/ui/base/gtk
diff options
context:
space:
mode:
authorsadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-18 21:37:39 +0000
committersadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-18 21:37:39 +0000
commit5c8ee43d773ee0a1877db2e5dffc3e57a6873f67 (patch)
tree4c5f0bbc5bbbb8cabe159893d7427765a8d2c4b9 /ui/base/gtk
parent3a41fac3a84cbf6e8c0ae035febb0724ef098f56 (diff)
downloadchromium_src-5c8ee43d773ee0a1877db2e5dffc3e57a6873f67.zip
chromium_src-5c8ee43d773ee0a1877db2e5dffc3e57a6873f67.tar.gz
chromium_src-5c8ee43d773ee0a1877db2e5dffc3e57a6873f67.tar.bz2
Export some ui:: functions to fix component build for chromeos/touchui.
BUG=none TEST=none Review URL: http://codereview.chromium.org/7401031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92896 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/base/gtk')
-rw-r--r--ui/base/gtk/event_synthesis_gtk.h8
-rw-r--r--ui/base/gtk/g_object_destructor_filo.h3
2 files changed, 6 insertions, 5 deletions
diff --git a/ui/base/gtk/event_synthesis_gtk.h b/ui/base/gtk/event_synthesis_gtk.h
index da1257c..93ba86ca 100644
--- a/ui/base/gtk/event_synthesis_gtk.h
+++ b/ui/base/gtk/event_synthesis_gtk.h
@@ -20,10 +20,10 @@
namespace ui {
// Creates and returns a key event. Passes ownership to the caller.
-GdkEvent* SynthesizeKeyEvent(GdkWindow* event_window,
- bool press,
- guint gdk_key,
- guint state);
+UI_API GdkEvent* SynthesizeKeyEvent(GdkWindow* event_window,
+ bool press,
+ guint gdk_key,
+ guint state);
// Creates the proper sequence of key events for a key press + release.
// Ownership of the events in the vector is passed to the caller.
diff --git a/ui/base/gtk/g_object_destructor_filo.h b/ui/base/gtk/g_object_destructor_filo.h
index 90e7597..0297a8c 100644
--- a/ui/base/gtk/g_object_destructor_filo.h
+++ b/ui/base/gtk/g_object_destructor_filo.h
@@ -11,6 +11,7 @@
#include <list>
#include "base/memory/singleton.h"
+#include "ui/ui_api.h"
typedef struct _GObject GObject;
@@ -46,7 +47,7 @@ namespace ui {
// TODO(glotov): Probably worth adding ScopedGObjectDtor<T>.
//
// This class is a singleton. Not thread safe. Must be called within UI thread.
-class GObjectDestructorFILO {
+class UI_API GObjectDestructorFILO {
public:
typedef void (*DestructorHook)(void* context, GObject* where_the_object_was);