Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1404)

Unified Diff: ui/android/java/src/org/chromium/ui/gfx/DeviceInfo.java

Issue 11886074: Use correct favicon scale factor on Android. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Correct name in the include guard. Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ui/android/java/src/org/chromium/ui/gfx/DeviceInfo.java
diff --git a/content/public/android/java/src/org/chromium/content/common/DeviceInfo.java b/ui/android/java/src/org/chromium/ui/gfx/DeviceInfo.java
similarity index 97%
rename from content/public/android/java/src/org/chromium/content/common/DeviceInfo.java
rename to ui/android/java/src/org/chromium/ui/gfx/DeviceInfo.java
index ff7b2a648c92976242220bd6828f2f9ad362b751..1be2e93999393fceadf6fb26ab1a6687b00ef69a 100644
--- a/content/public/android/java/src/org/chromium/content/common/DeviceInfo.java
+++ b/ui/android/java/src/org/chromium/ui/gfx/DeviceInfo.java
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-package org.chromium.content.common;
+package org.chromium.ui.gfx;
import android.content.Context;
import android.graphics.PixelFormat;
@@ -12,6 +12,7 @@ import android.view.Display;
import android.view.WindowManager;
import org.chromium.base.CalledByNative;
+import org.chromium.base.JNINamespace;
/**
* This class facilitates access to android information typically only
@@ -20,6 +21,7 @@ import org.chromium.base.CalledByNative;
* Currently the information consists of very raw display information (height, width, DPI scale)
* regarding the main display, and also the current telephony region.
*/
+@JNINamespace("gfx")
public class DeviceInfo {
private WindowManager mWinManager;

Powered by Google App Engine
This is Rietveld 408576698