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

Unified Diff: Source/core/platform/chromium/PopupListBox.cpp

Issue 14280004: Revert removal of events (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 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 | « Source/core/platform/chromium/PopupListBox.h ('k') | Source/core/rendering/RenderTheme.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/platform/chromium/PopupListBox.cpp
diff --git a/Source/core/platform/chromium/PopupListBox.cpp b/Source/core/platform/chromium/PopupListBox.cpp
index da48a8f6c74ad99c8d3f105ef779b4d7cbfd0c6d..93b0ce18f4980dae02575a7c1e2dd8c953197635 100644
--- a/Source/core/platform/chromium/PopupListBox.cpp
+++ b/Source/core/platform/chromium/PopupListBox.cpp
@@ -41,7 +41,6 @@
#include "PlatformKeyboardEvent.h"
#include "PlatformMouseEvent.h"
#include "PlatformScreen.h"
-#include "PlatformTouchEvent.h"
#include "PlatformWheelEvent.h"
#include "PopupContainer.h"
#include "PopupMenuChromium.h"
@@ -55,6 +54,10 @@
#include <limits>
#include <wtf/CurrentTime.h>
+#if ENABLE(TOUCH_EVENTS)
+#include "PlatformTouchEvent.h"
+#endif
+
namespace WebCore {
using namespace std;
@@ -173,10 +176,12 @@ bool PopupListBox::isInterestedInEventForKey(int keyCode)
}
}
+#if ENABLE(TOUCH_EVENTS)
bool PopupListBox::handleTouchEvent(const PlatformTouchEvent&)
{
return false;
}
+#endif
bool PopupListBox::handleGestureEvent(const PlatformGestureEvent&)
{
« no previous file with comments | « Source/core/platform/chromium/PopupListBox.h ('k') | Source/core/rendering/RenderTheme.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698