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

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

Issue 14296003: Remove TOUCH_EVENTS and TOUCH_EVENT_TRACKING compile-time flags. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase. 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/PopupContainer.h ('k') | Source/core/platform/chromium/PopupListBox.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/platform/chromium/PopupContainer.cpp
diff --git a/Source/core/platform/chromium/PopupContainer.cpp b/Source/core/platform/chromium/PopupContainer.cpp
index 77db7eacdaa05893e071362fb99d14a73866ccb1..f848c0f93d92f72c6bdf8b07d944bb8cb0fae39c 100644
--- a/Source/core/platform/chromium/PopupContainer.cpp
+++ b/Source/core/platform/chromium/PopupContainer.cpp
@@ -45,16 +45,13 @@
#include "PlatformKeyboardEvent.h"
#include "PlatformMouseEvent.h"
#include "PlatformScreen.h"
+#include "PlatformTouchEvent.h"
#include "PlatformWheelEvent.h"
#include "PopupListBox.h"
#include "PopupMenuClient.h"
#include "UserGestureIndicator.h"
#include <limits>
-#if ENABLE(TOUCH_EVENTS)
-#include "PlatformTouchEvent.h"
-#endif
-
using namespace std;
namespace WebCore {
@@ -293,12 +290,10 @@ bool PopupContainer::handleWheelEvent(const PlatformWheelEvent& event)
constructRelativeWheelEvent(event, this, m_listBox.get()));
}
-#if ENABLE(TOUCH_EVENTS)
bool PopupContainer::handleTouchEvent(const PlatformTouchEvent&)
{
return false;
}
-#endif
// FIXME: Refactor this code to share functionality with EventHandler::handleGestureEvent.
bool PopupContainer::handleGestureEvent(const PlatformGestureEvent& gestureEvent)
« no previous file with comments | « Source/core/platform/chromium/PopupContainer.h ('k') | Source/core/platform/chromium/PopupListBox.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698