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

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

Issue 155503004: Create a skeleton AppBannerManager class (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Back and forth, forth and back Created 6 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/android/banners/app_banner_manager.cc ('k') | chrome/chrome_browser.gypi » ('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/debug/trace_event.h" 9 #include "base/debug/trace_event.h"
10 #include "chrome/browser/android/banners/app_banner_manager.h"
10 #include "chrome/browser/android/bookmarks/bookmarks_bridge.h" 11 #include "chrome/browser/android/bookmarks/bookmarks_bridge.h"
11 #include "chrome/browser/android/chrome_web_contents_delegate_android.h" 12 #include "chrome/browser/android/chrome_web_contents_delegate_android.h"
12 #include "chrome/browser/android/chromium_application.h" 13 #include "chrome/browser/android/chromium_application.h"
13 #include "chrome/browser/android/content_view_util.h" 14 #include "chrome/browser/android/content_view_util.h"
14 #include "chrome/browser/android/dev_tools_server.h" 15 #include "chrome/browser/android/dev_tools_server.h"
15 #include "chrome/browser/android/favicon_helper.h" 16 #include "chrome/browser/android/favicon_helper.h"
16 #include "chrome/browser/android/field_trial_helper.h" 17 #include "chrome/browser/android/field_trial_helper.h"
17 #include "chrome/browser/android/foreign_session_helper.h" 18 #include "chrome/browser/android/foreign_session_helper.h"
18 #include "chrome/browser/android/intent_helper.h" 19 #include "chrome/browser/android/intent_helper.h"
19 #include "chrome/browser/android/most_visited_sites.h" 20 #include "chrome/browser/android/most_visited_sites.h"
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 // Register JNI for components we depend on. 76 // Register JNI for components we depend on.
76 { "NavigationInterception", 77 { "NavigationInterception",
77 navigation_interception::RegisterNavigationInterceptionJni }, 78 navigation_interception::RegisterNavigationInterceptionJni },
78 { "WebContentsDelegateAndroid", 79 { "WebContentsDelegateAndroid",
79 web_contents_delegate_android::RegisterWebContentsDelegateAndroidJni }, 80 web_contents_delegate_android::RegisterWebContentsDelegateAndroidJni },
80 { "RegisterAuxiliaryProfileLoader", autofill::RegisterAutofillAndroidJni }, 81 { "RegisterAuxiliaryProfileLoader", autofill::RegisterAutofillAndroidJni },
81 // Register JNI for chrome classes. 82 // Register JNI for chrome classes.
82 { "AccountManagementScreenHelper", AccountManagementScreenHelper::Register }, 83 { "AccountManagementScreenHelper", AccountManagementScreenHelper::Register },
83 { "AndroidProfileOAuth2TokenService", 84 { "AndroidProfileOAuth2TokenService",
84 AndroidProfileOAuth2TokenService::Register }, 85 AndroidProfileOAuth2TokenService::Register },
86 { "AppBannerManager", RegisterAppBannerManager },
85 { "ApplicationLifetime", RegisterApplicationLifetimeAndroid }, 87 { "ApplicationLifetime", RegisterApplicationLifetimeAndroid },
86 { "AutofillDialogControllerAndroid", 88 { "AutofillDialogControllerAndroid",
87 autofill::AutofillDialogControllerAndroid:: 89 autofill::AutofillDialogControllerAndroid::
88 RegisterAutofillDialogControllerAndroid }, 90 RegisterAutofillDialogControllerAndroid },
89 { "AutofillDialogResult", 91 { "AutofillDialogResult",
90 autofill::AutofillDialogResult::RegisterAutofillDialogResult }, 92 autofill::AutofillDialogResult::RegisterAutofillDialogResult },
91 { "AutofillPopup", 93 { "AutofillPopup",
92 autofill::AutofillPopupViewAndroid::RegisterAutofillPopupViewAndroid }, 94 autofill::AutofillPopupViewAndroid::RegisterAutofillPopupViewAndroid },
93 { "AutoLoginDelegate", AutoLoginInfoBarDelegateAndroid::Register }, 95 { "AutoLoginDelegate", AutoLoginInfoBarDelegateAndroid::Register },
94 { "BookmarksBridge", BookmarksBridge::RegisterBookmarksBridge }, 96 { "BookmarksBridge", BookmarksBridge::RegisterBookmarksBridge },
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 }; 158 };
157 159
158 bool RegisterJni(JNIEnv* env) { 160 bool RegisterJni(JNIEnv* env) {
159 TRACE_EVENT0("startup", "chrome_android::RegisterJni"); 161 TRACE_EVENT0("startup", "chrome_android::RegisterJni");
160 return RegisterNativeMethods(env, kChromeRegisteredMethods, 162 return RegisterNativeMethods(env, kChromeRegisteredMethods,
161 arraysize(kChromeRegisteredMethods)); 163 arraysize(kChromeRegisteredMethods));
162 } 164 }
163 165
164 } // namespace android 166 } // namespace android
165 } // namespace chrome 167 } // namespace chrome
OLDNEW
« no previous file with comments | « chrome/browser/android/banners/app_banner_manager.cc ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698