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

Unified Diff: chrome/browser/banners/app_banner_manager.h

Issue 2589503002: Use exact pixel sizes instead of dip in webapp/WebAPK installability code (Closed)
Patch Set: 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/banners/app_banner_manager.h
diff --git a/chrome/browser/banners/app_banner_manager.h b/chrome/browser/banners/app_banner_manager.h
index 15bb380e82d3f31cb699af498d128748e08402fb..65fde1c02f9e3d493803b443a2018728ce31bb8f 100644
--- a/chrome/browser/banners/app_banner_manager.h
+++ b/chrome/browser/banners/app_banner_manager.h
@@ -111,8 +111,8 @@ class AppBannerManager : public content::WebContentsObserver,
std::string GetStatusParam(InstallableStatusCode code);
// Returns the ideal and minimum icon sizes required for being installable.
- virtual int GetIdealIconSizeInDp();
- virtual int GetMinimumIconSizeInDp();
+ virtual int GetIdealIconSizeInPx();
+ virtual int GetMinimumIconSizeInPx();
// Returns a WeakPtr to this object. Exposed so subclasses/infobars may
// may bind callbacks without needing their own WeakPtrFactory.

Powered by Google App Engine
This is Rietveld 408576698