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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabAppMenuPropertiesDelegate.java

Issue 1229223002: Add a footer at the bottom of the menu for custom tabs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added new interface call to chrome shell Created 5 years, 5 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
Index: chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabAppMenuPropertiesDelegate.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabAppMenuPropertiesDelegate.java b/chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabAppMenuPropertiesDelegate.java
index 90d238222af3d61933a4b785e311c112e88ee7c7..d559a77021a97cba7744e9ce4df1bf82381b414a 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabAppMenuPropertiesDelegate.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabAppMenuPropertiesDelegate.java
@@ -70,6 +70,11 @@ public class CustomTabAppMenuPropertiesDelegate extends ChromeAppMenuPropertiesD
return mItemToIndexMap.get(menuItem).intValue();
}
+ @Override
+ public int getFooterResourceId() {
+ return R.layout.powered_by_chrome_footer;
+ }
+
/**
* Get the {@link MenuItem} object associated with the given title. If multiple menu items have
* the same title, a random one will be returned. This method is for testing purpose _only_.

Powered by Google App Engine
This is Rietveld 408576698