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

Side by Side Diff: content/app/android/library_loader_hooks.cc

Issue 52663003: Remove all fling related stuff from the renderer assuming that browser side Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « cc/trees/thread_proxy.cc ('k') | content/browser/renderer_host/render_widget_host_impl.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 "content/public/app/android_library_loader_hooks.h" 5 #include "content/public/app/android_library_loader_hooks.h"
6 6
7 #include "base/android/base_jni_registrar.h" 7 #include "base/android/base_jni_registrar.h"
8 #include "base/android/jni_android.h" 8 #include "base/android/jni_android.h"
9 #include "base/android/jni_registrar.h" 9 #include "base/android/jni_registrar.h"
10 #include "base/android/jni_string.h" 10 #include "base/android/jni_string.h"
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 83
84 if (!ui::android::RegisterJni(env)) 84 if (!ui::android::RegisterJni(env))
85 return RESULT_CODE_FAILED_TO_REGISTER_JNI; 85 return RESULT_CODE_FAILED_TO_REGISTER_JNI;
86 86
87 if (!ui::gl::android::RegisterJni(env)) 87 if (!ui::gl::android::RegisterJni(env))
88 return RESULT_CODE_FAILED_TO_REGISTER_JNI; 88 return RESULT_CODE_FAILED_TO_REGISTER_JNI;
89 89
90 if (!ui::shell_dialogs::RegisterJni(env)) 90 if (!ui::shell_dialogs::RegisterJni(env))
91 return RESULT_CODE_FAILED_TO_REGISTER_JNI; 91 return RESULT_CODE_FAILED_TO_REGISTER_JNI;
92 92
93 if (!content::android::RegisterChildJni(env))
94 return RESULT_CODE_FAILED_TO_REGISTER_JNI;
95
96 if (!content::android::RegisterCommonJni(env)) 93 if (!content::android::RegisterCommonJni(env))
97 return RESULT_CODE_FAILED_TO_REGISTER_JNI; 94 return RESULT_CODE_FAILED_TO_REGISTER_JNI;
98 95
99 if (!content::android::RegisterBrowserJni(env)) 96 if (!content::android::RegisterBrowserJni(env))
100 return RESULT_CODE_FAILED_TO_REGISTER_JNI; 97 return RESULT_CODE_FAILED_TO_REGISTER_JNI;
101 98
102 if (!content::android::RegisterAppJni(env)) 99 if (!content::android::RegisterAppJni(env))
103 return RESULT_CODE_FAILED_TO_REGISTER_JNI; 100 return RESULT_CODE_FAILED_TO_REGISTER_JNI;
104 101
105 if (!media::RegisterJni(env)) 102 if (!media::RegisterJni(env))
(...skipping 21 matching lines...) Expand all
127 } 124 }
128 125
129 bool RegisterLibraryLoaderEntryHook(JNIEnv* env) { 126 bool RegisterLibraryLoaderEntryHook(JNIEnv* env) {
130 // We need the AtExitManager to be created at the very beginning. 127 // We need the AtExitManager to be created at the very beginning.
131 g_at_exit_manager = new base::AtExitManager(); 128 g_at_exit_manager = new base::AtExitManager();
132 129
133 return RegisterNativesImpl(env); 130 return RegisterNativesImpl(env);
134 } 131 }
135 132
136 } // namespace content 133 } // namespace content
OLDNEW
« no previous file with comments | « cc/trees/thread_proxy.cc ('k') | content/browser/renderer_host/render_widget_host_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698