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

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

Issue 2589503002: Use exact pixel sizes instead of dip in webapp/WebAPK installability code (Closed)
Patch Set: Merge branch 'master' into dp_px Created 4 years 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 d55eb611e8f414af741d749f3d3e5fec499241c6..5e1b23cefe73277efa29be5fa1ffdef225690c17 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