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

Unified Diff: chrome/browser/android/chrome_jni_registrar.cc

Issue 2528823002: Separate SwipeRefreshHandler and ContentViewCore (Closed)
Patch Set: Move web_contents_view_android.h header in web_contents_android.h into cc file, modify CreateRefres… Created 4 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: chrome/browser/android/chrome_jni_registrar.cc
diff --git a/chrome/browser/android/chrome_jni_registrar.cc b/chrome/browser/android/chrome_jni_registrar.cc
index 25bf14fa4a9123c0ae51c544e5b15fa3ffb539ff..7ebd061ee8960cdb59036abac3fb2649e8a24f22 100644
--- a/chrome/browser/android/chrome_jni_registrar.cc
+++ b/chrome/browser/android/chrome_jni_registrar.cc
@@ -94,6 +94,7 @@
#include "chrome/browser/android/signin/account_tracker_service_android.h"
#include "chrome/browser/android/signin/signin_investigator_android.h"
#include "chrome/browser/android/signin/signin_manager_android.h"
+#include "chrome/browser/android/swipe_refresh_handler.h"
#include "chrome/browser/android/tab_android.h"
#include "chrome/browser/android/tab_state.h"
#include "chrome/browser/android/tab_web_contents_delegate_android.h"
@@ -381,6 +382,7 @@ static base::android::RegistrationMethod kChromeRegisteredMethods[] = {
{"StartupMetricUtils", chrome::android::RegisterStartupMetricUtils},
{"StaticTabSceneLayer", RegisterStaticTabSceneLayer},
{"SupervisedUserContentProvider", SupervisedUserContentProvider::Register},
+ {"SwipeRefreshHandler", SwipeRefreshHandler::RegisterSwipeRefreshHandler},
{"Sync", syncer::RegisterSyncJni},
{"SyncSessionsMetrics", SyncSessionsMetricsAndroid::Register},
{"TabAndroid", TabAndroid::RegisterTabAndroid},
@@ -408,8 +410,7 @@ static base::android::RegistrationMethod kChromeRegisteredMethods[] = {
{"DisplaySynchronizer",
DisplaySynchronizer::RegisterDisplaySynchronizerNatives},
{"GvrApi", GvrApi::RegisterGvrApiNatives},
- {"NativeCallbacks",
Jinsuk Kim 2016/11/28 23:06:40 This doesn't seem related to this CL?
rlanday 2016/11/29 00:46:25 I think this was from git cl format, I will undo i
- NativeCallbacks::RegisterNativeCallbacksNatives},
+ {"NativeCallbacks", NativeCallbacks::RegisterNativeCallbacksNatives},
#endif
{"WarmupManager", RegisterWarmupManager},
{"WebApkInstaller", WebApkInstaller::Register},

Powered by Google App Engine
This is Rietveld 408576698