summaryrefslogtreecommitdiffstats
path: root/views
diff options
context:
space:
mode:
Diffstat (limited to 'views')
-rw-r--r--views/focus/accelerator_handler.h4
-rw-r--r--views/touchui/touch_factory.h3
2 files changed, 4 insertions, 3 deletions
diff --git a/views/focus/accelerator_handler.h b/views/focus/accelerator_handler.h
index a2ef532..7e17a42 100644
--- a/views/focus/accelerator_handler.h
+++ b/views/focus/accelerator_handler.h
@@ -23,11 +23,11 @@ namespace views {
#if defined(TOUCH_UI)
// Dispatch an XEvent to the RootView. Return true if the event was dispatched
// and handled, false otherwise.
-bool DispatchXEvent(XEvent* xevent);
+bool VIEWS_API DispatchXEvent(XEvent* xevent);
// Keep a list of touch devices so that it is possible to determine if a pointer
// event is a touch-event or a mouse-event.
-void SetTouchDeviceList(std::vector<unsigned int>& devices);
+void VIEWS_API SetTouchDeviceList(std::vector<unsigned int>& devices);
#endif // TOUCH_UI
// This class delegates the key messages to the associated FocusManager class
diff --git a/views/touchui/touch_factory.h b/views/touchui/touch_factory.h
index 5191a71..4792dd6 100644
--- a/views/touchui/touch_factory.h
+++ b/views/touchui/touch_factory.h
@@ -11,6 +11,7 @@
#include "base/memory/singleton.h"
#include "base/timer.h"
+#include "views/views_api.h"
typedef unsigned long Cursor;
typedef unsigned long Window;
@@ -20,7 +21,7 @@ typedef union _XEvent XEvent;
namespace views {
// Functions related to determining touch devices.
-class TouchFactory {
+class VIEWS_API TouchFactory {
public:
// Define the touch params following the Multi-touch Protocol.
enum TouchParam {