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

Unified Diff: chrome/browser/ui/desktop_ios_promotion/desktop_ios_promotion_util.h

Issue 2815303004: Update the Windows iOS promotion to have the same width as the bubble that appears before it. (Closed)
Patch Set: Same width bubble Created 3 years, 8 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/browser/ui/desktop_ios_promotion/desktop_ios_promotion_util.h
diff --git a/chrome/browser/ui/desktop_ios_promotion/desktop_ios_promotion_util.h b/chrome/browser/ui/desktop_ios_promotion/desktop_ios_promotion_util.h
index 05da3a3a4e781bdffe884b4a81c9e21982554483..ba635ef2c30e06a195f185dcf922c38b5a24ff8d 100644
--- a/chrome/browser/ui/desktop_ios_promotion/desktop_ios_promotion_util.h
+++ b/chrome/browser/ui/desktop_ios_promotion/desktop_ios_promotion_util.h
@@ -81,6 +81,9 @@ std::string GetSMSID();
base::string16 GetPromoText(PromotionEntryPoint entry_point,
const std::string& phone_number = std::string());
+// Returns the promotion text label width to be used for the promotion Bubble.
+int GetPromoBubbleTextLabelWidth(PromotionEntryPoint entry_point);
+
// Returns the Promotion title based on the promotion entry point and finch
// parameters.
base::string16 GetPromoTitle(PromotionEntryPoint entry_point);

Powered by Google App Engine
This is Rietveld 408576698