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

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

Issue 114183006: Changes to enable HTML5 autoplay for voice search. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 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 unified diff | Download patch
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/debug/trace_event.h" 9 #include "base/debug/trace_event.h"
10 #include "chrome/browser/android/bookmarks/bookmarks_bridge.h" 10 #include "chrome/browser/android/bookmarks/bookmarks_bridge.h"
(...skipping 10 matching lines...) Expand all
21 #include "chrome/browser/android/omnibox/omnibox_prerender.h" 21 #include "chrome/browser/android/omnibox/omnibox_prerender.h"
22 #include "chrome/browser/android/password_ui_view_android.h" 22 #include "chrome/browser/android/password_ui_view_android.h"
23 #include "chrome/browser/android/provider/chrome_browser_provider.h" 23 #include "chrome/browser/android/provider/chrome_browser_provider.h"
24 #include "chrome/browser/android/recently_closed_tabs_bridge.h" 24 #include "chrome/browser/android/recently_closed_tabs_bridge.h"
25 #include "chrome/browser/android/shortcut_helper.h" 25 #include "chrome/browser/android/shortcut_helper.h"
26 #include "chrome/browser/android/signin/signin_manager_android.h" 26 #include "chrome/browser/android/signin/signin_manager_android.h"
27 #include "chrome/browser/android/tab_android.h" 27 #include "chrome/browser/android/tab_android.h"
28 #include "chrome/browser/android/uma_bridge.h" 28 #include "chrome/browser/android/uma_bridge.h"
29 #include "chrome/browser/android/uma_utils.h" 29 #include "chrome/browser/android/uma_utils.h"
30 #include "chrome/browser/android/url_utilities.h" 30 #include "chrome/browser/android/url_utilities.h"
31 #include "chrome/browser/android/voice_search_tab_helper.h"
31 #include "chrome/browser/autofill/android/personal_data_manager_android.h" 32 #include "chrome/browser/autofill/android/personal_data_manager_android.h"
32 #include "chrome/browser/history/android/sqlite_cursor.h" 33 #include "chrome/browser/history/android/sqlite_cursor.h"
33 #include "chrome/browser/invalidation/invalidation_controller_android.h" 34 #include "chrome/browser/invalidation/invalidation_controller_android.h"
34 #include "chrome/browser/lifetime/application_lifetime_android.h" 35 #include "chrome/browser/lifetime/application_lifetime_android.h"
35 #include "chrome/browser/net/spdyproxy/data_reduction_proxy_settings_android.h" 36 #include "chrome/browser/net/spdyproxy/data_reduction_proxy_settings_android.h"
36 #include "chrome/browser/prerender/external_prerender_handler_android.h" 37 #include "chrome/browser/prerender/external_prerender_handler_android.h"
37 #include "chrome/browser/profiles/profile_android.h" 38 #include "chrome/browser/profiles/profile_android.h"
38 #include "chrome/browser/search_engines/template_url_service_android.h" 39 #include "chrome/browser/search_engines/template_url_service_android.h"
39 #include "chrome/browser/signin/android_profile_oauth2_token_service.h" 40 #include "chrome/browser/signin/android_profile_oauth2_token_service.h"
40 #include "chrome/browser/speech/tts_android.h" 41 #include "chrome/browser/speech/tts_android.h"
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 { "SigninManager", SigninManagerAndroid::Register }, 130 { "SigninManager", SigninManagerAndroid::Register },
130 { "SqliteCursor", SQLiteCursor::RegisterSqliteCursor }, 131 { "SqliteCursor", SQLiteCursor::RegisterSqliteCursor },
131 { "SSLClientCertificateRequest", RegisterSSLClientCertificateRequestAndroid }, 132 { "SSLClientCertificateRequest", RegisterSSLClientCertificateRequestAndroid },
132 { "StartupMetricUtils", RegisterStartupMetricUtils }, 133 { "StartupMetricUtils", RegisterStartupMetricUtils },
133 { "TabAndroid", TabAndroid::RegisterTabAndroid }, 134 { "TabAndroid", TabAndroid::RegisterTabAndroid },
134 { "TemplateUrlServiceAndroid", TemplateUrlServiceAndroid::Register }, 135 { "TemplateUrlServiceAndroid", TemplateUrlServiceAndroid::Register },
135 { "TranslateInfoBarDelegate", RegisterTranslateInfoBarDelegate }, 136 { "TranslateInfoBarDelegate", RegisterTranslateInfoBarDelegate },
136 { "TtsPlatformImpl", TtsPlatformImplAndroid::Register }, 137 { "TtsPlatformImpl", TtsPlatformImplAndroid::Register },
137 { "UmaBridge", RegisterUmaBridge }, 138 { "UmaBridge", RegisterUmaBridge },
138 { "UrlUtilities", RegisterUrlUtilities }, 139 { "UrlUtilities", RegisterUrlUtilities },
140 { "VoiceSearchTabHelper", RegisterVoiceSearchTabHelper },
139 { "WebsiteSettingsPopupAndroid", 141 { "WebsiteSettingsPopupAndroid",
140 WebsiteSettingsPopupAndroid::RegisterWebsiteSettingsPopupAndroid }, 142 WebsiteSettingsPopupAndroid::RegisterWebsiteSettingsPopupAndroid },
141 #if defined(ENABLE_PRINTING) && !defined(ENABLE_FULL_PRINTING) 143 #if defined(ENABLE_PRINTING) && !defined(ENABLE_FULL_PRINTING)
142 { "PrintingContext", 144 { "PrintingContext",
143 printing::PrintingContextAndroid::RegisterPrintingContext}, 145 printing::PrintingContextAndroid::RegisterPrintingContext},
144 #endif 146 #endif
145 }; 147 };
146 148
147 bool RegisterJni(JNIEnv* env) { 149 bool RegisterJni(JNIEnv* env) {
148 TRACE_EVENT0("startup", "chrome_android::RegisterJni"); 150 TRACE_EVENT0("startup", "chrome_android::RegisterJni");
149 return RegisterNativeMethods(env, kChromeRegisteredMethods, 151 return RegisterNativeMethods(env, kChromeRegisteredMethods,
150 arraysize(kChromeRegisteredMethods)); 152 arraysize(kChromeRegisteredMethods));
151 } 153 }
152 154
153 } // namespace android 155 } // namespace android
154 } // namespace chrome 156 } // namespace chrome
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698