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

Unified Diff: chrome/browser/android/banners/app_banner_manager_android.h

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/banners/app_banner_manager_android.h
diff --git a/chrome/browser/android/banners/app_banner_manager_android.h b/chrome/browser/android/banners/app_banner_manager_android.h
index 29750ed030f6765b1efad5d436068874ef5081c2..3ad2d27a67be6314127cb2d1b220673cb2e365fd 100644
--- a/chrome/browser/android/banners/app_banner_manager_android.h
+++ b/chrome/browser/android/banners/app_banner_manager_android.h
@@ -68,8 +68,8 @@ class AppBannerManagerAndroid
// AppBannerManager overrides.
std::string GetAppIdentifier() override;
std::string GetBannerType() override;
- int GetIdealIconSizeInDp() override;
- int GetMinimumIconSizeInDp() override;
+ int GetIdealIconSizeInPx() override;
+ int GetMinimumIconSizeInPx() override;
bool IsWebAppInstalled(content::BrowserContext* browser_context,
const GURL& start_url) override;

Powered by Google App Engine
This is Rietveld 408576698