summaryrefslogtreecommitdiffstats
path: root/ui/events
diff options
context:
space:
mode:
authorspang@chromium.org <spang@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-21 07:59:20 +0000
committerspang@chromium.org <spang@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-21 07:59:20 +0000
commit25db7abb6e4ef1c01858d027eb01add301882469 (patch)
treeeed065b6b7da76fa5fca93477c691dcabb6d061d /ui/events
parent60586a2d13ca696f61c7d1dd74778d334bcb4a15 (diff)
downloadchromium_src-25db7abb6e4ef1c01858d027eb01add301882469.zip
chromium_src-25db7abb6e4ef1c01858d027eb01add301882469.tar.gz
chromium_src-25db7abb6e4ef1c01858d027eb01add301882469.tar.bz2
Fix component=shared_library build for ozone
We need to export any classes that are used in unit tests. TBR=danakj Review URL: https://codereview.chromium.org/78783004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@236451 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/events')
-rw-r--r--ui/events/ozone/evdev/event_modifiers.h3
-rw-r--r--ui/events/ozone/evdev/key_event_converter.h3
-rw-r--r--ui/events/ozone/event_converter_ozone.h4
3 files changed, 7 insertions, 3 deletions
diff --git a/ui/events/ozone/evdev/event_modifiers.h b/ui/events/ozone/evdev/event_modifiers.h
index 5af3bb2..225af02 100644
--- a/ui/events/ozone/evdev/event_modifiers.h
+++ b/ui/events/ozone/evdev/event_modifiers.h
@@ -5,6 +5,7 @@
#ifndef UI_EVENTS_OZONE_EVDEV_EVENT_MODIFIERS_H_
#define UI_EVENTS_OZONE_EVDEV_EVENT_MODIFIERS_H_
+#include "ui/events/events_export.h"
#include "ui/events/ozone/event_converter_ozone.h"
namespace ui {
@@ -38,7 +39,7 @@ enum {
// currently pressed. However some keys toggle a persistent "lock" for the
// modifier instead, such as CapsLock. If a modifier is "locked" then its state
// is inverted until it is unlocked.
-class EventModifiersEvdev {
+class EVENTS_EXPORT EventModifiersEvdev {
public:
EventModifiersEvdev();
~EventModifiersEvdev();
diff --git a/ui/events/ozone/evdev/key_event_converter.h b/ui/events/ozone/evdev/key_event_converter.h
index 558cc16..86c47aa 100644
--- a/ui/events/ozone/evdev/key_event_converter.h
+++ b/ui/events/ozone/evdev/key_event_converter.h
@@ -6,6 +6,7 @@
#define UI_EVENTS_OZONE_EVDEV_KEY_EVENT_CONVERTER_EVDEV_H_
#include "ui/events/event.h"
+#include "ui/events/events_export.h"
#include "ui/events/ozone/evdev/event_modifiers.h"
#include "ui/events/ozone/event_converter_ozone.h"
@@ -13,7 +14,7 @@ struct input_event;
namespace ui {
-class KeyEventConverterEvdev : public EventConverterOzone {
+class EVENTS_EXPORT KeyEventConverterEvdev : public EventConverterOzone {
public:
KeyEventConverterEvdev(EventModifiersEvdev* modifiers);
virtual ~KeyEventConverterEvdev();
diff --git a/ui/events/ozone/event_converter_ozone.h b/ui/events/ozone/event_converter_ozone.h
index ba35ea8..90826c2 100644
--- a/ui/events/ozone/event_converter_ozone.h
+++ b/ui/events/ozone/event_converter_ozone.h
@@ -7,6 +7,7 @@
#include "base/memory/scoped_ptr.h"
#include "base/message_loop/message_pump_libevent.h"
+#include "ui/events/events_export.h"
namespace ui {
class Event;
@@ -18,7 +19,8 @@ class Event;
// the file descriptor into |ui::Event| instances. This class provides the
// functionality needed in common across all converters: dispatching the
// |ui::Event| to aura.
-class EventConverterOzone : public base::MessagePumpLibevent::Watcher {
+class EVENTS_EXPORT EventConverterOzone
+ : public base::MessagePumpLibevent::Watcher {
public:
EventConverterOzone();
virtual ~EventConverterOzone();