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

Unified Diff: ash/drag_drop/drag_drop_controller_unittest.cc

Issue 67923002: Fixes for -Wunused-function on Linux, Android and ChromeOS (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 1 month 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
Index: ash/drag_drop/drag_drop_controller_unittest.cc
diff --git a/ash/drag_drop/drag_drop_controller_unittest.cc b/ash/drag_drop/drag_drop_controller_unittest.cc
index 6e13a444688b04a57e9f9b94d4ef1e75f5945818..baf5acb758b339a55ab8dada0519483731af036c 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 {

Powered by Google App Engine
This is Rietveld 408576698