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 "ui/gfx/android/gfx_jni_registrar.h" | 5 #include "ui/gfx/android/gfx_jni_registrar.h" |
6 | 6 |
7 #include "ui/gfx/android/device_info.h" | |
8 | |
7 namespace gfx { | 9 namespace gfx { |
8 | 10 |
9 void RegisterBitmapAndroid(JNIEnv* env); | 11 void RegisterBitmapAndroid(JNIEnv* env); |
10 | 12 |
11 bool RegisterJni(JNIEnv* env) { | 13 bool RegisterJni(JNIEnv* env) { |
12 RegisterBitmapAndroid(env); | 14 RegisterBitmapAndroid(env); |
Yaron
2013/01/17 00:38:48
Can you make this consistent with other registrars
aruslan
2013/01/17 02:11:47
Moved everything to ui/android/ui_jni_registrar.cc
| |
13 return true; | 15 return gfx::DeviceInfo::RegisterDeviceInfo(env); |
14 } | 16 } |
15 | 17 |
16 } // namespace gfx | 18 } // namespace gfx |
OLD | NEW |