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

Unified Diff: chrome/browser/android/webapps/add_to_homescreen_manager.cc

Issue 2611623003: Use exact pixel sizes instead of dip in webapp/WebAPK installability code (Closed)
Patch Set: Rebased version of pkotwicz@'s original patch Created 3 years, 12 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/android/webapps/add_to_homescreen_manager.cc
diff --git a/chrome/browser/android/webapps/add_to_homescreen_manager.cc b/chrome/browser/android/webapps/add_to_homescreen_manager.cc
index bf29e31f8763beac3da797d221bd23e160e63500..624a0f00231bd40c0afbe7595fbd89cf6708956d 100644
--- a/chrome/browser/android/webapps/add_to_homescreen_manager.cc
+++ b/chrome/browser/android/webapps/add_to_homescreen_manager.cc
@@ -83,10 +83,10 @@ void AddToHomescreenManager::Start(content::WebContents* web_contents) {
}
data_fetcher_ = new AddToHomescreenDataFetcher(
- web_contents, ShortcutHelper::GetIdealHomescreenIconSizeInDp(),
- ShortcutHelper::GetMinimumHomescreenIconSizeInDp(),
- ShortcutHelper::GetIdealSplashImageSizeInDp(),
- ShortcutHelper::GetMinimumSplashImageSizeInDp(),
+ web_contents, ShortcutHelper::GetIdealHomescreenIconSizeInPx(),
+ ShortcutHelper::GetMinimumHomescreenIconSizeInPx(),
+ ShortcutHelper::GetIdealSplashImageSizeInPx(),
+ ShortcutHelper::GetMinimumSplashImageSizeInPx(),
check_webapk_compatible, this);
}
« no previous file with comments | « chrome/browser/android/webapps/add_to_homescreen_data_fetcher.cc ('k') | chrome/browser/banners/app_banner_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698