diff options
author | sadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-09-28 17:08:02 +0000 |
---|---|---|
committer | sadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-09-28 17:08:02 +0000 |
commit | 890637216afe663dc7fa509894fe519216c79147 (patch) | |
tree | 453d666baa2ff3dd20bcc24bc192f2b854af1456 /ui/android | |
parent | 55bbd5c88a0d84767bbcb67c09d610477fb8ecb5 (diff) | |
download | chromium_src-890637216afe663dc7fa509894fe519216c79147.zip chromium_src-890637216afe663dc7fa509894fe519216c79147.tar.gz chromium_src-890637216afe663dc7fa509894fe519216c79147.tar.bz2 |
gfx: Create a separate gfx component out of ui.
BUG=103304
R=ben@chromium.org
Review URL: https://codereview.chromium.org/25015003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225857 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/android')
-rw-r--r-- | ui/android/java/src/org/chromium/ui/gfx/BitmapHelper.java | 2 | ||||
-rw-r--r-- | ui/android/ui_jni_registrar.cc | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/ui/android/java/src/org/chromium/ui/gfx/BitmapHelper.java b/ui/android/java/src/org/chromium/ui/gfx/BitmapHelper.java index 97511a1..341eba0 100644 --- a/ui/android/java/src/org/chromium/ui/gfx/BitmapHelper.java +++ b/ui/android/java/src/org/chromium/ui/gfx/BitmapHelper.java @@ -10,7 +10,7 @@ import android.graphics.BitmapFactory; import org.chromium.base.CalledByNative; import org.chromium.base.JNINamespace; -@JNINamespace("ui") +@JNINamespace("gfx") public class BitmapHelper { @CalledByNative public static Bitmap createBitmap(int width, int height) { diff --git a/ui/android/ui_jni_registrar.cc b/ui/android/ui_jni_registrar.cc index 8216e01..33aeeaf 100644 --- a/ui/android/ui_jni_registrar.cc +++ b/ui/android/ui_jni_registrar.cc @@ -18,8 +18,6 @@ namespace android { static base::android::RegistrationMethod kUiRegisteredMethods[] = { { "Clipboard", ui::RegisterClipboardAndroid }, - { "DeviceDisplayInfo", gfx::DeviceDisplayInfo::RegisterDeviceDisplayInfo }, - { "JavaBitmap", gfx::JavaBitmap::RegisterJavaBitmap }, { "LocalizationUtils", l10n_util::RegisterLocalizationUtil }, { "ViewAndroid", ui::ViewAndroid::RegisterViewAndroid }, { "WindowAndroid", ui::WindowAndroid::RegisterWindowAndroid }, |