diff options
author | sadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-28 17:56:39 +0000 |
---|---|---|
committer | sadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-28 17:56:39 +0000 |
commit | 52cc9ca13f57ad494fdd7de03dc50f47e741dcba (patch) | |
tree | a7a625ff4ef9ea70c5da869fc3e2ab575c683488 /views | |
parent | 34e82d685e0fc5e7a86b050b24e63eba0f13231d (diff) | |
download | chromium_src-52cc9ca13f57ad494fdd7de03dc50f47e741dcba.zip chromium_src-52cc9ca13f57ad494fdd7de03dc50f47e741dcba.tar.gz chromium_src-52cc9ca13f57ad494fdd7de03dc50f47e741dcba.tar.bz2 |
Use VIEWS_API in a few places to fix component build for chromeos and touchui.
BUG=none
TEST=manually, build works with 'chromeos=1 touchui=1 component=shared_library'
Review URL: http://codereview.chromium.org/7524028
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94498 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views')
-rw-r--r-- | views/focus/accelerator_handler.h | 4 | ||||
-rw-r--r-- | views/touchui/touch_factory.h | 3 |
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 { |