| Index: chrome/android/java/src/org/chromium/chrome/browser/webapps/WebappInfo.java
|
| diff --git a/chrome/android/java/src/org/chromium/chrome/browser/webapps/WebappInfo.java b/chrome/android/java/src/org/chromium/chrome/browser/webapps/WebappInfo.java
|
| index fc4c5952cbbc7eb127c45247622fec5bac7d527c..f0460b65e501bbaab2342a67c8341e4a1a376940 100644
|
| --- a/chrome/android/java/src/org/chromium/chrome/browser/webapps/WebappInfo.java
|
| +++ b/chrome/android/java/src/org/chromium/chrome/browser/webapps/WebappInfo.java
|
| @@ -169,6 +169,10 @@ public class WebappInfo {
|
| return mOrientation;
|
| }
|
|
|
| + public void setOrientation(int orientation) {
|
| + mOrientation = orientation;
|
| + }
|
| +
|
| public int source() {
|
| return mSource;
|
| }
|
| @@ -182,6 +186,10 @@ public class WebappInfo {
|
| return mThemeColor;
|
| }
|
|
|
| + public void setThemeColor(long color) {
|
| + mThemeColor = color;
|
| + }
|
| +
|
| /**
|
| * Returns whether the theme color specified in the Intent is valid.
|
| * A theme color isn't valid if its value is ShortcutHelper.MANIFEST_COLOR_INVALID_OR_MISSING;
|
| @@ -216,6 +224,10 @@ public class WebappInfo {
|
| return hasValidBackgroundColor() ? (int) mBackgroundColor : fallback;
|
| }
|
|
|
| + public void setBackgroundColor(long color) {
|
| + mBackgroundColor = color;
|
| + }
|
| +
|
| // This is needed for clients that want to send the icon trough an intent.
|
| public String encodedIcon() {
|
| return mEncodedIcon;
|
|
|