diff options
author | hans@chromium.org <hans@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-12 01:59:02 +0000 |
---|---|---|
committer | hans@chromium.org <hans@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-12 01:59:02 +0000 |
commit | 1d51882f44178fb5bdbf6a7f31e435c9d6de652a (patch) | |
tree | 97388deda6011a2d2897a8d4eea831a6bc56b568 /ash/drag_drop/drag_drop_controller_unittest.cc | |
parent | 9e9a06a3d002a799246a5dbbd9d95aef999185c9 (diff) | |
download | chromium_src-1d51882f44178fb5bdbf6a7f31e435c9d6de652a.zip chromium_src-1d51882f44178fb5bdbf6a7f31e435c9d6de652a.tar.gz chromium_src-1d51882f44178fb5bdbf6a7f31e435c9d6de652a.tar.bz2 |
Fixes for -Wunused-function on Linux, Android and ChromeOS
BUG=315884, 78045
TBR=owners
Review URL: https://codereview.chromium.org/67923002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234373 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/drag_drop/drag_drop_controller_unittest.cc')
-rw-r--r-- | ash/drag_drop/drag_drop_controller_unittest.cc | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/ash/drag_drop/drag_drop_controller_unittest.cc b/ash/drag_drop/drag_drop_controller_unittest.cc index 6e13a44..baf5acb 100644 --- a/ash/drag_drop/drag_drop_controller_unittest.cc +++ b/ash/drag_drop/drag_drop_controller_unittest.cc @@ -287,32 +287,6 @@ void DispatchGesture(ui::EventType gesture_type, gfx::Point location) { &gesture_event); } -bool IsGestureEventType(ui::EventType type) { - switch (type) { - case ui::ET_GESTURE_SCROLL_BEGIN: - case ui::ET_GESTURE_SCROLL_END: - case ui::ET_GESTURE_SCROLL_UPDATE: - case ui::ET_GESTURE_TAP: - case ui::ET_GESTURE_TAP_CANCEL: - case ui::ET_GESTURE_TAP_DOWN: - case ui::ET_GESTURE_BEGIN: - case ui::ET_GESTURE_END: - case ui::ET_GESTURE_TWO_FINGER_TAP: - case ui::ET_GESTURE_PINCH_BEGIN: - case ui::ET_GESTURE_PINCH_END: - case ui::ET_GESTURE_PINCH_UPDATE: - case ui::ET_GESTURE_LONG_PRESS: - case ui::ET_GESTURE_LONG_TAP: - case ui::ET_GESTURE_MULTIFINGER_SWIPE: - case ui::ET_SCROLL_FLING_CANCEL: - case ui::ET_SCROLL_FLING_START: - return true; - default: - break; - } - return false; -} - } // namespace class DragDropControllerTest : public AshTestBase { |