summaryrefslogtreecommitdiffstats
path: root/src/com/android/browser/GearsPermissions.java
diff options
context:
space:
mode:
authorThe Android Open Source Project <initial-contribution@android.com>2009-02-13 12:57:52 -0800
committerThe Android Open Source Project <initial-contribution@android.com>2009-02-13 12:57:52 -0800
commitfbb2a3ac0739da8207174943c08a289dcddcfab6 (patch)
tree1befea471c038bb7a5c77c96a74bb04c94c679ad /src/com/android/browser/GearsPermissions.java
parentb7775e1e46a6c8ce0f07747d44c1b1792bb0ce1c (diff)
downloadpackages_apps_Browser-fbb2a3ac0739da8207174943c08a289dcddcfab6.zip
packages_apps_Browser-fbb2a3ac0739da8207174943c08a289dcddcfab6.tar.gz
packages_apps_Browser-fbb2a3ac0739da8207174943c08a289dcddcfab6.tar.bz2
auto import from //branches/cupcake/...@131421
Diffstat (limited to 'src/com/android/browser/GearsPermissions.java')
-rw-r--r--src/com/android/browser/GearsPermissions.java32
1 files changed, 16 insertions, 16 deletions
diff --git a/src/com/android/browser/GearsPermissions.java b/src/com/android/browser/GearsPermissions.java
index cd46324..e48e045 100644
--- a/src/com/android/browser/GearsPermissions.java
+++ b/src/com/android/browser/GearsPermissions.java
@@ -49,35 +49,35 @@ class GearsPermissions {
public static final int PERMISSION_DENIED = 2;
String mName;
- int mRowRsc;
- int mAllowedButtonRsc;
- int mDeniedButtonRsc;
+ int mTitleRsc;
+ int mSubtitleOnRsc;
+ int mSubtitleOffRsc;
PermissionType(String name) {
mName = name;
}
- public void setResources(int rowRsc, int allowedButtonRsc,
- int deniedButtonRsc) {
- mRowRsc = rowRsc;
- mAllowedButtonRsc = allowedButtonRsc;
- mDeniedButtonRsc = deniedButtonRsc;
+ public void setResources(int titleRsc,
+ int subtitleOnRsc, int subtitleOffRsc) {
+ mTitleRsc = titleRsc;
+ mSubtitleOnRsc = subtitleOnRsc;
+ mSubtitleOffRsc = subtitleOffRsc;
}
- public int getRowRsc() {
- return mRowRsc;
+ public String getName() {
+ return mName;
}
- public int getAllowedButtonRsc() {
- return mAllowedButtonRsc;
+ public int getTitleRsc() {
+ return mTitleRsc;
}
- public int getDeniedButtonRsc() {
- return mDeniedButtonRsc;
+ public int getSubtitleOnRsc() {
+ return mSubtitleOnRsc;
}
- public String getName() {
- return mName;
+ public int getSubtitleOffRsc() {
+ return mSubtitleOffRsc;
}
}