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

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: 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/banners/app_banner_manager.h
diff --git a/chrome/browser/banners/app_banner_manager.h b/chrome/browser/banners/app_banner_manager.h
index 06fba428c46910f7012177c1afba35247b7efc8b..112b6178468a6b043882e9f9c6cc077eee86f439 100644
--- a/chrome/browser/banners/app_banner_manager.h
+++ b/chrome/browser/banners/app_banner_manager.h
@@ -116,8 +116,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.
« no previous file with comments | « chrome/browser/android/webapps/add_to_homescreen_manager.cc ('k') | chrome/browser/banners/app_banner_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698