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

Unified Diff: content/browser/android/browser_jni_registrar.cc

Issue 2548363007: Emulate Android joystick scroll with synthetic mouse wheel event (Closed)
Patch Set: Fixed tests Created 4 years 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 | « content/browser/BUILD.gn ('k') | content/browser/android/joystick_scroll_provider.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/android/browser_jni_registrar.cc
diff --git a/content/browser/android/browser_jni_registrar.cc b/content/browser/android/browser_jni_registrar.cc
index 51c9388813ba1b42b456d62d772245dc53d90e18..c9cde1191f903d0dd4f90e49be848b3676cb32be 100644
--- a/content/browser/android/browser_jni_registrar.cc
+++ b/content/browser/android/browser_jni_registrar.cc
@@ -19,6 +19,7 @@
#include "content/browser/android/content_view_statics.h"
#include "content/browser/android/date_time_chooser_android.h"
#include "content/browser/android/interstitial_page_delegate_android.h"
+#include "content/browser/android/joystick_scroll_provider.h"
#include "content/browser/android/load_url_params.h"
#include "content/browser/android/tracing_controller_android.h"
#include "content/browser/android/web_contents_observer_proxy.h"
@@ -54,6 +55,7 @@ base::android::RegistrationMethod kContentRegisteredMethods[] = {
{"InterstitialPageDelegateAndroid",
content::InterstitialPageDelegateAndroid::
RegisterInterstitialPageDelegateAndroid},
+ {"JoystickScrollProvider", content::RegisterJoystickScrollProvider},
{"LoadUrlParams", content::RegisterLoadUrlParams},
{"MediaSessionImpl", content::MediaSessionAndroid::Register},
{"NavigationControllerAndroid",
« no previous file with comments | « content/browser/BUILD.gn ('k') | content/browser/android/joystick_scroll_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698