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

Side by Side Diff: chrome/browser/android/chrome_jni_registrar.cc

Issue 1057533005: Make service tab launcher a component (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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 unified diff | Download patch
« no previous file with comments | « chrome/browser/android/DEPS ('k') | chrome/browser/android/service_tab_launcher.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/android/chrome_jni_registrar.h" 5 #include "chrome/browser/android/chrome_jni_registrar.h"
6 6
7 #include "base/android/jni_android.h" 7 #include "base/android/jni_android.h"
8 #include "base/android/jni_registrar.h" 8 #include "base/android/jni_registrar.h"
9 #include "base/trace_event/trace_event.h" 9 #include "base/trace_event/trace_event.h"
10 #include "chrome/browser/android/accessibility/font_size_prefs_android.h" 10 #include "chrome/browser/android/accessibility/font_size_prefs_android.h"
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 #include "chrome/browser/android/omnibox/autocomplete_controller_android.h" 44 #include "chrome/browser/android/omnibox/autocomplete_controller_android.h"
45 #include "chrome/browser/android/omnibox/omnibox_prerender.h" 45 #include "chrome/browser/android/omnibox/omnibox_prerender.h"
46 #include "chrome/browser/android/password_ui_view_android.h" 46 #include "chrome/browser/android/password_ui_view_android.h"
47 #include "chrome/browser/android/precache/precache_launcher.h" 47 #include "chrome/browser/android/precache/precache_launcher.h"
48 #include "chrome/browser/android/preferences/autofill/autofill_profile_bridge.h" 48 #include "chrome/browser/android/preferences/autofill/autofill_profile_bridge.h"
49 #include "chrome/browser/android/preferences/pref_service_bridge.h" 49 #include "chrome/browser/android/preferences/pref_service_bridge.h"
50 #include "chrome/browser/android/preferences/website_preference_bridge.h" 50 #include "chrome/browser/android/preferences/website_preference_bridge.h"
51 #include "chrome/browser/android/profiles/profile_downloader_android.h" 51 #include "chrome/browser/android/profiles/profile_downloader_android.h"
52 #include "chrome/browser/android/provider/chrome_browser_provider.h" 52 #include "chrome/browser/android/provider/chrome_browser_provider.h"
53 #include "chrome/browser/android/recently_closed_tabs_bridge.h" 53 #include "chrome/browser/android/recently_closed_tabs_bridge.h"
54 #include "chrome/browser/android/service_tab_launcher.h"
55 #include "chrome/browser/android/shortcut_helper.h" 54 #include "chrome/browser/android/shortcut_helper.h"
56 #include "chrome/browser/android/signin/account_management_screen_helper.h" 55 #include "chrome/browser/android/signin/account_management_screen_helper.h"
57 #include "chrome/browser/android/signin/signin_manager_android.h" 56 #include "chrome/browser/android/signin/signin_manager_android.h"
58 #include "chrome/browser/android/tab_android.h" 57 #include "chrome/browser/android/tab_android.h"
59 #include "chrome/browser/android/tab_state.h" 58 #include "chrome/browser/android/tab_state.h"
60 #include "chrome/browser/android/transition_page_helper.h" 59 #include "chrome/browser/android/transition_page_helper.h"
61 #include "chrome/browser/android/url_utilities.h" 60 #include "chrome/browser/android/url_utilities.h"
62 #include "chrome/browser/android/voice_search_tab_helper.h" 61 #include "chrome/browser/android/voice_search_tab_helper.h"
63 #include "chrome/browser/android/warmup_manager.h" 62 #include "chrome/browser/android/warmup_manager.h"
64 #include "chrome/browser/autofill/android/personal_data_manager_android.h" 63 #include "chrome/browser/autofill/android/personal_data_manager_android.h"
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 #include "chrome/browser/ui/android/omnibox/omnibox_view_util.h" 105 #include "chrome/browser/ui/android/omnibox/omnibox_view_util.h"
107 #include "chrome/browser/ui/android/ssl_client_certificate_request.h" 106 #include "chrome/browser/ui/android/ssl_client_certificate_request.h"
108 #include "chrome/browser/ui/android/tab_model/tab_model_jni_bridge.h" 107 #include "chrome/browser/ui/android/tab_model/tab_model_jni_bridge.h"
109 #include "chrome/browser/ui/android/toolbar/toolbar_model_android.h" 108 #include "chrome/browser/ui/android/toolbar/toolbar_model_android.h"
110 #include "chrome/browser/ui/android/website_settings_popup_android.h" 109 #include "chrome/browser/ui/android/website_settings_popup_android.h"
111 #include "components/bookmarks/common/android/component_jni_registrar.h" 110 #include "components/bookmarks/common/android/component_jni_registrar.h"
112 #include "components/dom_distiller/android/component_jni_registrar.h" 111 #include "components/dom_distiller/android/component_jni_registrar.h"
113 #include "components/gcm_driver/android/component_jni_registrar.h" 112 #include "components/gcm_driver/android/component_jni_registrar.h"
114 #include "components/invalidation/android/component_jni_registrar.h" 113 #include "components/invalidation/android/component_jni_registrar.h"
115 #include "components/navigation_interception/component_jni_registrar.h" 114 #include "components/navigation_interception/component_jni_registrar.h"
115 #include "components/service_tab_launcher/component_jni_registrar.h"
116 #include "components/variations/android/component_jni_registrar.h" 116 #include "components/variations/android/component_jni_registrar.h"
117 #include "components/web_contents_delegate_android/component_jni_registrar.h" 117 #include "components/web_contents_delegate_android/component_jni_registrar.h"
118 118
119 #if defined(ENABLE_PRINTING) && !defined(ENABLE_PRINT_PREVIEW) 119 #if defined(ENABLE_PRINTING) && !defined(ENABLE_PRINT_PREVIEW)
120 #include "printing/printing_context_android.h" 120 #include "printing/printing_context_android.h"
121 #endif 121 #endif
122 122
123 namespace chrome { 123 namespace chrome {
124 namespace android { 124 namespace android {
125 125
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
230 {"PrefServiceBridge", RegisterPrefServiceBridge}, 230 {"PrefServiceBridge", RegisterPrefServiceBridge},
231 {"ProfileAndroid", ProfileAndroid::RegisterProfileAndroid}, 231 {"ProfileAndroid", ProfileAndroid::RegisterProfileAndroid},
232 {"ProfileDownloader", RegisterProfileDownloader}, 232 {"ProfileDownloader", RegisterProfileDownloader},
233 {"ProfileSyncService", ProfileSyncServiceAndroid::Register}, 233 {"ProfileSyncService", ProfileSyncServiceAndroid::Register},
234 {"RecentlyClosedBridge", RecentlyClosedTabsBridge::Register}, 234 {"RecentlyClosedBridge", RecentlyClosedTabsBridge::Register},
235 {"RecordCastAction", remote_media::RegisterRecordCastAction}, 235 {"RecordCastAction", remote_media::RegisterRecordCastAction},
236 {"RemoteMediaPlayerBridge", 236 {"RemoteMediaPlayerBridge",
237 remote_media::RemoteMediaPlayerBridge::RegisterRemoteMediaPlayerBridge}, 237 remote_media::RemoteMediaPlayerBridge::RegisterRemoteMediaPlayerBridge},
238 {"SavePasswordInfoBar", SavePasswordInfoBar::Register}, 238 {"SavePasswordInfoBar", SavePasswordInfoBar::Register},
239 {"SceneLayer", chrome::android::RegisterSceneLayer}, 239 {"SceneLayer", chrome::android::RegisterSceneLayer},
240 {"ServiceTabLauncher", ServiceTabLauncher::RegisterServiceTabLauncher}, 240 {"ServiceTabLauncher", service_tab_launcher::RegisterServiceTabLauncherJni},
241 {"SigninManager", SigninManagerAndroid::Register}, 241 {"SigninManager", SigninManagerAndroid::Register},
242 {"SqliteCursor", SQLiteCursor::RegisterSqliteCursor}, 242 {"SqliteCursor", SQLiteCursor::RegisterSqliteCursor},
243 {"SSLClientCertificateRequest", RegisterSSLClientCertificateRequestAndroid}, 243 {"SSLClientCertificateRequest", RegisterSSLClientCertificateRequestAndroid},
244 {"StartupMetricUtils", RegisterStartupMetricUtils}, 244 {"StartupMetricUtils", RegisterStartupMetricUtils},
245 {"StaticTabSceneLayer", chrome::android::RegisterStaticTabSceneLayer}, 245 {"StaticTabSceneLayer", chrome::android::RegisterStaticTabSceneLayer},
246 {"TabAndroid", TabAndroid::RegisterTabAndroid}, 246 {"TabAndroid", TabAndroid::RegisterTabAndroid},
247 {"TabContentManager", chrome::android::RegisterTabContentManager}, 247 {"TabContentManager", chrome::android::RegisterTabContentManager},
248 {"TabModelJniBridge", TabModelJniBridge::Register}, 248 {"TabModelJniBridge", TabModelJniBridge::Register},
249 {"TabState", RegisterTabState}, 249 {"TabState", RegisterTabState},
250 {"TemplateUrlServiceAndroid", TemplateUrlServiceAndroid::Register}, 250 {"TemplateUrlServiceAndroid", TemplateUrlServiceAndroid::Register},
(...skipping 17 matching lines...) Expand all
268 }; 268 };
269 269
270 bool RegisterBrowserJNI(JNIEnv* env) { 270 bool RegisterBrowserJNI(JNIEnv* env) {
271 TRACE_EVENT0("startup", "chrome_android::RegisterJni"); 271 TRACE_EVENT0("startup", "chrome_android::RegisterJni");
272 return RegisterNativeMethods(env, kChromeRegisteredMethods, 272 return RegisterNativeMethods(env, kChromeRegisteredMethods,
273 arraysize(kChromeRegisteredMethods)); 273 arraysize(kChromeRegisteredMethods));
274 } 274 }
275 275
276 } // namespace android 276 } // namespace android
277 } // namespace chrome 277 } // namespace chrome
OLDNEW
« no previous file with comments | « chrome/browser/android/DEPS ('k') | chrome/browser/android/service_tab_launcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698