| Index: chrome/android/java/src/org/chromium/chrome/browser/widget/PromoDialog.java
|
| diff --git a/chrome/android/java/src/org/chromium/chrome/browser/widget/PromoDialog.java b/chrome/android/java/src/org/chromium/chrome/browser/widget/PromoDialog.java
|
| index 2ece772cedeee874ccb3a6928762a118704fc897..cd3b51b133f78583e956139c0149269fd1c2cb25 100644
|
| --- a/chrome/android/java/src/org/chromium/chrome/browser/widget/PromoDialog.java
|
| +++ b/chrome/android/java/src/org/chromium/chrome/browser/widget/PromoDialog.java
|
| @@ -23,9 +23,18 @@ public abstract class PromoDialog
|
| extends Dialog implements View.OnClickListener, DialogInterface.OnDismissListener {
|
| /** Parameters that can be used to create a new PromoDialog. */
|
| public static class DialogParams {
|
| - /** Optional: Resource ID of the Drawable to use for the promo illustration. */
|
| + /**
|
| + * Optional: Resource ID of the Drawable to use for the promo illustration.
|
| + * This parameter and {@link #vectorDrawableResource} are mutually exclusive.
|
| + */
|
| public int drawableResource;
|
|
|
| + /**
|
| + * Optional: Resource ID of the VectorDrawable to use for the promo illustration.
|
| + * This parameter and {@link #drawableResource} are mutually exclusive.
|
| + */
|
| + public int vectorDrawableResource;
|
| +
|
| /** Resource ID of the String to show as the promo title. */
|
| public int headerStringResource;
|
|
|
|
|