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_impl.h" | 5 #include "content/browser/android/content_view_impl.h" |
6 | 6 |
7 #include "base/android/jni_android.h" | 7 #include "base/android/jni_android.h" |
8 #include "base/android/jni_string.h" | 8 #include "base/android/jni_string.h" |
9 #include "base/android/scoped_java_ref.h" | 9 #include "base/android/scoped_java_ref.h" |
10 #include "content/browser/android/content_view_client.h" | 10 #include "content/browser/android/content_view_client.h" |
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
266 if (!HasField(env, clazz, "mNativeContentView", "I")) { | 266 if (!HasField(env, clazz, "mNativeContentView", "I")) { |
267 DLOG(ERROR) << "Unable to find ContentView.mNativeContentView!"; | 267 DLOG(ERROR) << "Unable to find ContentView.mNativeContentView!"; |
268 return false; | 268 return false; |
269 } | 269 } |
270 g_native_content_view = GetFieldID(env, clazz, "mNativeContentView", "I"); | 270 g_native_content_view = GetFieldID(env, clazz, "mNativeContentView", "I"); |
271 | 271 |
272 return RegisterNativesImpl(env) >= 0; | 272 return RegisterNativesImpl(env) >= 0; |
273 } | 273 } |
274 | 274 |
275 } // namespace content | 275 } // namespace content |
OLD | NEW |