| Index: content/shell/android/shell_jni_registrar.cc
|
| diff --git a/content/shell/android/shell_jni_registrar.cc b/content/shell/android/shell_jni_registrar.cc
|
| index 65628733b7b9a2934c8ce411fd333397a5e4e668..8ffb360fe3868980dae27df25d817c0b7cc69ad2 100644
|
| --- a/content/shell/android/shell_jni_registrar.cc
|
| +++ b/content/shell/android/shell_jni_registrar.cc
|
| @@ -9,13 +9,18 @@
|
| #include "content/shell/android/shell_manager.h"
|
| #include "content/shell/browser/shell.h"
|
| #include "content/shell/browser/shell_mojo_test_utils_android.h"
|
| +#include "ui/platform_window/android/platform_window_jni_registrar.h"
|
|
|
| namespace {
|
|
|
| static base::android::RegistrationMethod kShellRegistrationMethods[] = {
|
| {"Shell", content::Shell::Register},
|
| - {"ShellManager", content::RegisterShellManager},
|
| +#if defined(USE_AURA)
|
| + {"platform_window", ui::RegisterPlatformWindowJni},
|
| +#else
|
| {"ShellMojoTestUtils", content::RegisterShellMojoTestUtils},
|
| + {"ShellManager", content::RegisterShellManager},
|
| +#endif
|
| };
|
|
|
| } // namespace
|
| @@ -24,6 +29,7 @@ namespace content {
|
| namespace android {
|
|
|
| bool RegisterShellJni(JNIEnv* env) {
|
| + LOG(ERROR) << " ~~~ RegisterShellJni";
|
| return RegisterNativeMethods(env, kShellRegistrationMethods,
|
| arraysize(kShellRegistrationMethods));
|
| }
|
|
|