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

Unified Diff: chrome/browser/android/shortcut_helper.h

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/shortcut_helper.h
diff --git a/chrome/browser/android/shortcut_helper.h b/chrome/browser/android/shortcut_helper.h
index 43224ba218e50a243c986b7ec01782f681c79711..847c5c1750f2a63ca73412b339bafcdccce9dd1e 100644
--- a/chrome/browser/android/shortcut_helper.h
+++ b/chrome/browser/android/shortcut_helper.h
@@ -60,18 +60,18 @@ class ShortcutHelper {
const SkBitmap& icon_bitmap);
// Returns the ideal size for an icon representing a web app.
- static int GetIdealHomescreenIconSizeInDp();
+ static int GetIdealHomescreenIconSizeInPx();
// Returns the minimum size for an icon representing a web app.
- static int GetMinimumHomescreenIconSizeInDp();
+ static int GetMinimumHomescreenIconSizeInPx();
// Returns the ideal size for an image displayed on a web app's splash
// screen.
- static int GetIdealSplashImageSizeInDp();
+ static int GetIdealSplashImageSizeInPx();
// Returns the minimum size for an image displayed on a web app's splash
// screen.
- static int GetMinimumSplashImageSizeInDp();
+ static int GetMinimumSplashImageSizeInPx();
// Fetches the splash screen image and stores it inside the WebappDataStorage
// of the webapp. The WebappDataStorage object *must* have been previously
« no previous file with comments | « chrome/browser/android/banners/app_banner_manager_android.cc ('k') | chrome/browser/android/shortcut_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698