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

Unified Diff: content/browser/renderer_host/input/synthetic_gesture.cc

Issue 1884883005: Prepare SyntheticPointerAction to handle touch actions for multiple fingers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: return nullptr Created 4 years, 5 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
Index: content/browser/renderer_host/input/synthetic_gesture.cc
diff --git a/content/browser/renderer_host/input/synthetic_gesture.cc b/content/browser/renderer_host/input/synthetic_gesture.cc
index b334af104d550d88e052506920b45d32a7affe42..cbe9e14566ca9d67adb711f9131d4360dacad501 100644
--- a/content/browser/renderer_host/input/synthetic_gesture.cc
+++ b/content/browser/renderer_host/input/synthetic_gesture.cc
@@ -43,12 +43,10 @@ std::unique_ptr<SyntheticGesture> SyntheticGesture::Create(
case SyntheticGestureParams::TAP_GESTURE:
return CreateGesture<SyntheticTapGesture,
SyntheticTapGestureParams>(gesture_params);
- case SyntheticGestureParams::POINTER_ACTION:
- return CreateGesture<SyntheticPointerAction,
- SyntheticPointerActionParams>(gesture_params);
+ default:
+ NOTREACHED() << "Invalid synthetic gesture type";
+ return nullptr;
}
- NOTREACHED() << "Invalid synthetic gesture type";
- return std::unique_ptr<SyntheticGesture>();
}
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698