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

Unified Diff: chrome/android/java/ResourceId.template

Issue 1384153003: Introduce a way to define Android-only IDR values that doesn't require (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: shortcircuit pointless lookup Created 5 years, 2 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
« no previous file with comments | « no previous file | chrome/app/theme/theme_resources.grd » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/java/ResourceId.template
diff --git a/chrome/android/java/ResourceId.template b/chrome/android/java/ResourceId.template
index 4894b5c47bf07880b84ad10482e7ea5d7e5a0476..78f5ee051935ae42848a98627e2034eeb8a23f31 100644
--- a/chrome/android/java/ResourceId.template
+++ b/chrome/android/java/ResourceId.template
@@ -9,7 +9,8 @@ import org.chromium.chrome.R;
public class ResourceId {
public static int mapToDrawableId(int enumeratedId) {
int[] resourceList = {
-#define DEFINE_RESOURCE_ID(c_id,java_id) java_id,
+#define LINK_RESOURCE_ID(c_id,java_id) java_id,
+#define DECLARE_RESOURCE_ID(c_id,java_id) java_id,
#include "chrome/browser/android/resource_id.h"
};
« no previous file with comments | « no previous file | chrome/app/theme/theme_resources.grd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698