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

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

Issue 1141283003: Upstream oodles of Chrome for Android code into Chromium. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: final patch? Created 5 years, 7 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
OLDNEW
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "chrome/browser/android/staging_jni_registrar.h"
6
7 #include "base/android/jni_android.h"
8 #include "base/android/jni_registrar.h"
9 #include "chrome/browser/android/bookmark/edit_bookmark_helper.h"
10 #include "chrome/browser/android/compositor/compositor_view.h"
11 #include "chrome/browser/android/compositor/scene_layer/contextual_search_scene_ layer.h"
12 #include "chrome/browser/android/compositor/scene_layer/reader_mode_scene_layer. h"
13 #include "chrome/browser/android/compositor/scene_layer/tab_list_scene_layer.h"
14 #include "chrome/browser/android/compositor/scene_layer/tab_strip_scene_layer.h"
15 #include "chrome/browser/android/contextualsearch/contextual_search_manager.h"
16 #include "chrome/browser/android/contextualsearch/contextual_search_tab_helper.h "
17 #include "chrome/browser/android/document/document_web_contents_delegate.h"
18 #include "chrome/browser/android/history_report/history_report_jni_bridge.h"
19 #include "chrome/browser/android/policy/policy_manager.h"
20 #include "chrome/browser/android/rlz/revenue_stats.h"
21 #include "chrome/browser/android/tab/background_content_view_helper.h"
22 #include "chrome/browser/android/tab/thumbnail_tab_helper_android.h"
23
24 namespace chrome {
25 namespace android {
26 static base::android::RegistrationMethod kRegistrationMethods[] = {
27 {"BackgroundContentViewHelper", BackgroundContentViewHelper::Register},
28 {"CompositorView", RegisterCompositorView},
29 {"ContextualSearchManager", RegisterContextualSearchManager},
30 {"ContextualSearchSceneLayer", RegisterContextualSearchSceneLayer},
31 {"ContextualSearchTabHelper", RegisterContextualSearchTabHelper},
32 {"DocumentWebContentsDelegate", DocumentWebContentsDelegate::Register},
33 {"EditBookmarkHelper", RegisterEditBookmarkHelper},
34 {"HistoryReportJniBridge", history_report::RegisterHistoryReportJniBridge},
35 {"PolicyManager", RegisterPolicyManager},
36 {"ReaderModeSceneLayer", RegisterReaderModeSceneLayer},
37 {"RevenueStats", RegisterRevenueStats},
38 {"TabListSceneLayer", RegisterTabListSceneLayer},
39 {"TabStripSceneLayer", RegisterTabStripSceneLayer},
40 {"ThumbnailTabHelperAndroid", RegisterThumbnailTabHelperAndroid},
41 };
42
43 bool RegisterStagingJNI(JNIEnv* env) {
44 return base::android::RegisterNativeMethods(env, kRegistrationMethods,
45 arraysize(kRegistrationMethods));
46 return true;
47 }
48
49 } // namespace android
50 } // namespace chrome
OLDNEW
« no previous file with comments | « chrome/browser/android/staging_jni_registrar.h ('k') | chrome/browser/android/tab/background_content_view_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698