| OLD | NEW |
| 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/browser/android/content_view_client.h" | 5 #include "content/browser/android/content_view_client.h" |
| 6 | 6 |
| 7 #include <android/keycodes.h> | 7 #include <android/keycodes.h> |
| 8 | 8 |
| 9 #include "base/android/jni_android.h" | 9 #include "base/android/jni_android.h" |
| 10 #include "base/android/jni_string.h" | 10 #include "base/android/jni_string.h" |
| (...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 231 | 231 |
| 232 bool RegisterContentViewClient(JNIEnv* env) { | 232 bool RegisterContentViewClient(JNIEnv* env) { |
| 233 if (!HasClass(env, kContentViewClientClassPath)) { | 233 if (!HasClass(env, kContentViewClientClassPath)) { |
| 234 DLOG(ERROR) << "Unable to find class ContentViewClient!"; | 234 DLOG(ERROR) << "Unable to find class ContentViewClient!"; |
| 235 return false; | 235 return false; |
| 236 } | 236 } |
| 237 return RegisterNativesImpl(env); | 237 return RegisterNativesImpl(env); |
| 238 } | 238 } |
| 239 | 239 |
| 240 } // namespace content | 240 } // namespace content |
| OLD | NEW |