summaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authornewt@chromium.org <newt@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-20 08:26:29 +0000
committernewt@chromium.org <newt@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-20 08:26:29 +0000
commit9687e5ef4025dca16d787afdef2bbda6c07e2272 (patch)
tree75c2ce3b7d049e10bf2c3187e6f35faff0307f20 /ui
parentf467c0769e7ef6ce52a511ff86aeb3b86bd3658f (diff)
downloadchromium_src-9687e5ef4025dca16d787afdef2bbda6c07e2272.zip
chromium_src-9687e5ef4025dca16d787afdef2bbda6c07e2272.tar.gz
chromium_src-9687e5ef4025dca16d787afdef2bbda6c07e2272.tar.bz2
Add Java resources to content and chrome.
This adds Java resources directly to the content and chrome folders and starts accessing them through the Java classes org.chromium.content.R and org.chromium.chrome.R instead of using AppResource. A following CL will remove these resources from ContentShell and other build targets that currently provide duplicates of these resources. The following CL will also remove remaining references to AppResource. This is the second of three CLs to replace AppResource with R: 1. http://codereview.chromium.org/11363150 - Support Java resources within content 2. http://codereview.chromium.org/11360207 - Add Java resources to content and chrome 3. http://codereview.chromium.org/11377117 - Remove AppResource and unneeded resources BUG=136704 Review URL: https://chromiumcodereview.appspot.com/11360207 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@168759 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui')
-rw-r--r--ui/android/java/src/org/chromium/ui/SelectFileDialog.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/android/java/src/org/chromium/ui/SelectFileDialog.java b/ui/android/java/src/org/chromium/ui/SelectFileDialog.java
index c9115bf..23319cb 100644
--- a/ui/android/java/src/org/chromium/ui/SelectFileDialog.java
+++ b/ui/android/java/src/org/chromium/ui/SelectFileDialog.java
@@ -27,8 +27,8 @@ import org.chromium.ui.gfx.NativeWindow;
*/
@JNINamespace("ui")
class SelectFileDialog implements NativeWindow.IntentCallback{
- // TODO (aurimas): Swap these constants with AppResources when it gets moved to base to support
- // internationalization.
+ // TODO (aurimas): Move these constants into strings.xml within ui (after crbug.com/136704 is
+ // fixed) to support internationalization.
private static final String LOW_MEMORY_ERROR =
"Unable to complete previous operation due to low memory";
private static final String OPENING_FILE_ERROR = "Failed to open selected file";