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

Unified Diff: chrome/browser/android/shortcut_data_fetcher.cc

Issue 1234653004: webapps: utilize manifest theme colors (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix Mounir's comments Created 5 years, 5 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/shortcut_data_fetcher.cc
diff --git a/chrome/browser/android/shortcut_data_fetcher.cc b/chrome/browser/android/shortcut_data_fetcher.cc
index f4de97abf01de3ce29a20344ac178fcdf243362c..b273b05ae6c62c7036f52e33c3eb1b8de579ae1e 100644
--- a/chrome/browser/android/shortcut_data_fetcher.cc
+++ b/chrome/browser/android/shortcut_data_fetcher.cc
@@ -73,6 +73,9 @@ void ShortcutDataFetcher::OnDidGetWebApplicationInfo(
shortcut_info_.display = content::Manifest::DISPLAY_MODE_STANDALONE;
}
+ // Set the theme color to undefined
+ shortcut_info_.theme_color = content::Manifest::kInvalidOrMissingThemeColor;
mlamouri (slow - plz ping) 2015/07/20 13:03:30 It doesn't sound right to do that here. Shouldn't
Lalit Maganti 2015/07/20 13:15:19 Moved.
+
// Record what type of shortcut was added by the user.
switch (web_app_info.mobile_capable) {
case WebApplicationInfo::MOBILE_CAPABLE:

Powered by Google App Engine
This is Rietveld 408576698